1 #ifndef __LINUX_UIO_H
2 #define __LINUX_UIO_H
3
4 /*
5 * Berkeley style UIO structures - Alan Cox 1994.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
11 */
12
13
14 /* A word of warning: Our uio structure will clash with the C library one (which is now obsolete). Remove the C
15 library one from sys/uio.h */
16
17 struct iovec
18 {
19 void *iov_base; /* BSD uses caddr_t (same thing in effect) */
20 int iov_len;
21 };
22
23 #define MAX_IOVEC 8 /* Maximum iovec's in one operation */
24
25 #endif