Loading...
Searching...
No Matches
uio.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Kaspar Schleiser <kaspar@schleiser.de>
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
12
19
20#include <stdlib.h>
21#include <sys/types.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
30struct iovec {
31 void *iov_base;
32 size_t iov_len;
33};
34
35#ifdef __cplusplus
36}
37#endif
Structure for scatter/gather I/O.
Definition uio.h:30
void * iov_base
Pointer to data.
Definition uio.h:31
size_t iov_len
Length of data.
Definition uio.h:32