Implementations of readv and writev

This commit is contained in:
Erik van der Kouwe
2010-01-08 13:40:34 +00:00
parent aec561acc5
commit f025e5f06b
7 changed files with 287 additions and 43 deletions

View File

@@ -104,7 +104,7 @@
* be reliably traversed in the resolution of
* a pathname in the absence of a loop.
*/
#define IOV_MAX INT_MAX /* maximum number of buffers for readv/writev */
#endif /* _POSIX_SOURCE */
#endif /* _LIMITS_H */

View File

@@ -15,11 +15,9 @@ struct iovec
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 */