From: deraadt Date: Thu, 20 Apr 2000 06:32:23 +0000 (+0000) Subject: system call hookup for p{read,write}{,v} X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0d541147fc85a24dbaae2464487215f81ddb1e13;p=openbsd system call hookup for p{read,write}{,v} --- 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); }