27 lines
315 B
C
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
|