Home | History | Annotate | Download | only in linux
      1 #ifndef __LINUX_UIO_H
      2 #define __LINUX_UIO_H
      3 
      4 
      5 #include <linux/types.h>
      6 
      7 /*
      8  *	Berkeley style UIO structures	-	Alan Cox 1994.
      9  *
     10  *		This program is free software; you can redistribute it and/or
     11  *		modify it under the terms of the GNU General Public License
     12  *		as published by the Free Software Foundation; either version
     13  *		2 of the License, or (at your option) any later version.
     14  */
     15 
     16 struct iovec
     17 {
     18 	void *iov_base;	/* BSD uses caddr_t (1003.1g requires void *) */
     19 	__kernel_size_t iov_len; /* Must be size_t (1003.1g) */
     20 };
     21 
     22 /*
     23  *	UIO_MAXIOV shall be at least 16 1003.1g (5.4.1.1)
     24  */
     25 
     26 #define UIO_FASTIOV	8
     27 #define UIO_MAXIOV	1024
     28 
     29 
     30 #endif
     31