Many changes to simplify porting applications.

This commit is contained in:
Philip Homburg
2005-07-11 13:00:43 +00:00
parent 054e68baf6
commit 11cbb6faae
17 changed files with 204 additions and 6 deletions

23
include/sys/uio.h Normal file
View File

@@ -0,0 +1,23 @@
/*
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;
};
_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 /* _SYS_UIO_H */