2005-07-11 15:00:43 +02:00
|
|
|
/*
|
|
|
|
sys/uio.h
|
|
|
|
|
|
|
|
definitions for vector I/O operations
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SYS_UIO_H
|
|
|
|
#define _SYS_UIO_H
|
|
|
|
|
|
|
|
/* Open Group Base Specifications Issue 6 (not complete) */
|
|
|
|
|
|
|
|
struct iovec
|
|
|
|
{
|
|
|
|
void *iov_base;
|
|
|
|
size_t iov_len;
|
|
|
|
};
|
|
|
|
|
2006-08-02 17:18:49 +02:00
|
|
|
#if 0
|
2005-07-11 15:00:43 +02:00
|
|
|
_PROTOTYPE(ssize_t readv, (int _fildes, const struct iovec *_iov,
|
|
|
|
int _iovcnt) );
|
|
|
|
_PROTOTYPE(ssize_t writev, (int _fildes, const struct iovec *_iov,
|
|
|
|
int iovcnt) );
|
2006-08-02 17:18:49 +02:00
|
|
|
#endif
|
2005-07-11 15:00:43 +02:00
|
|
|
|
|
|
|
#endif /* _SYS_UIO_H */
|