minix/include/sys/uio.h
2006-08-02 15:18:49 +00:00

25 lines
425 B
C

/*
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;
};
#if 0
_PROTOTYPE(ssize_t readv, (int _fildes, const struct iovec *_iov,
int _iovcnt) );
_PROTOTYPE(ssize_t writev, (int _fildes, const struct iovec *_iov,
int iovcnt) );
#endif
#endif /* _SYS_UIO_H */