9a9b91c940
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
38 lines
852 B
C
38 lines
852 B
C
#ifndef _SYS_UIO_H
|
|
#define _SYS_UIO_H
|
|
|
|
#include <abi-bits/pid_t.h>
|
|
#include <bits/posix/iovec.h>
|
|
#include <bits/ssize_t.h>
|
|
#include <bits/off_t.h>
|
|
#include <bits/size_t.h>
|
|
#include <limits.h>
|
|
#include <mlibc-config.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define UIO_MAXIOV IOV_MAX
|
|
|
|
#ifndef __MLIBC_ABI_ONLY
|
|
|
|
ssize_t readv(int __fd, const struct iovec *__iov, int __iovcnt);
|
|
ssize_t writev(int __fd, const struct iovec *__iov, int __iovcnt);
|
|
|
|
/* Non standard extensions, also found on modern BSD's */
|
|
ssize_t preadv(int __fd, const struct iovec *__iov, int __iovcnt, off_t __offset);
|
|
ssize_t pwritev(int __fd, const struct iovec *__iov, int __iovcnt, off_t __offset);
|
|
|
|
#endif /* !__MLIBC_ABI_ONLY */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#if __MLIBC_LINUX_OPTION
|
|
#include <bits/linux/linux_uio.h>
|
|
#endif /* __MLIBC_LINUX_OPTION */
|
|
|
|
#endif /* _SYS_UIO_H */
|