/* * Copyright (C) 2015 Kaspar Schleiser * * 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 */ #ifndef SYS_UIO_H #define SYS_UIO_H #include #include #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 */