summaryrefslogtreecommitdiffstats
path: root/sys/sys/uio.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-05-24 15:14:59 +0000
committerderaadt <deraadt@openbsd.org>2000-05-24 15:14:59 +0000
commite6c1328c4594a307d79a9d07d7eed81fc2b15805 (patch)
tree0890fa37dff70e6f45e54248d01b1d7a0ce64f86 /sys/sys/uio.h
parentPermit detach of audio devices, such as uaudio. Selected code (diff)
downloadwireguard-openbsd-e6c1328c4594a307d79a9d07d7eed81fc2b15805.tar.xz
wireguard-openbsd-e6c1328c4594a307d79a9d07d7eed81fc2b15805.zip
move kernel prototypes using iovec to the right place
Diffstat (limited to 'sys/sys/uio.h')
-rw-r--r--sys/sys/uio.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/sys/uio.h b/sys/sys/uio.h
index ff57953aaea..42c4b39c5ac 100644
--- a/sys/sys/uio.h
+++ b/sys/sys/uio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uio.h,v 1.8 2000/04/20 06:34:17 deraadt Exp $ */
+/* $OpenBSD: uio.h,v 1.9 2000/05/24 15:14:59 deraadt Exp $ */
/* $NetBSD: uio.h,v 1.12 1996/02/09 18:25:45 christos Exp $ */
/*
@@ -83,7 +83,13 @@ ssize_t readv __P((int, const struct iovec *, int));
ssize_t writev __P((int, const struct iovec *, int));
__END_DECLS
#else
-int ureadc __P((int c, struct uio *));
+int ureadc __P((int c, struct uio *));
+
+int dofilereadv __P((struct proc *, int, struct file *,
+ const struct iovec *, int, off_t *, register_t *));
+int dofilewritev __P((struct proc *, int, struct file *,
+ const struct iovec *, int, off_t *, register_t *));
+
#endif /* !_KERNEL */
#endif /* !_SYS_UIO_H_ */