xref: /csrg-svn/sys/hp/hpux/syscalls.master (revision 68377)
1*68377Scgd	@(#)syscalls.master	8.4 (Berkeley) 02/19/95
257307Shibler; System call name/number master file (or rather, slave, from HP-UX).
357307Shibler; Processed to created hpux_sysent.c, hpux_syscalls.c and hpux_syscall.h.
457307Shibler;
564480Shibler; from:	Utah $Hdr: hpux_sysent.c 1.33 93/08/13$
657307Shibler;
755865Smckusick
855865Smckusick; Columns: number type nargs name altname/comments
955865Smckusick;	number	system call number, must be in order
1055865Smckusick;	type	one of STD, OBSOL, UNIMPL, COMPAT
1155865Smckusick;	nargs	number of arguments
1255865Smckusick;	name	name of syscall routine
1355865Smckusick;	altname	name of system call if different
1455865Smckusick;		for UNIMPL/OBSOL, name continues with comments
1555865Smckusick
1655865Smckusick; types:
1755865Smckusick;	STD	always included
1855865Smckusick;	COMPAT	included on COMPAT #ifdef
1955865Smckusick;	LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
2055865Smckusick;	OBSOL	obsolete, not included in system, only specifies name
2155865Smckusick;	UNIMPL	not implemented, placeholder only, call nosys
2255865Smckusick;	NOTIMPL	not implemented, placeholder only, call notimp
2355865Smckusick
2455865Smckusick; #ifdef's, etc. may be included, and are copied to the output files.
2555865Smckusick
2655865Smckusick0	UNIMPL	0 indir or out-of-range
2763438Sbostic1	STD	1 exit
2864480Shibler2	STD	0 hpuxfork fork
2955865Smckusick3	STD	3 hpuxread read
3055865Smckusick4	STD	3 hpuxwrite write
3155865Smckusick5	STD	3 hpuxopen open
3255865Smckusick6	STD	1 close
3355865Smckusick7	STD	1 hpuxwait owait
3455865Smckusick8	STD	2 hpuxcreat ocreat
3555865Smckusick9	STD	2 link
3655865Smckusick10	STD	1 unlink
3755865Smckusick11	STD	2 hpuxexecv execv
3855865Smckusick12	STD	1 chdir
3955865Smckusick13	COMPAT	1 hpuxtime time
4055865Smckusick14	STD	3 mknod
4155865Smckusick15	STD	2 chmod
4255865Smckusick16	STD	3 chown
4355865Smckusick17	STD	1 obreak break
4455865Smckusick18	COMPAT	2 hpuxstat stat
45*68377Scgd19	STD	3 compat_43_lseek
4655865Smckusick20	STD	0 getpid
4755865Smckusick21	NOTIMPL	3 mount
4855865Smckusick22	NOTIMPL	1 umount
4955865Smckusick23	STD	1 setuid
5055865Smckusick24	STD	0 getuid
5155865Smckusick25	COMPAT	1 hpuxstime stime
5255865Smckusick26	STD	4 hpuxptrace ptrace
5355865Smckusick27	COMPAT	1 hpuxalarm alarm
5455865Smckusick28	COMPAT	2 hpuxfstat fstat
5555865Smckusick29	COMPAT	0 hpuxpause pause
5655865Smckusick30	COMPAT	2 hpuxutime utime
5755865Smckusick31	COMPAT	2 hpuxstty stty
5855865Smckusick32	COMPAT	2 hpuxgtty gtty
5963438Sbostic33	STD	2 access
6055865Smckusick34	COMPAT	1 hpuxnice nice
6155865Smckusick35	COMPAT	1 hpuxftime ftime
6255865Smckusick36	STD	0 sync
6355865Smckusick37	STD	2 hpuxkill kill
6455865Smckusick38	STD	2 hpuxstat stat
6555865Smckusick39	COMPAT	1 hpuxsetpgrp setpgrp
6655865Smckusick40	STD	2 hpuxlstat lstat
6755865Smckusick41	STD	1 hpuxdup dup
6855865Smckusick42	STD	0 pipe
6955865Smckusick43	COMPAT	1 hpuxtimes times
7055865Smckusick44	STD	4 profil
7155865Smckusick45	NOTIMPL	4 ki_syscall
7255865Smckusick46	STD	1 setgid
7355865Smckusick47	STD	0 getgid
7455865Smckusick48	COMPAT	2 hpuxssig ssig
7555865Smckusick49	UNIMPL	0 reserved for USG
7655865Smckusick50	UNIMPL	0 reserved for USG
7755865Smckusick51	NOTIMPL	1 acct
7855865Smckusick52	UNIMPL	0 nosys
7955865Smckusick53	UNIMPL	0 nosys
8055865Smckusick54	STD	3 hpuxioctl ioctl
8155865Smckusick55	NOTIMPL	4 reboot
8255865Smckusick56	STD	2 symlink
8355865Smckusick57	STD	3 hpuxutssys utssys
8455865Smckusick58	STD	3 readlink
8555865Smckusick59	STD	3 execve
8655865Smckusick60	STD	1 umask
8755865Smckusick61	STD	1 chroot
8855865Smckusick62	STD	3 hpuxfcntl fcntl
8955865Smckusick63	STD	2 hpuxulimit ulimit
9055865Smckusick64	UNIMPL	0 nosys
9155865Smckusick65	UNIMPL	0 nosys
9264480Shibler66	STD	0 hpuxvfork vfork
9355865Smckusick67	STD	0 hpuxread vread
9455865Smckusick68	STD	0 hpuxwrite vwrite
9555865Smckusick69	UNIMPL	0 nosys
9655865Smckusick70	UNIMPL	0 nosys
9757307Shibler71	STD	6 hpuxmmap mmap
9855865Smckusick72	UNIMPL	0 nosys
9966026Shibler73	STD	2 munmap
10055865Smckusick74	NOTIMPL	3 mprotect
10155865Smckusick75	UNIMPL	0 nosys
10255865Smckusick76	UNIMPL	0 nosys
10355865Smckusick77	UNIMPL	0 nosys
10455865Smckusick78	UNIMPL	0 nosys
10555865Smckusick79	STD	2 getgroups
10655865Smckusick80	STD	2 setgroups
10755865Smckusick81	STD	1 hpuxgetpgrp2 getpgrp2
10855865Smckusick82	STD	2 hpuxsetpgrp2 setpgrp2
10955865Smckusick83	STD	3 setitimer
11055865Smckusick84	STD	3 hpuxwait3 wait3
11155865Smckusick85	NOTIMPL	5 swapon
11255865Smckusick86	STD	2 getitimer
11355865Smckusick87	UNIMPL	0 nosys
11455865Smckusick88	UNIMPL	0 nosys
11555865Smckusick89	UNIMPL	0 nosys
11655865Smckusick90	STD	2 dup2
11755865Smckusick91	UNIMPL	0 nosys
11855865Smckusick92	STD	2 hpuxfstat fstat
11955865Smckusick93	STD	5 select
12055865Smckusick94	UNIMPL	0 nosys
12155865Smckusick95	STD	1 fsync
12255865Smckusick96	UNIMPL	0 nosys
12355865Smckusick97	UNIMPL	3 nosys
12455865Smckusick98	UNIMPL	2 nosys
12555865Smckusick99	UNIMPL	2 nosys
12655865Smckusick100	UNIMPL	0 nosys
12755865Smckusick101	UNIMPL	0 nosys
12855865Smckusick102	UNIMPL	0 nosys
12955865Smckusick103	STD	1 sigreturn
13055865Smckusick104	UNIMPL	2 nosys
13155865Smckusick105	UNIMPL	0 nosys
13255865Smckusick106	UNIMPL	0 nosys
13355865Smckusick107	UNIMPL	0 nosys
13455865Smckusick108	STD	3 hpuxsigvec sigvec
13555865Smckusick109	STD	1 hpuxsigblock sigblock
13655865Smckusick110	STD	1 hpuxsigsetmask sigsetmask
13755865Smckusick111	STD	1 hpuxsigpause sigpause
138*68377Scgd112	STD	2 compat_43_sigstack
13955865Smckusick113	UNIMPL	0 nosys
14055865Smckusick114	UNIMPL	0 nosys
14155865Smckusick115	UNIMPL	0 nosys
14255865Smckusick116	STD	2 gettimeofday
14355865Smckusick117	UNIMPL	0 nosys
14455865Smckusick118	UNIMPL	0 nosys
14555865Smckusick119	NOTIMPL	3 hpib_io_stub
14655865Smckusick120	STD	3 hpuxreadv readv
14755865Smckusick121	STD	3 hpuxwritev writev
14855865Smckusick122	STD	2 settimeofday
14955865Smckusick123	STD	3 fchown
15055865Smckusick124	STD	2 fchmod
15155865Smckusick125	UNIMPL	0 nosys
15255865Smckusick126	STD	3 hpuxsetresuid setresuid
15355865Smckusick127	STD	3 hpuxsetresgid setresgid
15455865Smckusick128	STD	2 rename
15560111Smckusick129	COMPAT	2 truncate
15660111Smckusick130	COMPAT	2 ftruncate
15755865Smckusick131	UNIMPL	0 nosys
15855865Smckusick132	STD	1 hpuxsysconf sysconf
15955865Smckusick133	UNIMPL	0 nosys
16055865Smckusick134	UNIMPL	0 nosys
16155865Smckusick135	UNIMPL	0 nosys
16255865Smckusick136	STD	2 mkdir
16355865Smckusick137	STD	1 rmdir
16455865Smckusick138	UNIMPL	0 nosys
16555865Smckusick139	UNIMPL	0 nosys
16655865Smckusick140	UNIMPL	0 nosys
16755865Smckusick141	UNIMPL	0 nosys
16855865Smckusick142	UNIMPL	0 nosys
16955865Smckusick143	UNIMPL	0 nosys
17060111Smckusick144	COMPAT	2 getrlimit
17160111Smckusick145	COMPAT	2 setrlimit
17255865Smckusick146	UNIMPL	0 nosys
17355865Smckusick147	UNIMPL	0 nosys
17455865Smckusick148	UNIMPL	0 nosys
17555865Smckusick149	UNIMPL	0 nosys
17655865Smckusick150	UNIMPL	0 nosys
17755865Smckusick151	NOTIMPL	3 privgrp
17855865Smckusick152	STD	2 hpuxrtprio rtprio
17955865Smckusick153	NOTIMPL	1 plock
18055865Smckusick154	STD	2 hpuxnetioctl netioctl
18155865Smckusick155	STD	4 hpuxlockf lockf
18255865Smckusick156	STD	3 hpuxsemget semget
18355865Smckusick157	STD	4 hpuxsemctl semctl
18455865Smckusick158	STD	3 hpuxsemop semop
18555865Smckusick159	NOTIMPL	2 msgget
18655865Smckusick160	NOTIMPL	3 msgctl
18755865Smckusick161	NOTIMPL	4 msgsnd
18855865Smckusick162	NOTIMPL	5 msgrcv
18955865Smckusick#ifdef SYSVSHM
19055865Smckusick163	STD	3 hpuxshmget shmget
19155865Smckusick164	STD	3 hpuxshmctl shmctl
19255865Smckusick165	STD	3 hpuxshmat shmat
19355865Smckusick166	STD	1 hpuxshmdt shmdt
19455865Smckusick#else
19555865Smckusick163	NOTIMPL	3 shmget
19655865Smckusick164	NOTIMPL	3 shmctl
19755865Smckusick165	NOTIMPL	3 shmat
19855865Smckusick166	NOTIMPL	1 shmdt
19955865Smckusick#endif
20055865Smckusick167	STD	1 hpuxadvise m68020_advise
20155865Smckusick168	NOTIMPL	2 nsp_init
20255865Smckusick169	NOTIMPL	3 cluster
20355865Smckusick170	NOTIMPL	4 mkrnod
20455865Smckusick171	UNIMPL	0 nosys
20555865Smckusick172	NOTIMPL	0 unsp_open
20655865Smckusick173	UNIMPL	0 nosys
20755865Smckusick174	STD	3 hpuxgetcontext getcontext
20855865Smckusick175	UNIMPL	0 nosys
20955865Smckusick176	UNIMPL	0 nosys
21055865Smckusick177	UNIMPL	0 nosys
21155865Smckusick178	NOTIMPL	0 lsync
21255865Smckusick179	UNIMPL	0 nosys
21355865Smckusick180	NOTIMPL	0 mysite
21455865Smckusick181	NOTIMPL	1 sitels
21555865Smckusick182	UNIMPL	0 nosys
21655865Smckusick183	UNIMPL	0 nosys
21755865Smckusick184	NOTIMPL	4 dskless_stats
21855865Smckusick185	UNIMPL	0 nosys
21955865Smckusick186	NOTIMPL	3 setacl
22055865Smckusick187	NOTIMPL	3 fsetacl
22155865Smckusick188	NOTIMPL	3 getacl
22255865Smckusick189	NOTIMPL	3 fgetacl
22355865Smckusick190	STD	6 hpuxgetaccess getaccess
22455865Smckusick191	NOTIMPL	0 getaudid
22555865Smckusick192	NOTIMPL	1 setaudid
22655865Smckusick193	NOTIMPL	0 getaudproc
22755865Smckusick194	NOTIMPL	1 setaudproc
22855865Smckusick195	NOTIMPL	2 getevent
22955865Smckusick196	NOTIMPL	2 setevent
23055865Smckusick197	NOTIMPL	1 audwrite
23155865Smckusick198	NOTIMPL	1 audswitch
23255865Smckusick199	NOTIMPL	4 audctl
23355865Smckusick200	STD	3 hpuxwaitpid waitpid
23455865Smckusick201	UNIMPL	0 nosys
23555865Smckusick202	UNIMPL	0 nosys
23655865Smckusick203	UNIMPL	6 nosys
23755865Smckusick204	UNIMPL	0 nosys
23855865Smckusick205	UNIMPL	0 nosys
23955865Smckusick206	UNIMPL	9 nosys
24055865Smckusick207	UNIMPL	0 nosys
24155865Smckusick208	UNIMPL	0 nosys
24255865Smckusick209	UNIMPL	6 nosys
24355865Smckusick210	UNIMPL	5 nosys
24455865Smckusick211	UNIMPL	0 nosys
24555865Smckusick212	UNIMPL	0 nosys
24655865Smckusick213	UNIMPL	0 nosys
24755865Smckusick214	UNIMPL	0 nosys
24855865Smckusick215	UNIMPL	0 nosys
24955865Smckusick216	UNIMPL	0 nosys
25055865Smckusick217	UNIMPL	0 nosys
25155865Smckusick218	UNIMPL	0 nosys
25255865Smckusick219	UNIMPL	0 nosys
25355865Smckusick220	UNIMPL	4 nosys
25455865Smckusick221	UNIMPL	10 nosys
25555865Smckusick222	UNIMPL	0 nosys
25655865Smckusick223	UNIMPL	0 nosys
25755865Smckusick224	UNIMPL	0 nosys
25855865Smckusick225	NOTIMPL	2 pathconf
25955865Smckusick226	NOTIMPL	2 fpathconf
26055865Smckusick227	UNIMPL	0 nosys
26155865Smckusick228	UNIMPL	0 nosys
26255865Smckusick229	NOTIMPL	0 async_daemon
26355865Smckusick230	NOTIMPL	3 nfs_fcntl
26455865Smckusick231	STD	4 getdirentries
26555865Smckusick232	STD	2 hpuxgetdomainname getdomainname
26655865Smckusick233	NOTIMPL	2 nfs_getfh
26755865Smckusick234	NOTIMPL	4 vfsmount
26855865Smckusick235	NOTIMPL	1 nfs_svc
26955865Smckusick236	STD	2 hpuxsetdomainname setdomainname
27055865Smckusick237	NOTIMPL	2 statfs
27155865Smckusick238	NOTIMPL	2 fstatfs
27255865Smckusick239	STD	3 hpuxsigaction sigaction
27355865Smckusick240	STD	3 hpuxsigprocmask sigprocmask
27455865Smckusick241	STD	1 hpuxsigpending sigpending
27555865Smckusick242	STD	1 hpuxsigsuspend sigsuspend
27655865Smckusick243	NOTIMPL	4 fsctl
27755865Smckusick244	UNIMPL	0 nosys
27855865Smckusick245	NOTIMPL	3 pstat
27957307Shibler246	UNIMPL	0 nosys
28057307Shibler247	UNIMPL	0 nosys
28157307Shibler248	UNIMPL	0 nosys
28257307Shibler249	UNIMPL	0 nosys
28357307Shibler250	UNIMPL	0 nosys
28457307Shibler251	UNIMPL	0 nosys
28557307Shibler252	UNIMPL	0 nosys
28657307Shibler253	UNIMPL	0 nosys
28757307Shibler254	UNIMPL	0 nosys
28857307Shibler255	UNIMPL	0 nosys
28957307Shibler256	UNIMPL	0 nosys
29057307Shibler257	UNIMPL	0 nosys
29157307Shibler258	UNIMPL	0 nosys
29257307Shibler259	UNIMPL	0 nosys
29357307Shibler260	UNIMPL	0 nosys
29457307Shibler261	UNIMPL	0 nosys
29557307Shibler262	UNIMPL	0 nosys
29657307Shibler263	UNIMPL	0 nosys
29757307Shibler264	UNIMPL	0 nosys
29857307Shibler265	UNIMPL	0 nosys
29957307Shibler266	UNIMPL	0 nosys
30057307Shibler267	UNIMPL	0 nosys
30157307Shibler268	STD	0 getdtablesize getnumfds
30257307Shibler269	UNIMPL	0 nosys
30357307Shibler270	UNIMPL	0 nosys
30457307Shibler271	UNIMPL	0 nosys
30564480Shibler272	STD	1 fchdir
30657307Shibler273	UNIMPL	0 nosys
30757307Shibler274	UNIMPL	0 nosys
30857307Shibler275	COMPAT	3 accept
30957307Shibler276	STD	3 bind
31057307Shibler277	STD	3 connect
31157307Shibler278	COMPAT	3 getpeername
31257307Shibler279	COMPAT	3 getsockname
31357307Shibler280	STD	5 getsockopt
31457307Shibler281	STD	2 listen
31557307Shibler282	COMPAT	4 recv
31657307Shibler283	COMPAT	6 recvfrom
31757307Shibler284	COMPAT	3 recvmsg
31857307Shibler285	COMPAT	4 send
31957307Shibler286	COMPAT	3 sendmsg
32057307Shibler287	STD	6 sendto
32157307Shibler288	STD	5 hpuxsetsockopt2 setsockopt2
32257307Shibler289	STD	2 shutdown
32357307Shibler290	STD	3 socket
32457307Shibler291	STD	4 socketpair
32564480Shibler292	UNIMPL	0 nosys
32664480Shibler293	UNIMPL	0 nosys
32764480Shibler294	UNIMPL	0 nosys
32864480Shibler295	UNIMPL	0 nosys
32964480Shibler296	UNIMPL	0 nosys
33064480Shibler297	UNIMPL	0 nosys
33164480Shibler298	UNIMPL	0 nosys
33264480Shibler299	UNIMPL	0 nosys
33364480Shibler300	UNIMPL	0 nosys
33464480Shibler301	UNIMPL	0 nosys
33564480Shibler302	UNIMPL	0 nosys
33664480Shibler303	UNIMPL	0 nosys
33764480Shibler304	UNIMPL	0 nosys
33864480Shibler305	UNIMPL	0 nosys
33964480Shibler306	UNIMPL	0 nosys
34064480Shibler307	UNIMPL	0 nosys
34164480Shibler308	UNIMPL	0 nosys
34264480Shibler309	UNIMPL	0 nosys
34364480Shibler310	UNIMPL	0 nosys
34464480Shibler311	UNIMPL	0 nosys
34564480Shibler312	STD	4 hpuxsemctl nsemctl
34664480Shibler313	NOTIMPL	3 msgctl
34764480Shibler#ifdef SYSVSHM
34864480Shibler314	STD	3 hpuxnshmctl nshmctl
34964480Shibler#else
35064480Shibler314	NOTIMPL	3 nshmctl
35164480Shibler#endif
352