1993-10-02 13:22:00 +03:00
|
|
|
/*
|
|
|
|
* System call names.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
1997-10-19 22:48:57 +04:00
|
|
|
* created from NetBSD: syscalls.master,v 1.44 1997/10/19 18:48:16 christos Exp
|
1993-10-02 13:22:00 +03:00
|
|
|
*/
|
|
|
|
|
1994-10-26 02:03:22 +03:00
|
|
|
char *sunos_syscallnames[] = {
|
1993-11-10 04:01:59 +03:00
|
|
|
"syscall", /* 0 = syscall */
|
1993-10-02 13:22:00 +03:00
|
|
|
"exit", /* 1 = exit */
|
|
|
|
"fork", /* 2 = fork */
|
|
|
|
"read", /* 3 = read */
|
|
|
|
"write", /* 4 = write */
|
1995-10-07 09:41:34 +03:00
|
|
|
"open", /* 5 = open */
|
1993-10-02 13:22:00 +03:00
|
|
|
"close", /* 6 = close */
|
1995-10-07 09:41:34 +03:00
|
|
|
"wait4", /* 7 = wait4 */
|
|
|
|
"creat", /* 8 = creat */
|
1993-10-02 13:22:00 +03:00
|
|
|
"link", /* 9 = link */
|
|
|
|
"unlink", /* 10 = unlink */
|
1995-10-07 09:41:34 +03:00
|
|
|
"execv", /* 11 = execv */
|
1993-10-02 13:22:00 +03:00
|
|
|
"chdir", /* 12 = chdir */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#13 (obsolete time)", /* 13 = obsolete time */
|
1995-10-07 09:41:34 +03:00
|
|
|
"mknod", /* 14 = mknod */
|
1993-10-02 13:22:00 +03:00
|
|
|
"chmod", /* 15 = chmod */
|
|
|
|
"chown", /* 16 = chown */
|
|
|
|
"break", /* 17 = break */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#18 (obsolete stat)", /* 18 = obsolete stat */
|
1995-10-07 09:41:34 +03:00
|
|
|
"lseek", /* 19 = lseek */
|
1993-10-02 13:22:00 +03:00
|
|
|
"getpid", /* 20 = getpid */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#21 (obsolete sunos_old_mount)", /* 21 = obsolete sunos_old_mount */
|
|
|
|
"#22 (unimplemented System V umount)", /* 22 = unimplemented System V umount */
|
|
|
|
"setuid", /* 23 = setuid */
|
1993-10-02 13:22:00 +03:00
|
|
|
"getuid", /* 24 = getuid */
|
1996-08-31 03:08:21 +04:00
|
|
|
"stime", /* 25 = stime */
|
1995-10-07 09:41:34 +03:00
|
|
|
"ptrace", /* 26 = ptrace */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#27 (unimplemented sunos_alarm)", /* 27 = unimplemented sunos_alarm */
|
|
|
|
"#28 (unimplemented sunos_fstat)", /* 28 = unimplemented sunos_fstat */
|
|
|
|
"#29 (unimplemented sunos_pause)", /* 29 = unimplemented sunos_pause */
|
|
|
|
"#30 (unimplemented sunos_utime)", /* 30 = unimplemented sunos_utime */
|
|
|
|
"#31 (unimplemented sunos_stty)", /* 31 = unimplemented sunos_stty */
|
|
|
|
"#32 (unimplemented sunos_gtty)", /* 32 = unimplemented sunos_gtty */
|
1995-10-07 09:41:34 +03:00
|
|
|
"access", /* 33 = access */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#34 (unimplemented sunos_nice)", /* 34 = unimplemented sunos_nice */
|
|
|
|
"#35 (unimplemented sunos_ftime)", /* 35 = unimplemented sunos_ftime */
|
1993-10-02 13:22:00 +03:00
|
|
|
"sync", /* 36 = sync */
|
|
|
|
"kill", /* 37 = kill */
|
1995-10-07 09:41:34 +03:00
|
|
|
"stat", /* 38 = stat */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#39 (unimplemented sunos_setpgrp)", /* 39 = unimplemented sunos_setpgrp */
|
1995-10-07 09:41:34 +03:00
|
|
|
"lstat", /* 40 = lstat */
|
1993-10-02 13:22:00 +03:00
|
|
|
"dup", /* 41 = dup */
|
|
|
|
"pipe", /* 42 = pipe */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#43 (unimplemented sunos_times)", /* 43 = unimplemented sunos_times */
|
1993-10-02 13:22:00 +03:00
|
|
|
"profil", /* 44 = profil */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#45 (unimplemented)", /* 45 = unimplemented */
|
1994-11-26 03:00:11 +03:00
|
|
|
"setgid", /* 46 = setgid */
|
1993-10-02 13:22:00 +03:00
|
|
|
"getgid", /* 47 = getgid */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#48 (unimplemented sunos_ssig)", /* 48 = unimplemented sunos_ssig */
|
|
|
|
"#49 (unimplemented reserved for USG)", /* 49 = unimplemented reserved for USG */
|
|
|
|
"#50 (unimplemented reserved for USG)", /* 50 = unimplemented reserved for USG */
|
1993-10-02 13:22:00 +03:00
|
|
|
"acct", /* 51 = acct */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#52 (unimplemented)", /* 52 = unimplemented */
|
1995-10-07 09:41:34 +03:00
|
|
|
"mctl", /* 53 = mctl */
|
|
|
|
"ioctl", /* 54 = ioctl */
|
|
|
|
"reboot", /* 55 = reboot */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#56 (obsolete sunos_owait3)", /* 56 = obsolete sunos_owait3 */
|
1993-10-02 13:22:00 +03:00
|
|
|
"symlink", /* 57 = symlink */
|
|
|
|
"readlink", /* 58 = readlink */
|
|
|
|
"execve", /* 59 = execve */
|
|
|
|
"umask", /* 60 = umask */
|
|
|
|
"chroot", /* 61 = chroot */
|
1995-10-07 09:41:34 +03:00
|
|
|
"fstat", /* 62 = fstat */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#63 (unimplemented)", /* 63 = unimplemented */
|
1995-10-07 09:41:34 +03:00
|
|
|
"getpagesize", /* 64 = getpagesize */
|
|
|
|
"omsync", /* 65 = omsync */
|
1993-10-02 13:22:00 +03:00
|
|
|
"vfork", /* 66 = vfork */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#67 (obsolete vread)", /* 67 = obsolete vread */
|
|
|
|
"#68 (obsolete vwrite)", /* 68 = obsolete vwrite */
|
1993-10-02 13:22:00 +03:00
|
|
|
"sbrk", /* 69 = sbrk */
|
|
|
|
"sstk", /* 70 = sstk */
|
1995-10-07 09:41:34 +03:00
|
|
|
"mmap", /* 71 = mmap */
|
1993-10-02 13:22:00 +03:00
|
|
|
"vadvise", /* 72 = vadvise */
|
|
|
|
"munmap", /* 73 = munmap */
|
|
|
|
"mprotect", /* 74 = mprotect */
|
|
|
|
"madvise", /* 75 = madvise */
|
1995-10-07 09:41:34 +03:00
|
|
|
"vhangup", /* 76 = vhangup */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#77 (unimplemented vlimit)", /* 77 = unimplemented vlimit */
|
1993-10-02 13:22:00 +03:00
|
|
|
"mincore", /* 78 = mincore */
|
|
|
|
"getgroups", /* 79 = getgroups */
|
|
|
|
"setgroups", /* 80 = setgroups */
|
|
|
|
"getpgrp", /* 81 = getpgrp */
|
1995-10-07 09:41:34 +03:00
|
|
|
"setpgrp", /* 82 = setpgrp */
|
1993-10-02 13:22:00 +03:00
|
|
|
"setitimer", /* 83 = setitimer */
|
1995-10-07 09:41:34 +03:00
|
|
|
"#84 (unimplemented { int sunos_sys_wait ( void ) ; })", /* 84 = unimplemented { int sunos_sys_wait ( void ) ; } */
|
1993-10-02 13:22:00 +03:00
|
|
|
"swapon", /* 85 = swapon */
|
|
|
|
"getitimer", /* 86 = getitimer */
|
1995-10-07 09:41:34 +03:00
|
|
|
"gethostname", /* 87 = gethostname */
|
|
|
|
"sethostname", /* 88 = sethostname */
|
|
|
|
"getdtablesize", /* 89 = getdtablesize */
|
1993-10-02 13:22:00 +03:00
|
|
|
"dup2", /* 90 = dup2 */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#91 (unimplemented getdopt)", /* 91 = unimplemented getdopt */
|
1993-10-02 13:22:00 +03:00
|
|
|
"fcntl", /* 92 = fcntl */
|
|
|
|
"select", /* 93 = select */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#94 (unimplemented setdopt)", /* 94 = unimplemented setdopt */
|
1993-10-02 13:22:00 +03:00
|
|
|
"fsync", /* 95 = fsync */
|
|
|
|
"setpriority", /* 96 = setpriority */
|
|
|
|
"socket", /* 97 = socket */
|
|
|
|
"connect", /* 98 = connect */
|
1995-10-07 09:41:34 +03:00
|
|
|
"accept", /* 99 = accept */
|
1993-10-02 13:22:00 +03:00
|
|
|
"getpriority", /* 100 = getpriority */
|
1995-10-07 09:41:34 +03:00
|
|
|
"send", /* 101 = send */
|
|
|
|
"recv", /* 102 = recv */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#103 (unimplemented old socketaddr)", /* 103 = unimplemented old socketaddr */
|
1993-10-02 13:22:00 +03:00
|
|
|
"bind", /* 104 = bind */
|
1995-10-07 09:41:34 +03:00
|
|
|
"setsockopt", /* 105 = setsockopt */
|
1993-10-02 13:22:00 +03:00
|
|
|
"listen", /* 106 = listen */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#107 (unimplemented vtimes)", /* 107 = unimplemented vtimes */
|
1995-10-07 09:41:34 +03:00
|
|
|
"sigvec", /* 108 = sigvec */
|
|
|
|
"sigblock", /* 109 = sigblock */
|
|
|
|
"sigsetmask", /* 110 = sigsetmask */
|
1993-10-02 13:22:00 +03:00
|
|
|
"sigsuspend", /* 111 = sigsuspend */
|
1995-10-07 09:41:34 +03:00
|
|
|
"sigstack", /* 112 = sigstack */
|
|
|
|
"recvmsg", /* 113 = recvmsg */
|
|
|
|
"sendmsg", /* 114 = sendmsg */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
|
1993-10-02 13:22:00 +03:00
|
|
|
"gettimeofday", /* 116 = gettimeofday */
|
|
|
|
"getrusage", /* 117 = getrusage */
|
|
|
|
"getsockopt", /* 118 = getsockopt */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#119 (unimplemented)", /* 119 = unimplemented */
|
1993-10-02 13:22:00 +03:00
|
|
|
"readv", /* 120 = readv */
|
|
|
|
"writev", /* 121 = writev */
|
|
|
|
"settimeofday", /* 122 = settimeofday */
|
|
|
|
"fchown", /* 123 = fchown */
|
|
|
|
"fchmod", /* 124 = fchmod */
|
1995-10-07 09:41:34 +03:00
|
|
|
"recvfrom", /* 125 = recvfrom */
|
|
|
|
"setreuid", /* 126 = setreuid */
|
|
|
|
"setregid", /* 127 = setregid */
|
1993-10-02 13:22:00 +03:00
|
|
|
"rename", /* 128 = rename */
|
1995-10-07 09:41:34 +03:00
|
|
|
"truncate", /* 129 = truncate */
|
|
|
|
"ftruncate", /* 130 = ftruncate */
|
1993-10-02 13:22:00 +03:00
|
|
|
"flock", /* 131 = flock */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#132 (unimplemented)", /* 132 = unimplemented */
|
1993-10-02 13:22:00 +03:00
|
|
|
"sendto", /* 133 = sendto */
|
|
|
|
"shutdown", /* 134 = shutdown */
|
|
|
|
"socketpair", /* 135 = socketpair */
|
|
|
|
"mkdir", /* 136 = mkdir */
|
|
|
|
"rmdir", /* 137 = rmdir */
|
|
|
|
"utimes", /* 138 = utimes */
|
1995-10-07 09:41:34 +03:00
|
|
|
"sigreturn", /* 139 = sigreturn */
|
1993-10-02 13:22:00 +03:00
|
|
|
"adjtime", /* 140 = adjtime */
|
1995-10-07 09:41:34 +03:00
|
|
|
"getpeername", /* 141 = getpeername */
|
|
|
|
"gethostid", /* 142 = gethostid */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#143 (unimplemented old sethostid)", /* 143 = unimplemented old sethostid */
|
1995-10-07 09:41:34 +03:00
|
|
|
"getrlimit", /* 144 = getrlimit */
|
|
|
|
"setrlimit", /* 145 = setrlimit */
|
|
|
|
"killpg", /* 146 = killpg */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#147 (unimplemented)", /* 147 = unimplemented */
|
|
|
|
"#148 (unimplemented)", /* 148 = unimplemented */
|
|
|
|
"#149 (unimplemented)", /* 149 = unimplemented */
|
1995-10-07 09:41:34 +03:00
|
|
|
"getsockname", /* 150 = getsockname */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#151 (unimplemented getmsg)", /* 151 = unimplemented getmsg */
|
|
|
|
"#152 (unimplemented putmsg)", /* 152 = unimplemented putmsg */
|
1995-10-07 09:41:34 +03:00
|
|
|
"poll", /* 153 = poll */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#154 (unimplemented)", /* 154 = unimplemented */
|
1993-12-12 23:46:24 +03:00
|
|
|
#ifdef NFSSERVER
|
1995-10-07 09:41:34 +03:00
|
|
|
"nfssvc", /* 155 = nfssvc */
|
1993-12-12 23:46:24 +03:00
|
|
|
#else
|
1994-10-26 02:03:22 +03:00
|
|
|
"#155 (unimplemented)", /* 155 = unimplemented */
|
1993-12-12 23:46:24 +03:00
|
|
|
#endif
|
1993-10-02 13:22:00 +03:00
|
|
|
"getdirentries", /* 156 = getdirentries */
|
1995-10-07 09:41:34 +03:00
|
|
|
"statfs", /* 157 = statfs */
|
|
|
|
"fstatfs", /* 158 = fstatfs */
|
|
|
|
"unmount", /* 159 = unmount */
|
1997-01-31 05:19:34 +03:00
|
|
|
#ifdef NFS
|
1993-12-12 23:46:24 +03:00
|
|
|
"async_daemon", /* 160 = async_daemon */
|
|
|
|
"getfh", /* 161 = getfh */
|
|
|
|
#else
|
1994-10-26 02:03:22 +03:00
|
|
|
"#160 (unimplemented)", /* 160 = unimplemented */
|
|
|
|
"#161 (unimplemented)", /* 161 = unimplemented */
|
1993-12-12 23:46:24 +03:00
|
|
|
#endif
|
1995-10-07 09:41:34 +03:00
|
|
|
"getdomainname", /* 162 = getdomainname */
|
|
|
|
"setdomainname", /* 163 = setdomainname */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#164 (unimplemented rtschedule)", /* 164 = unimplemented rtschedule */
|
1995-10-07 09:41:34 +03:00
|
|
|
"quotactl", /* 165 = quotactl */
|
|
|
|
"exportfs", /* 166 = exportfs */
|
|
|
|
"mount", /* 167 = mount */
|
|
|
|
"ustat", /* 168 = ustat */
|
1993-11-14 17:56:35 +03:00
|
|
|
#ifdef SYSVSEM
|
1995-10-07 09:41:34 +03:00
|
|
|
"semsys", /* 169 = semsys */
|
1993-11-14 17:56:35 +03:00
|
|
|
#else
|
1995-10-07 09:41:34 +03:00
|
|
|
"#169 (unimplemented semsys)", /* 169 = unimplemented semsys */
|
1993-11-14 17:56:35 +03:00
|
|
|
#endif
|
|
|
|
#ifdef SYSVMSG
|
1995-10-07 09:41:34 +03:00
|
|
|
"msgsys", /* 170 = msgsys */
|
1993-11-14 17:56:35 +03:00
|
|
|
#else
|
1995-10-07 09:41:34 +03:00
|
|
|
"#170 (unimplemented msgsys)", /* 170 = unimplemented msgsys */
|
1993-11-14 17:56:35 +03:00
|
|
|
#endif
|
1993-10-02 13:22:00 +03:00
|
|
|
#ifdef SYSVSHM
|
1995-10-07 09:41:34 +03:00
|
|
|
"shmsys", /* 171 = shmsys */
|
1993-10-02 13:22:00 +03:00
|
|
|
#else
|
1995-10-07 09:41:34 +03:00
|
|
|
"#171 (unimplemented shmsys)", /* 171 = unimplemented shmsys */
|
1993-10-02 13:22:00 +03:00
|
|
|
#endif
|
1995-10-07 09:41:34 +03:00
|
|
|
"auditsys", /* 172 = auditsys */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#173 (unimplemented rfssys)", /* 173 = unimplemented rfssys */
|
1995-10-07 09:41:34 +03:00
|
|
|
"getdents", /* 174 = getdents */
|
1993-10-02 13:22:00 +03:00
|
|
|
"setsid", /* 175 = setsid */
|
|
|
|
"fchdir", /* 176 = fchdir */
|
1995-10-07 09:41:34 +03:00
|
|
|
"fchroot", /* 177 = fchroot */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#178 (unimplemented vpixsys)", /* 178 = unimplemented vpixsys */
|
|
|
|
"#179 (unimplemented aioread)", /* 179 = unimplemented aioread */
|
|
|
|
"#180 (unimplemented aiowrite)", /* 180 = unimplemented aiowrite */
|
|
|
|
"#181 (unimplemented aiowait)", /* 181 = unimplemented aiowait */
|
|
|
|
"#182 (unimplemented aiocancel)", /* 182 = unimplemented aiocancel */
|
1995-10-07 09:41:34 +03:00
|
|
|
"sigpending", /* 183 = sigpending */
|
1994-10-26 02:03:22 +03:00
|
|
|
"#184 (unimplemented)", /* 184 = unimplemented */
|
1993-10-02 13:22:00 +03:00
|
|
|
"setpgid", /* 185 = setpgid */
|
1994-11-26 03:00:11 +03:00
|
|
|
"pathconf", /* 186 = pathconf */
|
|
|
|
"fpathconf", /* 187 = fpathconf */
|
1995-10-07 09:41:34 +03:00
|
|
|
"sysconf", /* 188 = sysconf */
|
|
|
|
"uname", /* 189 = uname */
|
1993-10-02 13:22:00 +03:00
|
|
|
};
|