1: /*
   2:  * Copyright (c) 1986 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:  *	@(#)syscalls.c	1.12 (2.11BSD) 2000/2/20
   7:  */
   8: 
   9: /*
  10:  * System call names.
  11:  */
  12: #ifndef pdp11
  13: char *syscallnames[] = {
  14:     "indir",        /*   0 = indir */
  15:     "exit",         /*   1 = exit */
  16:     "fork",         /*   2 = fork */
  17:     "read",         /*   3 = read */
  18:     "write",        /*   4 = write */
  19:     "open",         /*   5 = open */
  20:     "close",        /*   6 = close */
  21:     "wait4",        /*   7 = wait4 */
  22:     "#8",           /*   8 = (old creat) */
  23:     "link",         /*   9 = link */
  24:     "unlink",       /*  10 = unlink */
  25:     "execv",        /*  11 = execv */
  26:     "chdir",        /*  12 = chdir */
  27:     "fchdir",       /*  13 = fchdir */
  28:     "mknod",        /*  14 = mknod */
  29:     "chmod",        /*  15 = chmod */
  30:     "chown",        /*  16 = chown; now 3 args */
  31:     "chflags",      /*  17 = chflags */
  32:     "fchflags",     /*  18 = fchflags */
  33:     "lseek",        /*  19 = lseek */
  34:     "getpid",       /*  20 = getpid */
  35:     "mount",        /*  21 = mount */
  36:     "umount",       /*  22 = umount */
  37:     "__sysctl",     /*  23 = __sysctl */
  38:     "getuid",       /*  24 = getuid */
  39:     "geteuid",      /*  25 = geteuid */
  40:     "ptrace",       /*  26 = ptrace */
  41:     "getppid",      /*  27 = getppid */
  42:     "statfs",       /*  28 = statfs */
  43:     "fstatfs",      /*  29 = fstatfs */
  44:     "getfsstat",        /*  30 = getfsstat */
  45:     "sigaction",        /*  31 = sigaction */
  46:     "sigprocmask",      /*  32 = sigprocmask */
  47:     "access",       /*  33 = access */
  48:     "sigpending",       /*  34 = sigpending */
  49:     "sigaltstack",      /*  35 = sigaltstack */
  50:     "sync",         /*  36 = sync */
  51:     "kill",         /*  37 = kill */
  52:     "stat",         /*  38 = stat */
  53:     "getlogin",     /*  39 = getlogin */
  54:     "lstat",        /*  40 = lstat */
  55:     "dup",          /*  41 = dup */
  56:     "pipe",         /*  42 = pipe */
  57:     "setlogin",     /*  43 = setlogin */
  58:     "profil",       /*  44 = profil */
  59:     "setuid",       /*  45 = setuid */
  60:     "seteuid",      /*  46 = seteuid */
  61:     "getgid",       /*  47 = getgid */
  62:     "getegid",      /*  48 = getegid */
  63:     "setgid",       /*  49 = setgid */
  64:     "setegid",      /*  50 = setegid */
  65:     "#51",          /*  51 - unused */
  66:     "phys",         /*  52 = (2.9) set phys addr */
  67:     "lock",         /*  53 = (2.9) lock in core */
  68:     "ioctl",        /*  54 = ioctl */
  69:     "reboot",       /*  55 = reboot */
  70:     "sigwait",      /*  56 = sigwait */
  71:     "symlink",      /*  57 = symlink */
  72:     "readlink",     /*  58 = readlink */
  73:     "execve",       /*  59 = execve */
  74:     "umask",        /*  60 = umask */
  75:     "chroot",       /*  61 = chroot */
  76:     "fstat",        /*  62 = fstat */
  77:     "#63",          /*  63 = unused */
  78:     "#64",          /*  64 = (old getpagesize) */
  79:     "pselect",      /*  65 = pselect */
  80:     "vfork",        /*  66 = vfork */
  81:     "#67",          /*  67 = unused */
  82:     "#68",          /*  68 = unused */
  83:     "sbrk",         /*  69 = sbrk */
  84:     "#70",          /*  70 = unused */
  85:     "#71",          /*  71 = unused */
  86:     "#72",          /*  72 = unused */
  87:     "#73",          /*  73 = unused */
  88:     "#74",          /*  74 = unused */
  89:     "#75",          /*  75 = unused */
  90:     "vhangup",      /*  76 = vhangup */
  91:     "#77",          /*  77 = unused */
  92:     "#78",          /*  78 = unused */
  93:     "getgroups",        /*  79 = getgroups */
  94:     "setgroups",        /*  80 = setgroups */
  95:     "getpgrp",      /*  81 = getpgrp */
  96:     "setpgrp",      /*  82 = setpgrp */
  97:     "setitimer",        /*  83 = setitimer */
  98:     "old wait",     /*  84 = wait,wait3 COMPAT*/
  99:     "#85",          /*  85 = unused */
 100:     "getitimer",        /*  86 = getitimer */
 101:     "#87",          /*  87 = (old gethostname) */
 102:     "#88",          /*  88 = (old sethostname) */
 103:     "getdtablesize",    /*  89 = getdtablesize */
 104:     "dup2",         /*  90 = dup2 */
 105:     "#91",          /*  91 = unused */
 106:     "fcntl",        /*  92 = fcntl */
 107:     "select",       /*  93 = select */
 108:     "#94",          /*  94 = unused */
 109:     "fsync",        /*  95 = fsync */
 110:     "setpriority",      /*  96 = setpriority */
 111:     "socket",       /*  97 = socket */
 112:     "connect",      /*  98 = connect */
 113:     "accept",       /*  99 = accept */
 114:     "getpriority",      /* 100 = getpriority */
 115:     "send",         /* 101 = send */
 116:     "recv",         /* 102 = recv */
 117:     "sigreturn",        /* 103 = sigreturn */
 118:     "bind",         /* 104 = bind */
 119:     "setsockopt",       /* 105 = setsockopt */
 120:     "listen",       /* 106 = listen */
 121:     "sigsuspend",       /* 107 = sigsuspend */
 122:     "#108",         /* 108 = (old sigvec) */
 123:     "#109",         /* 109 = (old sigblock) */
 124:     "#110",         /* 110 = (old sigsetmask) */
 125:     "#111",         /* 111 = (old sigpause)  */
 126:     "sigstack",     /* 112 = sigstack COMPAT-43 */
 127:     "recvmsg",      /* 113 = recvmsg */
 128:     "sendmsg",      /* 114 = sendmsg */
 129:     "#115",         /* 115 = unused */
 130:     "gettimeofday",     /* 116 = gettimeofday */
 131:     "getrusage",        /* 117 = getrusage */
 132:     "getsockopt",       /* 118 = getsockopt */
 133:     "#119",         /* 119 = unused */
 134:     "readv",        /* 120 = readv */
 135:     "writev",       /* 121 = writev */
 136:     "settimeofday",     /* 122 = settimeofday */
 137:     "fchown",       /* 123 = fchown */
 138:     "fchmod",       /* 124 = fchmod */
 139:     "recvfrom",     /* 125 = recvfrom */
 140:     "#126",         /* 126 = (old setreuid) */
 141:     "#127",         /* 127 = (old setregid) */
 142:     "rename",       /* 128 = rename */
 143:     "truncate",     /* 129 = truncate */
 144:     "ftruncate",        /* 130 = ftruncate */
 145:     "flock",        /* 131 = flock */
 146:     "#132",         /* 132 = unused */
 147:     "sendto",       /* 133 = sendto */
 148:     "shutdown",     /* 134 = shutdown */
 149:     "socketpair",       /* 135 = socketpair */
 150:     "mkdir",        /* 136 = mkdir */
 151:     "rmdir",        /* 137 = rmdir */
 152:     "utimes",       /* 138 = utimes */
 153:     "#139",         /* 139 = unused */
 154:     "adjtime",      /* 140 = adjtime */
 155:     "getpeername",      /* 141 = getpeername */
 156:     "#142",         /* 142 = (old gethostid) */
 157:     "#143",         /* 143 = (old sethostid) */
 158:     "getrlimit",        /* 144 = getrlimit */
 159:     "setrlimit",        /* 145 = setrlimit */
 160:     "killpg",       /* 146 = killpg */
 161:     "#147",         /* 147 = unused */
 162:     "setquota",     /* 148 = setquota */
 163:     "quota",        /* 149 = quota */
 164:     "getsockname",      /* 150 = getsockname */
 165:     "#151",         /* 151 = unused */
 166:     "nostk",        /* 152 = nostk */
 167:     "fetchi",       /* 153 = fetchi */
 168:     "ucall",        /* 154 = ucall */
 169:     "fperr",        /* 155 = fperr */
 170: };
 171: #endif

Defined variables

syscallnames defined in line 13; never used
Last modified: 2000-02-29
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 873
Valid CSS Valid XHTML 1.0 Strict