diff options
author | alc <alc@FreeBSD.org> | 1999-03-27 21:16:58 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 1999-03-27 21:16:58 +0000 |
commit | c9eccc7347cc4051a3db16f68f3a854908494917 (patch) | |
tree | 5921615b06b186f28e5d3133d7bc1b1a43ab944d /sys/kern/syscalls.master | |
parent | 807da996a2d52fdc0c28d408fabc635bb3c681d4 (diff) | |
download | FreeBSD-src-c9eccc7347cc4051a3db16f68f3a854908494917.zip FreeBSD-src-c9eccc7347cc4051a3db16f68f3a854908494917.tar.gz |
Added pread and pwrite. These functions are defined by the X/Open
Threads Extension. (Note: We use the same syscall numbers as NetBSD.)
Submitted by: John Plevyak <jplevyak@inktomi.com>
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r-- | sys/kern/syscalls.master | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 6772363..30b39c4 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ - $Id: syscalls.master,v 1.54 1998/11/05 14:28:24 dg Exp $ + $Id: syscalls.master,v 1.55 1998/11/11 12:45:14 peter Exp $ ; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; ; System call name/number master file. @@ -266,8 +266,8 @@ 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 UNIMPL NOHIDE nosys -174 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); } 175 UNIMPL NOHIDE nosys 176 STD BSD { int ntp_adjtime(struct timex *tp); } 177 UNIMPL NOHIDE sfork (BSD/OS 2.x) |