Loading...
Searching...
No Matches
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
27extern "C" {
28#endif
29
33struct iovec {
34 void *iov_base;
35 size_t iov_len;
36};
37
38#ifdef __cplusplus
39}
40#endif
42#endif /* SYS_UIO_H */
Structure for scatter/gather I/O.
Definition uio.h:33
void * iov_base
Pointer to data.
Definition uio.h:34
size_t iov_len
Length of data.
Definition uio.h:35