Sync usage with man page.
[netbsd-mini2440.git] / sys / compat / sunos / sunos_syscalls.c
blob01610a3a78679663d008f6ec1909cac2c6e91792
1 /* $NetBSD$ */
3 /*
4 * System call names.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.74 2009/01/13 22:27:43 pooka Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #if defined(_KERNEL_OPT)
15 #include "opt_sysv.h"
16 #endif
17 #include <sys/param.h>
18 #include <sys/systm.h>
19 #include <sys/signal.h>
20 #include <sys/mount.h>
21 #include <sys/poll.h>
22 #include <sys/sched.h>
23 #include <sys/syscallargs.h>
24 #include <compat/sunos/sunos.h>
25 #include <compat/sunos/sunos_syscallargs.h>
26 #endif /* _KERNEL_OPT */
28 const char *const sunos_syscallnames[] = {
29 /* 0 */ "syscall",
30 /* 1 */ "exit",
31 /* 2 */ "fork",
32 /* 3 */ "read",
33 /* 4 */ "write",
34 /* 5 */ "open",
35 /* 6 */ "close",
36 /* 7 */ "wait4",
37 /* 8 */ "creat",
38 /* 9 */ "link",
39 /* 10 */ "unlink",
40 /* 11 */ "execv",
41 /* 12 */ "chdir",
42 /* 13 */ "#13 (obsolete old_time)",
43 /* 14 */ "mknod",
44 /* 15 */ "chmod",
45 /* 16 */ "chown",
46 /* 17 */ "break",
47 /* 18 */ "#18 (obsolete old_stat)",
48 /* 19 */ "lseek",
49 /* 20 */ "getpid_with_ppid",
50 /* 21 */ "#21 (obsolete sunos_old_mount)",
51 /* 22 */ "#22 (unimplemented System V umount)",
52 /* 23 */ "setuid",
53 /* 24 */ "getuid_with_euid",
54 /* 25 */ "stime",
55 /* 26 */ "ptrace",
56 /* 27 */ "#27 (unimplemented old_sunos_alarm)",
57 /* 28 */ "#28 (unimplemented old_sunos_fstat)",
58 /* 29 */ "#29 (unimplemented old_sunos_pause)",
59 /* 30 */ "#30 (unimplemented old_sunos_utime)",
60 /* 31 */ "#31 (unimplemented old_sunos_stty)",
61 /* 32 */ "#32 (unimplemented old_sunos_gtty)",
62 /* 33 */ "access",
63 /* 34 */ "#34 (unimplemented old_sunos_nice)",
64 /* 35 */ "#35 (unimplemented old_sunos_ftime)",
65 /* 36 */ "sync",
66 /* 37 */ "kill",
67 /* 38 */ "stat",
68 /* 39 */ "#39 (unimplemented sunos_setpgrp)",
69 /* 40 */ "lstat",
70 /* 41 */ "dup",
71 /* 42 */ "pipe",
72 /* 43 */ "#43 (unimplemented sunos_times)",
73 /* 44 */ "profil",
74 /* 45 */ "#45 (unimplemented)",
75 /* 46 */ "setgid",
76 /* 47 */ "getgid_with_egid",
77 /* 48 */ "#48 (unimplemented sunos_ssig)",
78 /* 49 */ "#49 (unimplemented reserved for USG)",
79 /* 50 */ "#50 (unimplemented reserved for USG)",
80 /* 51 */ "acct",
81 /* 52 */ "#52 (unimplemented)",
82 /* 53 */ "mctl",
83 /* 54 */ "ioctl",
84 /* 55 */ "reboot",
85 /* 56 */ "#56 (obsolete sunos_owait3)",
86 /* 57 */ "symlink",
87 /* 58 */ "readlink",
88 /* 59 */ "execve",
89 /* 60 */ "umask",
90 /* 61 */ "chroot",
91 /* 62 */ "fstat",
92 /* 63 */ "#63 (unimplemented)",
93 /* 64 */ "getpagesize",
94 /* 65 */ "omsync",
95 /* 66 */ "vfork",
96 /* 67 */ "#67 (obsolete vread)",
97 /* 68 */ "#68 (obsolete vwrite)",
98 /* 69 */ "sbrk",
99 /* 70 */ "sstk",
100 /* 71 */ "mmap",
101 /* 72 */ "vadvise",
102 /* 73 */ "munmap",
103 /* 74 */ "mprotect",
104 /* 75 */ "madvise",
105 /* 76 */ "vhangup",
106 /* 77 */ "#77 (unimplemented vlimit)",
107 /* 78 */ "mincore",
108 /* 79 */ "getgroups",
109 /* 80 */ "setgroups",
110 /* 81 */ "getpgrp",
111 /* 82 */ "setpgrp",
112 /* 83 */ "setitimer",
113 /* 84 */ "#84 (unimplemented sunos_sys_wait)",
114 /* 85 */ "swapon",
115 /* 86 */ "getitimer",
116 /* 87 */ "gethostname",
117 /* 88 */ "sethostname",
118 /* 89 */ "getdtablesize",
119 /* 90 */ "dup2",
120 /* 91 */ "#91 (unimplemented getdopt)",
121 /* 92 */ "fcntl",
122 /* 93 */ "select",
123 /* 94 */ "#94 (unimplemented setdopt)",
124 /* 95 */ "fsync",
125 /* 96 */ "setpriority",
126 /* 97 */ "socket",
127 /* 98 */ "connect",
128 /* 99 */ "accept",
129 /* 100 */ "getpriority",
130 /* 101 */ "send",
131 /* 102 */ "recv",
132 /* 103 */ "#103 (unimplemented old socketaddr)",
133 /* 104 */ "bind",
134 /* 105 */ "setsockopt",
135 /* 106 */ "listen",
136 /* 107 */ "#107 (unimplemented vtimes)",
137 /* 108 */ "sigvec",
138 /* 109 */ "sigblock",
139 /* 110 */ "sigsetmask",
140 /* 111 */ "sigsuspend",
141 /* 112 */ "sigstack",
142 /* 113 */ "recvmsg",
143 /* 114 */ "sendmsg",
144 /* 115 */ "#115 (obsolete vtrace)",
145 /* 116 */ "gettimeofday",
146 /* 117 */ "getrusage",
147 /* 118 */ "getsockopt",
148 /* 119 */ "#119 (unimplemented)",
149 /* 120 */ "readv",
150 /* 121 */ "writev",
151 /* 122 */ "settimeofday",
152 /* 123 */ "fchown",
153 /* 124 */ "fchmod",
154 /* 125 */ "recvfrom",
155 /* 126 */ "setreuid",
156 /* 127 */ "setregid",
157 /* 128 */ "rename",
158 /* 129 */ "truncate",
159 /* 130 */ "ftruncate",
160 /* 131 */ "flock",
161 /* 132 */ "#132 (unimplemented)",
162 /* 133 */ "sendto",
163 /* 134 */ "shutdown",
164 /* 135 */ "socketpair",
165 /* 136 */ "mkdir",
166 /* 137 */ "rmdir",
167 /* 138 */ "utimes",
168 /* 139 */ "sigreturn",
169 /* 140 */ "adjtime",
170 /* 141 */ "getpeername",
171 /* 142 */ "gethostid",
172 /* 143 */ "#143 (unimplemented old sethostid)",
173 /* 144 */ "getrlimit",
174 /* 145 */ "setrlimit",
175 /* 146 */ "killpg",
176 /* 147 */ "#147 (unimplemented)",
177 /* 148 */ "#148 (unimplemented)",
178 /* 149 */ "#149 (unimplemented)",
179 /* 150 */ "getsockname",
180 /* 151 */ "#151 (unimplemented getmsg)",
181 /* 152 */ "#152 (unimplemented putmsg)",
182 /* 153 */ "poll",
183 /* 154 */ "#154 (unimplemented)",
184 /* 155 */ "nfssvc",
185 /* 156 */ "getdirentries",
186 /* 157 */ "statfs",
187 /* 158 */ "fstatfs",
188 /* 159 */ "unmount",
189 /* 160 */ "async_daemon",
190 /* 161 */ "getfh",
191 /* 162 */ "getdomainname",
192 /* 163 */ "setdomainname",
193 /* 164 */ "#164 (unimplemented rtschedule)",
194 /* 165 */ "quotactl",
195 /* 166 */ "exportfs",
196 /* 167 */ "mount",
197 /* 168 */ "ustat",
198 #ifdef SYSVSEM
199 /* 169 */ "semsys",
200 #else
201 /* 169 */ "#169 (unimplemented semsys)",
202 #endif
203 #ifdef SYSVMSG
204 /* 170 */ "msgsys",
205 #else
206 /* 170 */ "#170 (unimplemented msgsys)",
207 #endif
208 #ifdef SYSVSHM
209 /* 171 */ "shmsys",
210 #else
211 /* 171 */ "#171 (unimplemented shmsys)",
212 #endif
213 /* 172 */ "auditsys",
214 /* 173 */ "#173 (unimplemented rfssys)",
215 /* 174 */ "getdents",
216 /* 175 */ "setsid",
217 /* 176 */ "fchdir",
218 /* 177 */ "fchroot",
219 /* 178 */ "#178 (unimplemented vpixsys)",
220 /* 179 */ "#179 (unimplemented aioread)",
221 /* 180 */ "#180 (unimplemented aiowrite)",
222 /* 181 */ "#181 (unimplemented aiowait)",
223 /* 182 */ "#182 (unimplemented aiocancel)",
224 /* 183 */ "sigpending",
225 /* 184 */ "#184 (unimplemented)",
226 /* 185 */ "setpgid",
227 /* 186 */ "pathconf",
228 /* 187 */ "fpathconf",
229 /* 188 */ "sysconf",
230 /* 189 */ "uname",