1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)syscall.h	5.4.11 (2.11BSD) 2000/2/20
   7:  */
   8: 
   9: /*
  10:  * DO NOT place any comments on the same line as a SYS_* definition.  This
  11:  * causes cpp to leave a trailing tab when expanding macros in pdp/sys/SYS.h
  12: */
  13: 
  14: #define SYS_exit    1
  15: #define SYS_fork    2
  16: #define SYS_read    3
  17: #define SYS_write   4
  18: #define SYS_open    5
  19: #define SYS_close   6
  20: #define SYS_wait4   7
  21:                 /* 8 is old; creat */
  22: #define SYS_link    9
  23: #define SYS_unlink  10
  24: #define SYS_execv   11
  25: #define SYS_chdir   12
  26: #define SYS_fchdir  13
  27: #define SYS_mknod   14
  28: #define SYS_chmod   15
  29: #define SYS_chown   16
  30: #define SYS_chflags 17
  31: #define SYS_fchflags    18
  32: #define SYS_lseek   19
  33: #define SYS_getpid  20
  34: #define SYS_mount   21
  35: #define SYS_umount  22
  36: #define SYS___sysctl    23
  37: #define SYS_getuid  24
  38: #define SYS_geteuid 25
  39: #define SYS_ptrace  26
  40: #define SYS_getppid 27
  41: #define SYS_statfs  28
  42: #define SYS_fstatfs 29
  43: #define SYS_getfsstat   30
  44: #define SYS_sigaction   31
  45: #define SYS_sigprocmask 32
  46: #define SYS_access  33
  47: #define SYS_sigpending  34
  48: #define SYS_sigaltstack 35
  49: #define SYS_sync    36
  50: #define SYS_kill    37
  51: #define SYS_stat    38
  52: #define SYS__getlogin   39
  53: #define SYS_lstat   40
  54: #define SYS_dup     41
  55: #define SYS_pipe    42
  56: #define SYS_setlogin    43
  57: #define SYS_profil  44
  58: #define SYS_setuid  45
  59: #define SYS_seteuid 46
  60: #define SYS_getgid  47
  61: #define SYS_getegid 48
  62: #define SYS_setgid  49
  63: #define SYS_setegid 50
  64:                 /* 51 is old; acct */
  65: #define SYS_phys    52
  66: #define SYS_lock    53
  67: #define SYS_ioctl   54
  68: #define SYS_reboot  55
  69: #define SYS_sigwait 56
  70: #define SYS_symlink 57
  71: #define SYS_readlink    58
  72: #define SYS_execve  59
  73: #define SYS_umask   60
  74: #define SYS_chroot  61
  75: #define SYS_fstat   62
  76:                 /* 63 is unused */
  77:                 /* 64 is old; getpagesize */
  78: #define SYS_pselect 65
  79: #define SYS_vfork   66
  80:                 /* 67 is old; vread */
  81:                 /* 68 is old; vwrite */
  82: #define SYS_sbrk    69
  83: #define SYS_sstk    70
  84:                 /* 71 is unused 4.3: mmap */
  85:                 /* 72 is unused 4.3: vadvise */
  86:                 /* 73 is unused 4.3: munmap */
  87:                 /* 74 is unused 4.3: mprotect */
  88:                 /* 75 is unused 4.3: madvise */
  89: #define SYS_vhangup 76
  90:                 /* 77 is old; vlimit */
  91:                 /* 78 is unused 4.3: mincore */
  92: #define SYS_getgroups   79
  93: #define SYS_setgroups   80
  94: #define SYS_getpgrp 81
  95: #define SYS_setpgrp 82
  96: #define SYS_setitimer   83
  97:                 /* 84 is old; wait,wait3 */
  98: #define SYS_swapon  85
  99: #define SYS_getitimer   86
 100:                 /* 87 is old; gethostname */
 101:                 /* 88 is old; sethostname */
 102: #define SYS_getdtablesize 89
 103: #define SYS_dup2    90
 104:                 /* 91 is unused 4.3: getdopt */
 105: #define SYS_fcntl   92
 106: #define SYS_select  93
 107:                 /* 94 is unused 4.3: setdopt */
 108: #define SYS_fsync   95
 109: #define SYS_setpriority 96
 110: #define SYS_socket  97
 111: #define SYS_connect 98
 112: #define SYS_accept  99
 113: #define SYS_getpriority 100
 114: #define SYS_send    101
 115: #define SYS_recv    102
 116: #define SYS_sigreturn   103
 117: #define SYS_bind    104
 118: #define SYS_setsockopt  105
 119: #define SYS_listen  106
 120: #define SYS_sigsuspend  107
 121: /*
 122:  * 108 thru 112 are 4.3BSD compatibility syscalls.  sigstack has to remain
 123:  * defined because no replacement routine exists.  Sigh.
 124: */
 125:                 /* 108 is old; sigvec */
 126:                 /* 109 is old; sigblock */
 127:                 /* 110 is old; sigsetmask */
 128:                 /* 111 is old; sigpause */
 129: #define SYS_sigstack    112
 130: 
 131: #define SYS_recvmsg 113
 132: #define SYS_sendmsg 114
 133:                 /* 115 is old; vtrace */
 134: #define SYS_gettimeofday 116
 135: #define SYS_getrusage   117
 136: #define SYS_getsockopt  118
 137:                 /* 119 is old; resuba */
 138: #define SYS_readv   120
 139: #define SYS_writev  121
 140: #define SYS_settimeofday 122
 141: #define SYS_fchown  123
 142: #define SYS_fchmod  124
 143: #define SYS_recvfrom    125
 144:                 /* 126 is old; setreuid */
 145:                 /* 127 is old; setregid */
 146: #define SYS_rename  128
 147: #define SYS_truncate    129
 148: #define SYS_ftruncate   130
 149: #define SYS_flock   131
 150:                 /* 132 is unused */
 151: #define SYS_sendto  133
 152: #define SYS_shutdown    134
 153: #define SYS_socketpair  135
 154: #define SYS_mkdir   136
 155: #define SYS_rmdir   137
 156: #define SYS_utimes  138
 157:                 /* 139 is unused */
 158: #define SYS_adjtime 140
 159: #define SYS_getpeername 141
 160:                 /* 142 is old; gethostid */
 161:                 /* 143 is old; sethostid */
 162: #define SYS_getrlimit   144
 163: #define SYS_setrlimit   145
 164: #define SYS_killpg  146
 165:                 /* 147 is unused */
 166: #define SYS_setquota    148
 167: #define SYS_quota   149
 168: #define SYS_getsockname 150
 169: 
 170: /*
 171:  * 2BSD special calls
 172:  */
 173:                 /* 151 is unused */
 174: #define SYS_nostk   152
 175: #define SYS_fetchi  153
 176: #define SYS_ucall   154
 177: #define SYS_fperr   155

Defined macros

SYS___sysctl defined in line 36; never used
SYS__getlogin defined in line 52; never used
SYS_accept defined in line 112; never used
SYS_access defined in line 46; never used
SYS_adjtime defined in line 158; never used
SYS_bind defined in line 117; never used
SYS_chdir defined in line 25; never used
SYS_chflags defined in line 30; never used
SYS_chmod defined in line 28; never used
SYS_chown defined in line 29; never used
SYS_chroot defined in line 74; never used
SYS_close defined in line 19; never used
SYS_connect defined in line 111; never used
SYS_dup defined in line 54; never used
SYS_dup2 defined in line 103; never used
SYS_execv defined in line 24; used 1 times
SYS_execve defined in line 72; never used
SYS_exit defined in line 14; used 1 times
SYS_fchdir defined in line 26; never used
SYS_fchflags defined in line 31; never used
SYS_fchmod defined in line 142; never used
SYS_fchown defined in line 141; never used
SYS_fcntl defined in line 105; never used
SYS_fetchi defined in line 175; never used
SYS_flock defined in line 149; never used
SYS_fork defined in line 15; never used
SYS_fperr defined in line 177; never used
SYS_fstat defined in line 75; never used
SYS_fstatfs defined in line 42; never used
SYS_fsync defined in line 108; never used
SYS_ftruncate defined in line 148; never used
SYS_getdtablesize defined in line 102; never used
SYS_getegid defined in line 61; never used
SYS_geteuid defined in line 38; never used
SYS_getfsstat defined in line 43; never used
SYS_getgid defined in line 60; never used
SYS_getgroups defined in line 92; never used
SYS_getitimer defined in line 99; never used
SYS_getpeername defined in line 159; never used
SYS_getpgrp defined in line 94; never used
SYS_getpid defined in line 33; never used
SYS_getppid defined in line 40; never used
SYS_getpriority defined in line 113; never used
SYS_getrlimit defined in line 162; never used
SYS_getrusage defined in line 135; never used
SYS_getsockname defined in line 168; never used
SYS_getsockopt defined in line 136; never used
SYS_gettimeofday defined in line 134; never used
SYS_getuid defined in line 37; never used
SYS_ioctl defined in line 67; never used
SYS_kill defined in line 50; never used
SYS_killpg defined in line 164; never used
SYS_link defined in line 22; never used
SYS_listen defined in line 119; never used
SYS_lock defined in line 66; never used
SYS_lseek defined in line 32; never used
SYS_lstat defined in line 53; never used
SYS_mkdir defined in line 154; never used
SYS_mknod defined in line 27; never used
SYS_mount defined in line 34; never used
SYS_nostk defined in line 174; never used
SYS_open defined in line 18; never used
SYS_phys defined in line 65; never used
SYS_pipe defined in line 55; never used
SYS_profil defined in line 57; never used
SYS_pselect defined in line 78; never used
SYS_ptrace defined in line 39; never used
SYS_quota defined in line 167; never used
SYS_read defined in line 16; never used
SYS_readlink defined in line 71; never used
SYS_readv defined in line 138; never used
SYS_reboot defined in line 68; never used
SYS_recv defined in line 115; never used
SYS_recvfrom defined in line 143; never used
SYS_recvmsg defined in line 131; never used
SYS_rename defined in line 146; never used
SYS_rmdir defined in line 155; never used
SYS_sbrk defined in line 82; never used
SYS_select defined in line 106; never used
SYS_send defined in line 114; never used
SYS_sendmsg defined in line 132; never used
SYS_sendto defined in line 151; never used
SYS_setegid defined in line 63; never used
SYS_seteuid defined in line 59; never used
SYS_setgid defined in line 62; never used
SYS_setgroups defined in line 93; never used
SYS_setitimer defined in line 96; never used
SYS_setlogin defined in line 56; never used
SYS_setpgrp defined in line 95; never used
SYS_setpriority defined in line 109; never used
SYS_setquota defined in line 166; never used
SYS_setrlimit defined in line 163; never used
SYS_setsockopt defined in line 118; never used
SYS_settimeofday defined in line 140; never used
SYS_setuid defined in line 58; never used
SYS_shutdown defined in line 152; never used
SYS_sigaction defined in line 44; never used
SYS_sigaltstack defined in line 48; never used
SYS_sigpending defined in line 47; never used
SYS_sigprocmask defined in line 45; never used
SYS_sigreturn defined in line 116; never used
SYS_sigstack defined in line 129; never used
SYS_sigsuspend defined in line 120; never used
SYS_sigwait defined in line 69; never used
SYS_socket defined in line 110; never used
SYS_socketpair defined in line 153; never used
SYS_sstk defined in line 83; never used
SYS_stat defined in line 51; never used
SYS_statfs defined in line 41; never used
SYS_swapon defined in line 98; never used
SYS_symlink defined in line 70; never used
SYS_sync defined in line 49; never used
SYS_truncate defined in line 147; never used
SYS_ucall defined in line 176; never used
SYS_umask defined in line 73; never used
SYS_umount defined in line 35; never used
SYS_unlink defined in line 23; never used
SYS_utimes defined in line 156; never used
SYS_vfork defined in line 79; never used
SYS_vhangup defined in line 89; never used
SYS_wait4 defined in line 20; never used
SYS_write defined in line 17; never used
SYS_writev defined in line 139; never used

Usage of this include

Last modified: 2000-02-29
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 4265
Valid CSS Valid XHTML 1.0 Strict