From e8509b60983167b47f730e4ede72549c667f0623 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 24 Aug 2003 00:02:43 +0000 Subject: freebsd pread and pwrite are the same as ours. jason + ackley.net says this lets him run perforce. ok deraadt@ --- sys/compat/freebsd/syscalls.master | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/compat/freebsd') 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 -- cgit v1.2.3