#define SVR4_SYS_waitsys 107
#define SVR4_SYS_hrtsys 109
#define SVR4_SYS_pathconf 113
+#define SVR4_SYS_mincore 114
#define SVR4_SYS_mmap 115
#define SVR4_SYS_mprotect 116
#define SVR4_SYS_munmap 117
int svr4_sys_waitsys __P((struct proc *, void *, register_t *));
int svr4_sys_hrtsys __P((struct proc *, void *, register_t *));
int svr4_sys_pathconf __P((struct proc *, void *, register_t *));
+int sys_mincore __P((struct proc *, void *, register_t *));
int svr4_sys_mmap __P((struct proc *, void *, register_t *));
int sys_mprotect __P((struct proc *, void *, register_t *));
int sys_munmap __P((struct proc *, void *, register_t *));
"#111 (unimplemented async)", /* 111 = unimplemented async */
"#112 (unimplemented priocntlsys)", /* 112 = unimplemented priocntlsys */
"pathconf", /* 113 = pathconf */
- "#114 (unimplemented mincore)", /* 114 = unimplemented mincore */
+ "mincore", /* 114 = mincore */
"mmap", /* 115 = mmap */
"mprotect", /* 116 = mprotect */
"munmap", /* 117 = munmap */
sys_nosys }, /* 112 = unimplemented priocntlsys */
{ 2, s(struct svr4_sys_pathconf_args),
svr4_sys_pathconf }, /* 113 = pathconf */
- { 0, 0,
- sys_nosys }, /* 114 = unimplemented mincore */
+ { 3, s(struct sys_mincore_args),
+ sys_mincore }, /* 114 = mincore */
{ 6, s(struct svr4_sys_mmap_args),
svr4_sys_mmap }, /* 115 = mmap */
{ 3, s(struct sys_mprotect_args),
- $OpenBSD: syscalls.master,v 1.8 1996/08/02 21:55:24 niklas Exp $
+ $OpenBSD: syscalls.master,v 1.9 1997/01/11 17:57:31 mickey Exp $
; $NetBSD: syscalls.master,v 1.17 1996/02/10 17:12:51 christos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
111 UNIMPL async
112 UNIMPL priocntlsys
113 STD { int svr4_sys_pathconf(char *path, int name); }
-114 UNIMPL mincore
+114 NOARGS { int sys_mincore(caddr_t addr, int len, char *vec); }
115 STD { int svr4_sys_mmap(svr4_caddr_t addr, \
svr4_size_t len, int prot, int flags, int fd, \
svr4_off_t pos); }