1999-03-22 20:30:37 +03:00
|
|
|
/* $NetBSD: sunos_syscall.h,v 1.58 1999/03/22 17:30:38 sommerfe Exp $ */
|
1998-01-09 09:19:02 +03:00
|
|
|
|
1993-10-02 13:22:00 +03:00
|
|
|
/*
|
|
|
|
* System call numbers.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
1999-03-22 20:30:37 +03:00
|
|
|
* created from NetBSD: syscalls.master,v 1.52 1999/03/22 17:28:21 sommerfe Exp
|
1993-10-02 13:22:00 +03:00
|
|
|
*/
|
|
|
|
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "syscall" ret: "int" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_syscall 0
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "exit" ret: "int" args: "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_exit 1
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fork" ret: "int" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_fork 2
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_read 3
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_write 4
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1999-02-09 23:31:43 +03:00
|
|
|
/* syscall: "open" ret: "int" args: "const char *" "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_open 5
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "close" ret: "int" args: "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_close 6
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_wait4 7
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1999-02-09 23:31:43 +03:00
|
|
|
/* syscall: "creat" ret: "int" args: "const char *" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_creat 8
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "link" ret: "int" args: "char *" "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_link 9
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "unlink" ret: "int" args: "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_unlink 10
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1999-02-09 23:31:43 +03:00
|
|
|
/* syscall: "execv" ret: "int" args: "const char *" "char **" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_execv 11
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "chdir" ret: "int" args: "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_chdir 12
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1994-10-26 02:03:22 +03:00
|
|
|
/* 13 is obsolete time */
|
1999-02-09 23:31:43 +03:00
|
|
|
/* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_mknod 14
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "chmod" ret: "int" args: "char *" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_chmod 15
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_chown 16
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "break" ret: "int" args: "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_break 17
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1994-10-26 02:03:22 +03:00
|
|
|
/* 18 is obsolete stat */
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_lseek 19
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getpid" ret: "pid_t" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getpid 20
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1994-10-26 02:03:22 +03:00
|
|
|
/* 21 is obsolete sunos_old_mount */
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "setuid" ret: "int" args: "uid_t" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_setuid 23
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getuid" ret: "uid_t" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getuid 24
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "stime" ret: "int" args: "time_t *" */
|
1996-08-31 03:08:21 +04:00
|
|
|
#define SUNOS_SYS_stime 25
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "ptrace" ret: "long" args: "int" "pid_t" "caddr_t" "int" "char *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_ptrace 26
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1999-02-09 23:31:43 +03:00
|
|
|
/* syscall: "access" ret: "int" args: "const char *" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_access 33
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sync" ret: "int" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_sync 36
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "kill" ret: "int" args: "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_kill 37
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1999-02-09 23:31:43 +03:00
|
|
|
/* syscall: "stat" ret: "int" args: "const char *" "struct stat43 *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_stat 38
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1999-02-09 23:31:43 +03:00
|
|
|
/* syscall: "lstat" ret: "int" args: "const char *" "struct stat43 *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_lstat 40
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "dup" ret: "int" args: "u_int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_dup 41
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "pipe" ret: "int" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_pipe 42
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_profil 44
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setgid" ret: "int" args: "uid_t" */
|
1994-11-26 03:00:11 +03:00
|
|
|
#define SUNOS_SYS_setgid 46
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getgid" ret: "gid_t" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getgid 47
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "acct" ret: "int" args: "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_acct 51
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-19 22:48:57 +04:00
|
|
|
/* syscall: "mctl" ret: "int" args: "void *" "int" "int" "void *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_mctl 53
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_ioctl 54
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "reboot" ret: "int" args: "int" "char *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_reboot 55
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1994-10-26 02:03:22 +03:00
|
|
|
/* 56 is obsolete sunos_owait3 */
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "symlink" ret: "int" args: "char *" "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_symlink 57
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_readlink 58
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1999-02-09 23:31:43 +03:00
|
|
|
/* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_execve 59
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "umask" ret: "int" args: "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_umask 60
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "chroot" ret: "int" args: "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_chroot 61
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-17 04:02:49 +04:00
|
|
|
/* syscall: "fstat" ret: "int" args: "int" "struct stat43 *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_fstat 62
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getpagesize" ret: "int" args: */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_getpagesize 64
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "omsync" ret: "int" args: "caddr_t" "size_t" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_omsync 65
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "vfork" ret: "int" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_vfork 66
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1993-10-02 13:22:00 +03:00
|
|
|
/* 67 is obsolete vread */
|
|
|
|
/* 68 is obsolete vwrite */
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "sbrk" ret: "int" args: "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_sbrk 69
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sstk" ret: "int" args: "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_sstk 70
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-19 22:48:57 +04:00
|
|
|
/* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_mmap 71
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "vadvise" ret: "int" args: "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_vadvise 72
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-19 22:48:57 +04:00
|
|
|
/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_munmap 73
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-19 22:48:57 +04:00
|
|
|
/* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_mprotect 74
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-19 22:48:57 +04:00
|
|
|
/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_madvise 75
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "vhangup" ret: "int" args: */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_vhangup 76
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-19 22:48:57 +04:00
|
|
|
/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_mincore 78
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getgroups 79
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_setgroups 80
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getpgrp" ret: "int" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getpgrp 81
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setpgrp" ret: "int" args: "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_setpgrp 82
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_setitimer 83
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "swapon" ret: "int" args: "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_swapon 85
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getitimer 86
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_gethostname 87
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_sethostname 88
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getdtablesize" ret: "int" args: */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_getdtablesize 89
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_dup2 90
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_fcntl 92
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_select 93
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fsync" ret: "int" args: "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_fsync 95
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_setpriority 96
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_socket 97
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_connect 98
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "accept" ret: "int" args: "int" "caddr_t" "int *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_accept 99
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getpriority" ret: "int" args: "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getpriority 100
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_send 101
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_recv 102
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "bind" ret: "int" args: "int" "caddr_t" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_bind 104
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_setsockopt 105
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "listen" ret: "int" args: "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_listen 106
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_sigvec 108
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigblock" ret: "int" args: "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_sigblock 109
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigsetmask" ret: "int" args: "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_sigsetmask 110
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigsuspend" ret: "int" args: "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_sigsuspend 111
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_sigstack 112
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "recvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_recvmsg 113
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sendmsg" ret: "int" args: "int" "caddr_t" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_sendmsg 114
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1993-10-02 13:22:00 +03:00
|
|
|
/* 115 is obsolete vtrace */
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_gettimeofday 116
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getrusage 117
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getsockopt 118
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_readv 120
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_writev 121
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_settimeofday 122
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_fchown 123
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fchmod" ret: "int" args: "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_fchmod 124
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_recvfrom 125
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setreuid" ret: "int" args: "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_setreuid 126
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setregid" ret: "int" args: "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_setregid 127
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "rename" ret: "int" args: "char *" "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_rename 128
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "truncate" ret: "int" args: "char *" "long" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_truncate 129
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "ftruncate" ret: "int" args: "int" "long" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_ftruncate 130
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "flock" ret: "int" args: "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_flock 131
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_sendto 133
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "shutdown" ret: "int" args: "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_shutdown 134
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_socketpair 135
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_mkdir 136
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "rmdir" ret: "int" args: "char *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_rmdir 137
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_utimes 138
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_sigreturn 139
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_adjtime 140
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_getpeername 141
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "gethostid" ret: "int" args: */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_gethostid 142
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_getrlimit 144
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_setrlimit 145
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "killpg" ret: "int" args: "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_killpg 146
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_getsockname 150
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_poll 153
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "nfssvc" ret: "int" args: "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_nfssvc 155
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getdirentries 156
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1999-02-09 23:31:43 +03:00
|
|
|
/* syscall: "statfs" ret: "int" args: "const char *" "struct sunos_statfs *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_statfs 157
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fstatfs" ret: "int" args: "int" "struct sunos_statfs *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_fstatfs 158
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "unmount" ret: "int" args: "char *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_unmount 159
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "async_daemon" ret: "int" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_async_daemon 160
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getfh" ret: "int" args: "char *" "fhandle_t *" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_getfh 161
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getdomainname" ret: "int" args: "char *" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_getdomainname 162
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_setdomainname 163
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "quotactl" ret: "int" args: "int" "char *" "int" "caddr_t" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_quotactl 165
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "exportfs" ret: "int" args: "char *" "char *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_exportfs 166
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "mount" ret: "int" args: "char *" "char *" "int" "caddr_t" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_mount 167
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "ustat" ret: "int" args: "int" "struct sunos_ustat *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_ustat 168
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_semsys 169
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_msgsys 170
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_shmsys 171
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "auditsys" ret: "int" args: "char *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_auditsys 172
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getdents" ret: "int" args: "int" "char *" "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_getdents 174
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setsid" ret: "int" args: */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_setsid 175
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fchdir" ret: "int" args: "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_fchdir 176
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fchroot" ret: "int" args: "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_fchroot 177
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigpending" ret: "int" args: "int *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_sigpending 183
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setpgid" ret: "int" args: "int" "int" */
|
1994-10-26 02:03:22 +03:00
|
|
|
#define SUNOS_SYS_setpgid 185
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "pathconf" ret: "long" args: "char *" "int" */
|
1994-11-26 03:00:11 +03:00
|
|
|
#define SUNOS_SYS_pathconf 186
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fpathconf" ret: "long" args: "int" "int" */
|
1994-11-26 03:00:11 +03:00
|
|
|
#define SUNOS_SYS_fpathconf 187
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sysconf" ret: "int" args: "int" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_sysconf 188
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "uname" ret: "int" args: "struct sunos_utsname *" */
|
1995-10-07 09:41:34 +03:00
|
|
|
#define SUNOS_SYS_uname 189
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1995-04-22 23:48:19 +04:00
|
|
|
#define SUNOS_SYS_MAXSYSCALL 190
|