4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 02:09:19 +08:00
Jeff Johnston 364faf910a 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
* libc/machine/spu/sys/uio.h: New file for readv and writev use.
2007-09-21 21:11:14 +00:00

27 lines
315 B
C

#ifndef _SYS_UIO_H
#define _SYS_UIO_H
#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Per POSIX
*/
struct iovec {
void *iov_base;
size_t iov_len;
};
ssize_t readv(int, const struct iovec *, int);
ssize_t writev(int, const struct iovec *, int);
#ifdef __cplusplus
};
#endif
#endif