sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
uio.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright ps2dev - http://www.ps2dev.org
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
15#ifndef _SYS_UIO_H
16#define _SYS_UIO_H
17
18// libsmb2 defines its own
19#if !defined(NEED_READV) && !defined(NEED_WRITEV)
20#include <sys/types.h>
21
22__BEGIN_DECLS
23
24/*
25 * Per POSIX
26 */
27
28struct iovec {
29 void *iov_base;
30 size_t iov_len;
31};
32
33extern ssize_t readv(int fd, const struct iovec *iov, int iovcnt);
34extern ssize_t writev(int fd, const struct iovec *iov, int iovcnt);
35
36__END_DECLS
37#endif
38
39#endif
Definition uio.h:28