mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
43 lines
753 B
C
43 lines
753 B
C
/*
|
|
* Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
/**
|
|
* @addtogroup posix
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
* @brief libc header for scatter/gather I/O
|
|
*
|
|
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
|
*/
|
|
#ifndef SYS_UIO_H
|
|
#define SYS_UIO_H
|
|
|
|
#include <stdlib.h>
|
|
#include <sys/types.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Structure for scatter/gather I/O.
|
|
*/
|
|
struct iovec {
|
|
void *iov_base; /**< Pointer to data. */
|
|
size_t iov_len; /**< Length of data. */
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
/** @} */
|
|
#endif /* SYS_UIO_H */
|