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 (Berkeley) 4/3/86
   7:  */
   8: 
   9: #define SYS_exit    1
  10: #define SYS_fork    2
  11: #define SYS_read    3
  12: #define SYS_write   4
  13: #define SYS_open    5
  14: #define SYS_close   6
  15:                 /*  7 is old: wait */
  16: #define SYS_creat   8
  17: #define SYS_link    9
  18: #define SYS_unlink  10
  19: #define SYS_execv   11
  20: #define SYS_chdir   12
  21:                 /* 13 is old: time */
  22: #define SYS_mknod   14
  23: #define SYS_chmod   15
  24: #define SYS_chown   16
  25:                 /* 17 is old: sbreak */
  26:                 /* 18 is old: stat */
  27: #define SYS_lseek   19
  28: #define SYS_getpid  20
  29: #define SYS_mount   21
  30: #define SYS_umount  22
  31:                 /* 23 is old: setuid */
  32: #define SYS_getuid  24
  33:                 /* 25 is old: stime */
  34: #define SYS_ptrace  26
  35:                 /* 27 is old: alarm */
  36:                 /* 28 is old: fstat */
  37:                 /* 29 is old: pause */
  38:                 /* 30 is old: utime */
  39:                 /* 31 is old: stty */
  40:                 /* 32 is old: gtty */
  41: #define SYS_access  33
  42:                 /* 34 is old: nice */
  43:                 /* 35 is old: ftime */
  44: #define SYS_sync    36
  45: #define SYS_kill    37
  46: #define SYS_stat    38
  47:                 /* 39 is old: setpgrp */
  48: #define SYS_lstat   40
  49: #define SYS_dup     41
  50: #define SYS_pipe    42
  51:                 /* 43 is old: times */
  52: #define SYS_profil  44
  53:                 /* 45 is unused */
  54:                 /* 46 is old: setgid */
  55: #define SYS_getgid  47
  56:                 /* 48 is old: sigsys */
  57:                 /* 49 is unused */
  58:                 /* 50 is unused */
  59: #define SYS_acct    51
  60:                 /* 52 is old: phys */
  61:                 /* 53 is old: syslock */
  62: #define SYS_ioctl   54
  63: #define SYS_reboot  55
  64:                 /* 56 is old: mpxchan */
  65: #define SYS_symlink 57
  66: #define SYS_readlink    58
  67: #define SYS_execve  59
  68: #define SYS_umask   60
  69: #define SYS_chroot  61
  70: #define SYS_fstat   62
  71:                 /* 63 is unused */
  72: #define SYS_getpagesize 64
  73: #define SYS_mremap  65
  74:                 /* 66 is old: vfork */
  75:                 /* 67 is old: vread */
  76:                 /* 68 is old: vwrite */
  77: #define SYS_sbrk    69
  78: #define SYS_sstk    70
  79: #define SYS_mmap    71
  80:                 /* 72 is old: vadvise */
  81: #define SYS_munmap  73
  82: #define SYS_mprotect    74
  83: #define SYS_madvise 75
  84: #define SYS_vhangup 76
  85:                 /* 77 is old: vlimit */
  86: #define SYS_mincore 78
  87: #define SYS_getgroups   79
  88: #define SYS_setgroups   80
  89: #define SYS_getpgrp 81
  90: #define SYS_setpgrp 82
  91: #define SYS_setitimer   83
  92: #define SYS_wait    84
  93: #define SYS_swapon  85
  94: #define SYS_getitimer   86
  95: #define SYS_gethostname 87
  96: #define SYS_sethostname 88
  97: #define SYS_getdtablesize 89
  98: #define SYS_dup2    90
  99: #define SYS_getdopt 91
 100: #define SYS_fcntl   92
 101: #define SYS_select  93
 102: #define SYS_setdopt 94
 103: #define SYS_fsync   95
 104: #define SYS_setpriority 96
 105: #define SYS_socket  97
 106: #define SYS_connect 98
 107: #define SYS_accept  99
 108: #define SYS_getpriority 100
 109: #define SYS_send    101
 110: #define SYS_recv    102
 111: #define SYS_sigreturn   103
 112: #define SYS_bind    104
 113: #define SYS_setsockopt  105
 114: #define SYS_listen  106
 115:                 /* 107 was vtimes */
 116: #define SYS_sigvec  108
 117: #define SYS_sigblock    109
 118: #define SYS_sigsetmask  110
 119: #define SYS_sigpause    111
 120: #define SYS_sigstack    112
 121: #define SYS_recvmsg 113
 122: #define SYS_sendmsg 114
 123:                 /* 115 is old vtrace */
 124: #define SYS_gettimeofday 116
 125: #define SYS_getrusage   117
 126: #define SYS_getsockopt  118
 127:                 /* 119 is old resuba */
 128: #define SYS_readv   120
 129: #define SYS_writev  121
 130: #define SYS_settimeofday 122
 131: #define SYS_fchown  123
 132: #define SYS_fchmod  124
 133: #define SYS_recvfrom    125
 134: #define SYS_setreuid    126
 135: #define SYS_setregid    127
 136: #define SYS_rename  128
 137: #define SYS_truncate    129
 138: #define SYS_ftruncate   130
 139: #define SYS_flock   131
 140:                 /* 132 is unused */
 141: #define SYS_sendto  133
 142: #define SYS_shutdown    134
 143: #define SYS_socketpair  135
 144: #define SYS_mkdir   136
 145: #define SYS_rmdir   137
 146: #define SYS_utimes  138
 147:                 /* 139 is unused */
 148: #define SYS_adjtime 140
 149: #define SYS_getpeername 141
 150: #define SYS_gethostid   142
 151: #define SYS_sethostid   143
 152: #define SYS_getrlimit   144
 153: #define SYS_setrlimit   145
 154: #define SYS_killpg  146
 155:                 /* 147 is unused */
 156: #define SYS_setquota    148
 157: #define SYS_quota   149
 158: #define SYS_getsockname 150

Defined macros

SYS_accept defined in line 107; never used
SYS_access defined in line 41; never used
SYS_acct defined in line 59; never used
SYS_adjtime defined in line 148; never used
SYS_bind defined in line 112; never used
SYS_chdir defined in line 20; never used
SYS_chmod defined in line 23; never used
SYS_chown defined in line 24; never used
SYS_chroot defined in line 69; never used
SYS_close defined in line 14; never used
SYS_connect defined in line 106; never used
SYS_creat defined in line 16; never used
SYS_dup defined in line 49; never used
SYS_dup2 defined in line 98; never used
SYS_execv defined in line 19; never used
SYS_execve defined in line 67; never used
SYS_exit defined in line 9; never used
SYS_fchmod defined in line 132; never used
SYS_fchown defined in line 131; never used
SYS_fcntl defined in line 100; never used
SYS_flock defined in line 139; never used
SYS_fork defined in line 10; never used
SYS_fstat defined in line 70; never used
SYS_fsync defined in line 103; never used
SYS_ftruncate defined in line 138; never used
SYS_getdopt defined in line 99; never used
SYS_getdtablesize defined in line 97; never used
SYS_getgid defined in line 55; never used
SYS_getgroups defined in line 87; never used
SYS_gethostid defined in line 150; never used
SYS_gethostname defined in line 95; never used
SYS_getitimer defined in line 94; never used
SYS_getpagesize defined in line 72; never used
SYS_getpeername defined in line 149; never used
SYS_getpgrp defined in line 89; never used
SYS_getpid defined in line 28; never used
SYS_getpriority defined in line 108; never used
SYS_getrlimit defined in line 152; never used
SYS_getrusage defined in line 125; never used
SYS_getsockname defined in line 158; never used
SYS_getsockopt defined in line 126; never used
SYS_gettimeofday defined in line 124; never used
SYS_getuid defined in line 32; never used
SYS_ioctl defined in line 62; never used
SYS_kill defined in line 45; never used
SYS_killpg defined in line 154; never used
SYS_link defined in line 17; never used
SYS_listen defined in line 114; never used
SYS_lseek defined in line 27; never used
SYS_lstat defined in line 48; never used
SYS_madvise defined in line 83; never used
SYS_mincore defined in line 86; never used
SYS_mkdir defined in line 144; never used
SYS_mknod defined in line 22; never used
SYS_mmap defined in line 79; never used
SYS_mount defined in line 29; never used
SYS_mprotect defined in line 82; never used
SYS_mremap defined in line 73; never used
SYS_munmap defined in line 81; never used
SYS_open defined in line 13; never used
SYS_pipe defined in line 50; never used
SYS_profil defined in line 52; never used
SYS_ptrace defined in line 34; never used
SYS_quota defined in line 157; never used
SYS_read defined in line 11; never used
SYS_readlink defined in line 66; never used
SYS_readv defined in line 128; never used
SYS_reboot defined in line 63; never used
SYS_recv defined in line 110; never used
SYS_recvfrom defined in line 133; never used
SYS_recvmsg defined in line 121; never used
SYS_rename defined in line 136; never used
SYS_rmdir defined in line 145; never used
SYS_sbrk defined in line 77; never used
SYS_select defined in line 101; never used
SYS_send defined in line 109; never used
SYS_sendmsg defined in line 122; never used
SYS_sendto defined in line 141; never used
SYS_setdopt defined in line 102; never used
SYS_setgroups defined in line 88; never used
SYS_sethostid defined in line 151; never used
SYS_sethostname defined in line 96; never used
SYS_setitimer defined in line 91; never used
SYS_setpgrp defined in line 90; never used
SYS_setpriority defined in line 104; never used
SYS_setquota defined in line 156; never used
SYS_setregid defined in line 135; never used
SYS_setreuid defined in line 134; never used
SYS_setrlimit defined in line 153; never used
SYS_setsockopt defined in line 113; never used
SYS_settimeofday defined in line 130; never used
SYS_shutdown defined in line 142; never used
SYS_sigblock defined in line 117; never used
SYS_sigpause defined in line 119; never used
SYS_sigreturn defined in line 111; never used
SYS_sigsetmask defined in line 118; never used
SYS_sigstack defined in line 120; never used
SYS_sigvec defined in line 116; never used
SYS_socket defined in line 105; never used
SYS_socketpair defined in line 143; never used
SYS_sstk defined in line 78; never used
SYS_stat defined in line 46; never used
SYS_swapon defined in line 93; never used
SYS_symlink defined in line 65; never used
SYS_sync defined in line 44; never used
SYS_truncate defined in line 137; never used
SYS_umask defined in line 68; never used
SYS_umount defined in line 30; never used
SYS_unlink defined in line 18; never used
SYS_utimes defined in line 146; never used
SYS_vhangup defined in line 84; never used
SYS_wait defined in line 92; used 1 times
SYS_write defined in line 12; never used
SYS_writev defined in line 129; never used

Usage of this include

Last modified: 1986-04-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 750
Valid CSS Valid XHTML 1.0 Strict