summaryrefslogtreecommitdiffstats
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1999-04-04 21:41:28 +0000
committerdt <dt@FreeBSD.org>1999-04-04 21:41:28 +0000
commitf13dd5fa6d2de09245e582c2792228f2653fd2a8 (patch)
treede22c23c16202f9effaeaa5beeebcf5a281a09e9 /sys/kern/syscalls.master
parentbd8e7f40fbb5601af9da0bd9915ae4985da59b00 (diff)
downloadFreeBSD-src-f13dd5fa6d2de09245e582c2792228f2653fd2a8.zip
FreeBSD-src-f13dd5fa6d2de09245e582c2792228f2653fd2a8.tar.gz
Add standard padding argument to pread and pwrite syscall. That should make them
NetBSD compatible. Add parameter to fo_read and fo_write. (The only flag FOF_OFFSET mean that the offset is set in the struct uio). Factor out some common code from read/pread/write/pwrite syscalls.
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 30b39c4..899a105 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
- $Id: syscalls.master,v 1.55 1998/11/11 12:45:14 peter Exp $
+ $Id: syscalls.master,v 1.56 1999/03/27 21:16:33 alc Exp $
; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
;
; System call name/number master file.
@@ -266,8 +266,10 @@
171 STD BSD { int shmsys(int which, int a2, int a3, int a4); }
; XXX should be { int shmsys(int which, ...); }
172 UNIMPL NOHIDE nosys
-173 STD POSIX { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); }
-174 STD POSIX { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
+173 STD POSIX { ssize_t pread(int fd, void *buf, size_t nbyte, \
+ int pad, off_t offset); }
+174 STD POSIX { ssize_t pwrite(int fd, const void *buf, \
+ size_t nbyte, int pad, off_t offset); }
175 UNIMPL NOHIDE nosys
176 STD BSD { int ntp_adjtime(struct timex *tp); }
177 UNIMPL NOHIDE sfork (BSD/OS 2.x)
OpenPOWER on IntegriCloud