PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
uio.h
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
11
#ifndef _SYS_UIO_H
12
#define _SYS_UIO_H
13
14
// libsmb2 defines its own
15
#if !defined(NEED_READV) && !defined(NEED_WRITEV)
16
#include <sys/types.h>
17
18
__BEGIN_DECLS
19
20
/*
21
* Per POSIX
22
*/
23
24
struct
iovec
{
25
void
*iov_base;
26
size_t
iov_len;
27
};
28
29
extern
ssize_t readv(
int
fd,
const
struct
iovec
*iov,
int
iovcnt);
30
extern
ssize_t writev(
int
fd,
const
struct
iovec
*iov,
int
iovcnt);
31
32
__END_DECLS
33
#endif
34
35
#endif
iovec
Definition
uio.h:24
ee
libcglue
include
sys
uio.h
Generated on Wed Jan 22 2025 12:32:13 for PS2SDK by
1.9.8