FreeBSD/Linux Kernel Cross Reference
sys/include/sys/uio.h
1 /*
2 sys/uio.h
3
4 definitions for vector I/O operations
5 */
6
7 #ifndef _SYS_UIO_H
8 #define _SYS_UIO_H
9
10 /* Open Group Base Specifications Issue 6 (not complete) */
11
12 struct iovec
13 {
14 void *iov_base;
15 size_t iov_len;
16 };
17
18 _PROTOTYPE(ssize_t readv, (int _fildes, const struct iovec *_iov,
19 int _iovcnt) );
20 _PROTOTYPE(ssize_t writev, (int _fildes, const struct iovec *_iov,
21 int iovcnt) );
22
23 #endif /* _SYS_UIO_H */
Cache object: ed0d02fb6092026ae564a3b7d2617564
|