summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-08-24 00:02:43 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-08-24 00:02:43 +0000
commite8509b60983167b47f730e4ede72549c667f0623 (patch)
tree0e859ddede3c1de1f542c0451967d61a09a0f26c /sys/compat
parentc3041560a666a5bb43dd8d381509dee0f349bb21 (diff)
freebsd pread and pwrite are the same as ours. jason + ackley.net says this
lets him run perforce. ok deraadt@
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd/syscalls.master8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/compat/freebsd/syscalls.master b/sys/compat/freebsd/syscalls.master
index 042539c69a2..52fd282f127 100644
--- a/sys/compat/freebsd/syscalls.master
+++ b/sys/compat/freebsd/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.21 2003/05/10 17:53:57 miod Exp $
+ $OpenBSD: syscalls.master,v 1.22 2003/08/24 00:02:42 tedu Exp $
; $NetBSD: syscalls.master,v 1.3 1995/10/10 18:28:40 mycroft Exp $
; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -332,8 +332,10 @@
171 UNIMPL 1.0 shmsys
#endif
172 UNIMPL
-173 UNIMPL pread
-174 UNIMPL pwrite
+173 NOARGS { ssize_t sys_pread(int fd, void *buf, \
+ size_t nbyte, int pad, off_t offset); }
+174 NOARGS { ssize_t sys_pwrite(int fd, const void *buf, \
+ size_t nbyte, int pad, off_t offset); }
175 UNIMPL
176 UNIMPL ntp_adjtime
177 UNIMPL sfork