1 // Copyright (C) 2017 The Android Open Source Project 2 // SPDX-License-Identifier: BSD-2-Clause 3 4 #include <sys/uio.h> 5 6 #include "header_checks.h" 7 sys_uio_h()8static void sys_uio_h() { 9 TYPE(struct iovec); 10 STRUCT_MEMBER(struct iovec, void*, iov_base); 11 STRUCT_MEMBER(struct iovec, size_t, iov_len); 12 13 TYPE(ssize_t); 14 TYPE(size_t); 15 16 FUNCTION(readv, ssize_t (*f)(int, const struct iovec*, int)); 17 FUNCTION(writev, ssize_t (*f)(int, const struct iovec*, int)); 18 } 19