summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-20 06:32:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-20 06:32:24 +0000
commitf651049224a56042b9a7ad46681f9c35fee8986a (patch)
tree210696305903fcc3fa3cb9e62ff36dbae9c2990e /sys/kern
parent030f32bd759685fb6ed00c6d7ecbd11568881e97 (diff)
system call hookup for p{read,write}{,v}
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/syscalls.master14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 3305645ded4..9f41808bb2c 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.38 2000/02/07 04:49:27 assar Exp $
+; $OpenBSD: syscalls.master,v 1.39 2000/04/20 06:32:23 deraadt Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -327,8 +327,10 @@
171 UNIMPL 1.0 shmsys
#endif
172 UNIMPL
-173 UNIMPL
-174 UNIMPL
+173 STD { ssize_t sys_pread(int fd, void *buf, \
+ size_t nbyte, int pad, off_t offset); }
+174 STD { ssize_t sys_pwrite(int fd, const void *buf, \
+ size_t nbyte, int pad, off_t offset); }
#ifdef NTP
175 STD { int sys_ntp_gettime(struct ntptimeval *ntvp); }
176 STD { int sys_ntp_adjtime(struct timex *tp); }
@@ -521,3 +523,9 @@
struct stat *sb); }
266 STD { int sys_fhstatfs(const fhandle_t *fhp, \
struct statfs *buf); }
+267 STD { ssize_t sys_preadv(int fd, \
+ const struct iovec *iovp, int iovcnt, \
+ int pad, off_t offset); }
+268 STD { ssize_t sys_pwritev(int fd, \
+ const struct iovec *iovp, int iovcnt, \
+ int pad, off_t offset); }