KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
iovec.h
Go to the documentation of this file.
1 /* KallistiOS ##version##
2 
3  kos/iovec.h
4  Copyright (C)2001 Dan Potter
5 
6 */
7 
8 /** \file kos/iovec.h
9  \brief Scatter/Gather arrays.
10 
11  This file contains the definition of a scatter/gather array.
12 
13  \author Dan Potter
14 */
15 
16 #ifndef __KOS_IOVEC_H
17 #define __KOS_IOVEC_H
18 
19 #include <sys/cdefs.h>
20 __BEGIN_DECLS
21 
22 #include <stddef.h>
23 
24 /** \brief Scatter/Gather array.
25  \headerfile kos/iovec.h
26 */
27 typedef struct iovec {
28  char *iov_base; /**< \brief Base address */
29  size_t iov_len; /**< \brief Length */
30 } iovec_t;
31 
32 __END_DECLS
33 
34 #endif /* __KOS_IOVEC_H */
35 
size_t iov_len
Length.
Definition: iovec.h:29
Scatter/Gather array.
Definition: iovec.h:27
char * iov_base
Base address.
Definition: iovec.h:28
struct iovec iovec_t
Scatter/Gather array.