diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-08-23 19:31:36 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-08-23 19:31:36 +0000 |
commit | 257aa3e86a92c31d57a4eaa13191741ac06353c9 (patch) | |
tree | 366d560be3e3a6912ce859dc2e6def85931f11ea /sys/compat/svr4/syscalls.master | |
parent | 2d21e287b3a6d871c0c5ffc80a9750b3919829f8 (diff) |
- Simplify pread and pwrite now that we have a native implementation.
- Implement pread/pwrite 64.
- Add DUP2FD fcntl command, which is nothing else than dup2 (according
to solaris manpage). This solves the dup error and the freezing problem
on netscape-solaris (DNS still not working, tho). code from NetBSD.
Diffstat (limited to 'sys/compat/svr4/syscalls.master')
-rw-r--r-- | sys/compat/svr4/syscalls.master | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/compat/svr4/syscalls.master b/sys/compat/svr4/syscalls.master index e33d99da96c..4eb37afb183 100644 --- a/sys/compat/svr4/syscalls.master +++ b/sys/compat/svr4/syscalls.master @@ -1,4 +1,4 @@ - $OpenBSD: syscalls.master,v 1.29 2000/06/28 23:48:15 fgsch Exp $ + $OpenBSD: syscalls.master,v 1.30 2000/08/23 19:31:35 fgsch Exp $ ; $NetBSD: syscalls.master,v 1.17 1996/02/10 17:12:51 christos Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 @@ -339,8 +339,10 @@ struct svr4_statvfs64 *fs); } 220 UNIMPL setrlimit64 221 UNIMPL getrlimit64 -222 UNIMPL pread64 -223 UNIMPL pwrite64 +222 STD { ssize_t svr4_sys_pread64(int fd, void *buf, \ + size_t nbyte, svr4_off64_t off); } +223 STD { ssize_t svr4_sys_pwrite64(int fd, const void *buf, \ + size_t nbyte, svr4_off64_t off); } 224 STD { int svr4_sys_creat64(char *path, int mode); } 225 STD { int svr4_sys_open64(char *path, int flags, \ int mode); } |