123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- #ifndef _SYS_UIO_H
- #define _SYS_UIO_H 1
- #include <features.h>
- #include <sys/types.h>
- __BEGIN_DECLS
- #include <bits/uio.h>
- extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count)
- __wur;
- extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count)
- __wur;
- #ifdef __USE_MISC
- # ifndef __USE_FILE_OFFSET64
- extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count,
- __off_t __offset) __wur;
- extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count,
- __off_t __offset) __wur;
- # else
- # ifdef __REDIRECT
- extern ssize_t __REDIRECT (preadv, (int __fd, const struct iovec *__iovec,
- int __count, __off64_t __offset),
- preadv64) __wur;
- extern ssize_t __REDIRECT (pwritev, (int __fd, const struct iovec *__iovec,
- int __count, __off64_t __offset),
- pwritev64) __wur;
- # else
- # define preadv preadv64
- # define pwritev pwritev64
- # endif
- # endif
- # ifdef __USE_LARGEFILE64
- extern ssize_t preadv64 (int __fd, const struct iovec *__iovec, int __count,
- __off64_t __offset) __wur;
- extern ssize_t pwritev64 (int __fd, const struct iovec *__iovec, int __count,
- __off64_t __offset) __wur;
- # endif
- #endif
- __END_DECLS
- #endif
|