summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-20 06:34:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-20 06:34:19 +0000
commit1635e742b4148d262cf5ac2ca4b18ea21a176e82 (patch)
treeff635ec2cf84eac9a73a4a2451e748f123a4b39d /sys
parentc42dc7b26f5ec60537b371bf4725d3faab42d61c (diff)
prototyping for p{read,write}{,v}
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/uio.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/uio.h b/sys/sys/uio.h
index 09a6dbe34c3..ff57953aaea 100644
--- a/sys/sys/uio.h
+++ b/sys/sys/uio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uio.h,v 1.7 1999/01/20 22:08:59 art Exp $ */
+/* $OpenBSD: uio.h,v 1.8 2000/04/20 06:34:17 deraadt Exp $ */
/* $NetBSD: uio.h,v 1.12 1996/02/09 18:25:45 christos Exp $ */
/*
@@ -75,6 +75,10 @@ struct uio {
#include <sys/cdefs.h>
__BEGIN_DECLS
+#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
+ssize_t preadv __P((int, const struct iovec *, int, off_t));
+ssize_t pwritev __P((int, const struct iovec *, int, off_t));
+#endif /* !_POSIX_C_SOURCE && !_XOPEN_SOURCE */
ssize_t readv __P((int, const struct iovec *, int));
ssize_t writev __P((int, const struct iovec *, int));
__END_DECLS