NetBSD/sys/compat/svr4/svr4_syscall.h

114 lines
3.7 KiB
C
Raw Normal View History

/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
1995-10-14 23:26:39 +03:00
* created from NetBSD: syscalls.master,v 1.14 1995/10/14 20:25:06 christos Exp
*/
#define SVR4_SYS_syscall 0
1995-10-14 23:26:39 +03:00
#define SVR4_SYS_sys_exit 1
#define SVR4_SYS_sys_fork 2
#define SVR4_SYS_sys_read 3
#define SVR4_SYS_sys_write 4
#define SVR4_SYS_svr4_sys_open 5
#define SVR4_SYS_sys_close 6
#define SVR4_SYS_svr4_sys_wait 7
#define SVR4_SYS_svr4_sys_creat 8
#define SVR4_SYS_sys_link 9
#define SVR4_SYS_sys_unlink 10
#define SVR4_SYS_svr4_sys_execv 11
#define SVR4_SYS_sys_chdir 12
#define SVR4_SYS_svr4_sys_time 13
#define SVR4_SYS_svr4_sys_mknod 14
#define SVR4_SYS_sys_chmod 15
#define SVR4_SYS_sys_chown 16
#define SVR4_SYS_svr4_sys_break 17
#define SVR4_SYS_svr4_sys_stat 18
#define SVR4_SYS_compat_43_sys_lseek 19
#define SVR4_SYS_sys_getpid 20
#define SVR4_SYS_sys_setuid 23
#define SVR4_SYS_sys_getuid 24
#define SVR4_SYS_svr4_sys_alarm 27
#define SVR4_SYS_svr4_sys_fstat 28
#define SVR4_SYS_svr4_sys_access 33
#define SVR4_SYS_sys_sync 36
#define SVR4_SYS_svr4_sys_kill 37
#define SVR4_SYS_svr4_sys_pgrpsys 39
#define SVR4_SYS_sys_dup 41
#define SVR4_SYS_sys_pipe 42
#define SVR4_SYS_svr4_sys_times 43
#define SVR4_SYS_sys_setgid 46
#define SVR4_SYS_sys_getgid 47
#define SVR4_SYS_svr4_sys_signal 48
#define SVR4_SYS_svr4_sys_msgsys 49
#define SVR4_SYS_svr4_sys_sysarch 50
#define SVR4_SYS_svr4_sys_shmsys 52
#define SVR4_SYS_svr4_sys_semsys 53
#define SVR4_SYS_svr4_sys_ioctl 54
#define SVR4_SYS_svr4_sys_utssys 57
#define SVR4_SYS_sys_fsync 58
#define SVR4_SYS_svr4_sys_execve 59
#define SVR4_SYS_sys_umask 60
#define SVR4_SYS_sys_chroot 61
#define SVR4_SYS_svr4_sys_fcntl 62
#define SVR4_SYS_svr4_sys_ulimit 63
1995-10-07 09:41:34 +03:00
/* 70 is obsolete advfs */
/* 71 is obsolete unadvfs */
/* 72 is obsolete rmount */
/* 73 is obsolete rumount */
/* 74 is obsolete rfstart */
/* 75 is obsolete sigret */
/* 76 is obsolete rdebug */
/* 77 is obsolete rfstop */
1995-10-14 23:26:39 +03:00
#define SVR4_SYS_sys_rmdir 79
#define SVR4_SYS_sys_mkdir 80
#define SVR4_SYS_svr4_sys_getdents 81
1995-10-07 09:41:34 +03:00
/* 82 is obsolete libattach */
/* 83 is obsolete libdetach */
1995-10-14 23:26:39 +03:00
#define SVR4_SYS_svr4_sys_getmsg 85
#define SVR4_SYS_svr4_sys_putmsg 86
#define SVR4_SYS_svr4_sys_poll 87
#define SVR4_SYS_svr4_sys_lstat 88
#define SVR4_SYS_sys_symlink 89
#define SVR4_SYS_sys_readlink 90
#define SVR4_SYS_sys_getgroups 91
#define SVR4_SYS_sys_setgroups 92
#define SVR4_SYS_sys_fchmod 93
#define SVR4_SYS_sys_fchown 94
#define SVR4_SYS_svr4_sys_sigprocmask 95
#define SVR4_SYS_svr4_sys_sigsuspend 96
#define SVR4_SYS_svr4_sys_sigaltstack 97
#define SVR4_SYS_svr4_sys_sigaction 98
#define SVR4_SYS_svr4_sys_sigpending 99
#define SVR4_SYS_svr4_sys_context 100
#define SVR4_SYS_svr4_sys_statvfs 103
#define SVR4_SYS_svr4_sys_fstatvfs 104
#define SVR4_SYS_svr4_sys_waitsys 107
#define SVR4_SYS_svr4_sys_hrtsys 109
#define SVR4_SYS_svr4_sys_mmap 115
#define SVR4_SYS_sys_mprotect 116
#define SVR4_SYS_sys_munmap 117
#define SVR4_SYS_sys_fpathconf 118
#define SVR4_SYS_sys_vfork 119
#define SVR4_SYS_sys_fchdir 120
#define SVR4_SYS_sys_readv 121
#define SVR4_SYS_sys_writev 122
#define SVR4_SYS_svr4_sys_xstat 123
#define SVR4_SYS_svr4_sys_lxstat 124
#define SVR4_SYS_svr4_sys_fxstat 125
#define SVR4_SYS_svr4_sys_setrlimit 128
#define SVR4_SYS_svr4_sys_getrlimit 129
#define SVR4_SYS_sys_rename 134
#define SVR4_SYS_svr4_sys_uname 135
#define SVR4_SYS_sys_setegid 136
#define SVR4_SYS_svr4_sys_sysconfig 137
#define SVR4_SYS_sys_adjtime 138
#define SVR4_SYS_svr4_sys_systeminfo 139
#define SVR4_SYS_sys_seteuid 141
#define SVR4_SYS_svr4_sys_fchroot 153
#define SVR4_SYS_svr4_sys_vhangup 155
#define SVR4_SYS_svr4_sys_gettimeofday 156
#define SVR4_SYS_sys_getitimer 157
#define SVR4_SYS_sys_setitimer 158
#define SVR4_SYS_MAXSYSCALL 187