summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVlad Starodubtsev <v.starodubtsev@ndmsystems.com>2017-10-26 17:22:33 +0300
committerWaldemar Brodkorb <wbrodkorb@conet.de>2018-06-15 23:11:28 +0200
commit860b51c84ac7d763400e7e036f290e3c084dec35 (patch)
tree3afd81d43eeb2b18fad8a7b11e39ccd4b5b0fef6 /include
parent9595fb8cd595028bece5174e7eddf660ae3dcc10 (diff)
Fix prototypes for preadv pwritev.
Diffstat (limited to 'include')
-rw-r--r--include/sys/uio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/uio.h b/include/sys/uio.h
index 78341ed40..aa766f9b1 100644
--- a/include/sys/uio.h
+++ b/include/sys/uio.h
@@ -59,7 +59,7 @@ extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count);
This function is a cancellation point and therefore not marked with
__THROW. */
extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count,
- __off_t __offset) __wur;
+ off_t __offset) __wur;
/* Write data pointed by the buffers described by IOVEC, which is a
vector of COUNT 'struct iovec's, to file descriptor FD at the given
@@ -71,7 +71,7 @@ extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count,
This function is a cancellation point and therefore not marked with
__THROW. */
extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count,
- __off_t __offset) __wur;
+ off_t __offset) __wur;
#endif /* Use misc. */
__END_DECLS