Add getdents(). Rename getdirentries to compat_12_getdirentries.

This commit is contained in:
fvdl 1997-10-10 02:03:47 +00:00
parent ce56587f15
commit da29e54dfb
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.56 1997/10/03 15:06:18 enami Exp $
$NetBSD: syscalls.master,v 1.57 1997/10/10 02:03:47 fvdl Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@ -360,7 +360,7 @@
194 STD { int sys_getrlimit(u_int which, struct rlimit *rlp); }
195 STD { int sys_setrlimit(u_int which, \
const struct rlimit *rlp); }
196 STD { int sys_getdirentries(int fd, char *buf, \
196 COMPAT_12 { int sys_getdirentries(int fd, char *buf, \
u_int count, long *basep); }
197 STD { caddr_t sys_mmap(caddr_t addr, size_t len, int prot, \
int flags, int fd, long pad, off_t pos); }
@ -497,8 +497,7 @@
270 STD { int sys_posix_rename(const char *from, \
const char *to); }
271 STD { int sys_swapctl(int cmd, void *arg, int misc); }
; 272 will be getdents() shortly
272 UNIMPL
272 STD { int sys_getdents(int fd, char *buf, size_t count); }
273 STD { int sys_minherit(caddr_t addr, size_t len, \
int inherit); }
274 STD { int sys_lchmod(const char *path, int mode); }