diff options
author | marcel <marcel@FreeBSD.org> | 2000-07-17 00:13:38 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2000-07-17 00:13:38 +0000 |
commit | 53da591ed596df85ce694fd775cd1e380c88720c (patch) | |
tree | 8cec5533d2500a5656fb7b02fcdab07a6df1018e /sys/i386 | |
parent | e16e26fada5ff2253fc0408b159f8041f2fb3b56 (diff) | |
download | FreeBSD-src-53da591ed596df85ce694fd775cd1e380c88720c.zip FreeBSD-src-53da591ed596df85ce694fd775cd1e380c88720c.tar.gz |
Add prototypes for linux_pread and linux_pwrite.
PR: 17991
Submitted by: Geoffrey Speicher <geoff@caribbean.sea-incorporated.com>
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/linux/syscalls.master | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master index 473baf1..3de9c93 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -266,8 +266,10 @@ 178 STD LINUX { int linux_rt_sigqueueinfo(void); } 179 STD LINUX { int linux_rt_sigsuspend(linux_sigset_t *newset, \ size_t sigsetsize); } -180 STD LINUX { int linux_pread(void); } -181 STD LINUX { int linux_pwrite(void); } +180 STD LINUX { int linux_pread(int fd, char *buf, size_t nbyte, \ + off_t offset); } +181 STD LINUX { int linux_pwrite(int fd, const char *buf, \ + size_t nbyte, off_t offset); } 182 STD LINUX { int linux_chown(char *path, int uid, int gid); } 183 STD LINUX { int linux_getcwd(char *buf, unsigned long bufsize); } 184 STD LINUX { int linux_capget(void); } |