uio.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef SYS_UIO_H
21 #define SYS_UIO_H
22 
23 #include <stdlib.h>
24 #include <sys/types.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
33 struct iovec {
34  void *iov_base;
35  size_t iov_len;
36 };
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif /* SYS_UIO_H */
size_t iov_len
Length of data.
Definition: uio.h:35
void * iov_base
Pointer to data.
Definition: uio.h:34
Structure for scatter/gather I/O.
Definition: uio.h:33
stdlib.h wrapper for MSP430