Home | History | Annotate | Download | only in syscall
      1 // mksysnum_darwin.pl /usr/include/sys/syscall.h
      2 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
      3 
      4 // +build arm,darwin
      5 
      6 package syscall
      7 
      8 const (
      9 	SYS_SYSCALL                   = 0
     10 	SYS_EXIT                      = 1
     11 	SYS_FORK                      = 2
     12 	SYS_READ                      = 3
     13 	SYS_WRITE                     = 4
     14 	SYS_OPEN                      = 5
     15 	SYS_CLOSE                     = 6
     16 	SYS_WAIT4                     = 7
     17 	SYS_LINK                      = 9
     18 	SYS_UNLINK                    = 10
     19 	SYS_CHDIR                     = 12
     20 	SYS_FCHDIR                    = 13
     21 	SYS_MKNOD                     = 14
     22 	SYS_CHMOD                     = 15
     23 	SYS_CHOWN                     = 16
     24 	SYS_OBREAK                    = 17
     25 	SYS_OGETFSSTAT                = 18
     26 	SYS_GETFSSTAT                 = 18
     27 	SYS_GETPID                    = 20
     28 	SYS_SETUID                    = 23
     29 	SYS_GETUID                    = 24
     30 	SYS_GETEUID                   = 25
     31 	SYS_PTRACE                    = 26
     32 	SYS_RECVMSG                   = 27
     33 	SYS_SENDMSG                   = 28
     34 	SYS_RECVFROM                  = 29
     35 	SYS_ACCEPT                    = 30
     36 	SYS_GETPEERNAME               = 31
     37 	SYS_GETSOCKNAME               = 32
     38 	SYS_ACCESS                    = 33
     39 	SYS_CHFLAGS                   = 34
     40 	SYS_FCHFLAGS                  = 35
     41 	SYS_SYNC                      = 36
     42 	SYS_KILL                      = 37
     43 	SYS_GETPPID                   = 39
     44 	SYS_DUP                       = 41
     45 	SYS_PIPE                      = 42
     46 	SYS_GETEGID                   = 43
     47 	SYS_PROFIL                    = 44
     48 	SYS_SIGACTION                 = 46
     49 	SYS_GETGID                    = 47
     50 	SYS_SIGPROCMASK               = 48
     51 	SYS_GETLOGIN                  = 49
     52 	SYS_SETLOGIN                  = 50
     53 	SYS_ACCT                      = 51
     54 	SYS_SIGPENDING                = 52
     55 	SYS_SIGALTSTACK               = 53
     56 	SYS_IOCTL                     = 54
     57 	SYS_REBOOT                    = 55
     58 	SYS_REVOKE                    = 56
     59 	SYS_SYMLINK                   = 57
     60 	SYS_READLINK                  = 58
     61 	SYS_EXECVE                    = 59
     62 	SYS_UMASK                     = 60
     63 	SYS_CHROOT                    = 61
     64 	SYS_MSYNC                     = 65
     65 	SYS_VFORK                     = 66
     66 	SYS_SBRK                      = 69
     67 	SYS_SSTK                      = 70
     68 	SYS_OVADVISE                  = 72
     69 	SYS_MUNMAP                    = 73
     70 	SYS_MPROTECT                  = 74
     71 	SYS_MADVISE                   = 75
     72 	SYS_MINCORE                   = 78
     73 	SYS_GETGROUPS                 = 79
     74 	SYS_SETGROUPS                 = 80
     75 	SYS_GETPGRP                   = 81
     76 	SYS_SETPGID                   = 82
     77 	SYS_SETITIMER                 = 83
     78 	SYS_SWAPON                    = 85
     79 	SYS_GETITIMER                 = 86
     80 	SYS_GETDTABLESIZE             = 89
     81 	SYS_DUP2                      = 90
     82 	SYS_FCNTL                     = 92
     83 	SYS_SELECT                    = 93
     84 	SYS_FSYNC                     = 95
     85 	SYS_SETPRIORITY               = 96
     86 	SYS_SOCKET                    = 97
     87 	SYS_CONNECT                   = 98
     88 	SYS_GETPRIORITY               = 100
     89 	SYS_BIND                      = 104
     90 	SYS_SETSOCKOPT                = 105
     91 	SYS_LISTEN                    = 106
     92 	SYS_SIGSUSPEND                = 111
     93 	SYS_GETTIMEOFDAY              = 116
     94 	SYS_GETRUSAGE                 = 117
     95 	SYS_GETSOCKOPT                = 118
     96 	SYS_READV                     = 120
     97 	SYS_WRITEV                    = 121
     98 	SYS_SETTIMEOFDAY              = 122
     99 	SYS_FCHOWN                    = 123
    100 	SYS_FCHMOD                    = 124
    101 	SYS_SETREUID                  = 126
    102 	SYS_SETREGID                  = 127
    103 	SYS_RENAME                    = 128
    104 	SYS_FLOCK                     = 131
    105 	SYS_MKFIFO                    = 132
    106 	SYS_SENDTO                    = 133
    107 	SYS_SHUTDOWN                  = 134
    108 	SYS_SOCKETPAIR                = 135
    109 	SYS_MKDIR                     = 136
    110 	SYS_RMDIR                     = 137
    111 	SYS_UTIMES                    = 138
    112 	SYS_FUTIMES                   = 139
    113 	SYS_ADJTIME                   = 140
    114 	SYS_GETHOSTUUID               = 142
    115 	SYS_SETSID                    = 147
    116 	SYS_GETPGID                   = 151
    117 	SYS_SETPRIVEXEC               = 152
    118 	SYS_PREAD                     = 153
    119 	SYS_PWRITE                    = 154
    120 	SYS_NFSSVC                    = 155
    121 	SYS_STATFS                    = 157
    122 	SYS_FSTATFS                   = 158
    123 	SYS_UNMOUNT                   = 159
    124 	SYS_GETFH                     = 161
    125 	SYS_QUOTACTL                  = 165
    126 	SYS_MOUNT                     = 167
    127 	SYS_CSOPS                     = 169
    128 	SYS_TABLE                     = 170
    129 	SYS_WAITID                    = 173
    130 	SYS_ADD_PROFIL                = 176
    131 	SYS_KDEBUG_TRACE              = 180
    132 	SYS_SETGID                    = 181
    133 	SYS_SETEGID                   = 182
    134 	SYS_SETEUID                   = 183
    135 	SYS_SIGRETURN                 = 184
    136 	SYS_CHUD                      = 185
    137 	SYS_STAT                      = 188
    138 	SYS_FSTAT                     = 189
    139 	SYS_LSTAT                     = 190
    140 	SYS_PATHCONF                  = 191
    141 	SYS_FPATHCONF                 = 192
    142 	SYS_GETRLIMIT                 = 194
    143 	SYS_SETRLIMIT                 = 195
    144 	SYS_GETDIRENTRIES             = 196
    145 	SYS_MMAP                      = 197
    146 	SYS_LSEEK                     = 199
    147 	SYS_TRUNCATE                  = 200
    148 	SYS_FTRUNCATE                 = 201
    149 	SYS___SYSCTL                  = 202
    150 	SYS_MLOCK                     = 203
    151 	SYS_MUNLOCK                   = 204
    152 	SYS_UNDELETE                  = 205
    153 	SYS_ATSOCKET                  = 206
    154 	SYS_ATGETMSG                  = 207
    155 	SYS_ATPUTMSG                  = 208
    156 	SYS_ATPSNDREQ                 = 209
    157 	SYS_ATPSNDRSP                 = 210
    158 	SYS_ATPGETREQ                 = 211
    159 	SYS_ATPGETRSP                 = 212
    160 	SYS_KQUEUE_FROM_PORTSET_NP    = 214
    161 	SYS_KQUEUE_PORTSET_NP         = 215
    162 	SYS_MKCOMPLEX                 = 216
    163 	SYS_STATV                     = 217
    164 	SYS_LSTATV                    = 218
    165 	SYS_FSTATV                    = 219
    166 	SYS_GETATTRLIST               = 220
    167 	SYS_SETATTRLIST               = 221
    168 	SYS_GETDIRENTRIESATTR         = 222
    169 	SYS_EXCHANGEDATA              = 223
    170 	SYS_SEARCHFS                  = 225
    171 	SYS_DELETE                    = 226
    172 	SYS_COPYFILE                  = 227
    173 	SYS_POLL                      = 230
    174 	SYS_WATCHEVENT                = 231
    175 	SYS_WAITEVENT                 = 232
    176 	SYS_MODWATCH                  = 233
    177 	SYS_GETXATTR                  = 234
    178 	SYS_FGETXATTR                 = 235
    179 	SYS_SETXATTR                  = 236
    180 	SYS_FSETXATTR                 = 237
    181 	SYS_REMOVEXATTR               = 238
    182 	SYS_FREMOVEXATTR              = 239
    183 	SYS_LISTXATTR                 = 240
    184 	SYS_FLISTXATTR                = 241
    185 	SYS_FSCTL                     = 242
    186 	SYS_INITGROUPS                = 243
    187 	SYS_POSIX_SPAWN               = 244
    188 	SYS_NFSCLNT                   = 247
    189 	SYS_FHOPEN                    = 248
    190 	SYS_MINHERIT                  = 250
    191 	SYS_SEMSYS                    = 251
    192 	SYS_MSGSYS                    = 252
    193 	SYS_SHMSYS                    = 253
    194 	SYS_SEMCTL                    = 254
    195 	SYS_SEMGET                    = 255
    196 	SYS_SEMOP                     = 256
    197 	SYS_MSGCTL                    = 258
    198 	SYS_MSGGET                    = 259
    199 	SYS_MSGSND                    = 260
    200 	SYS_MSGRCV                    = 261
    201 	SYS_SHMAT                     = 262
    202 	SYS_SHMCTL                    = 263
    203 	SYS_SHMDT                     = 264
    204 	SYS_SHMGET                    = 265
    205 	SYS_SHM_OPEN                  = 266
    206 	SYS_SHM_UNLINK                = 267
    207 	SYS_SEM_OPEN                  = 268
    208 	SYS_SEM_CLOSE                 = 269
    209 	SYS_SEM_UNLINK                = 270
    210 	SYS_SEM_WAIT                  = 271
    211 	SYS_SEM_TRYWAIT               = 272
    212 	SYS_SEM_POST                  = 273
    213 	SYS_SEM_GETVALUE              = 274
    214 	SYS_SEM_INIT                  = 275
    215 	SYS_SEM_DESTROY               = 276
    216 	SYS_OPEN_EXTENDED             = 277
    217 	SYS_UMASK_EXTENDED            = 278
    218 	SYS_STAT_EXTENDED             = 279
    219 	SYS_LSTAT_EXTENDED            = 280
    220 	SYS_FSTAT_EXTENDED            = 281
    221 	SYS_CHMOD_EXTENDED            = 282
    222 	SYS_FCHMOD_EXTENDED           = 283
    223 	SYS_ACCESS_EXTENDED           = 284
    224 	SYS_SETTID                    = 285
    225 	SYS_GETTID                    = 286
    226 	SYS_SETSGROUPS                = 287
    227 	SYS_GETSGROUPS                = 288
    228 	SYS_SETWGROUPS                = 289
    229 	SYS_GETWGROUPS                = 290
    230 	SYS_MKFIFO_EXTENDED           = 291
    231 	SYS_MKDIR_EXTENDED            = 292
    232 	SYS_IDENTITYSVC               = 293
    233 	SYS_SHARED_REGION_CHECK_NP    = 294
    234 	SYS_SHARED_REGION_MAP_NP      = 295
    235 	SYS___PTHREAD_MUTEX_DESTROY   = 301
    236 	SYS___PTHREAD_MUTEX_INIT      = 302
    237 	SYS___PTHREAD_MUTEX_LOCK      = 303
    238 	SYS___PTHREAD_MUTEX_TRYLOCK   = 304
    239 	SYS___PTHREAD_MUTEX_UNLOCK    = 305
    240 	SYS___PTHREAD_COND_INIT       = 306
    241 	SYS___PTHREAD_COND_DESTROY    = 307
    242 	SYS___PTHREAD_COND_BROADCAST  = 308
    243 	SYS___PTHREAD_COND_SIGNAL     = 309
    244 	SYS_GETSID                    = 310
    245 	SYS_SETTID_WITH_PID           = 311
    246 	SYS___PTHREAD_COND_TIMEDWAIT  = 312
    247 	SYS_AIO_FSYNC                 = 313
    248 	SYS_AIO_RETURN                = 314
    249 	SYS_AIO_SUSPEND               = 315
    250 	SYS_AIO_CANCEL                = 316
    251 	SYS_AIO_ERROR                 = 317
    252 	SYS_AIO_READ                  = 318
    253 	SYS_AIO_WRITE                 = 319
    254 	SYS_LIO_LISTIO                = 320
    255 	SYS___PTHREAD_COND_WAIT       = 321
    256 	SYS_IOPOLICYSYS               = 322
    257 	SYS_MLOCKALL                  = 324
    258 	SYS_MUNLOCKALL                = 325
    259 	SYS_ISSETUGID                 = 327
    260 	SYS___PTHREAD_KILL            = 328
    261 	SYS___PTHREAD_SIGMASK         = 329
    262 	SYS___SIGWAIT                 = 330
    263 	SYS___DISABLE_THREADSIGNAL    = 331
    264 	SYS___PTHREAD_MARKCANCEL      = 332
    265 	SYS___PTHREAD_CANCELED        = 333
    266 	SYS___SEMWAIT_SIGNAL          = 334
    267 	SYS_PROC_INFO                 = 336
    268 	SYS_SENDFILE                  = 337
    269 	SYS_STAT64                    = 338
    270 	SYS_FSTAT64                   = 339
    271 	SYS_LSTAT64                   = 340
    272 	SYS_STAT64_EXTENDED           = 341
    273 	SYS_LSTAT64_EXTENDED          = 342
    274 	SYS_FSTAT64_EXTENDED          = 343
    275 	SYS_GETDIRENTRIES64           = 344
    276 	SYS_STATFS64                  = 345
    277 	SYS_FSTATFS64                 = 346
    278 	SYS_GETFSSTAT64               = 347
    279 	SYS___PTHREAD_CHDIR           = 348
    280 	SYS___PTHREAD_FCHDIR          = 349
    281 	SYS_AUDIT                     = 350
    282 	SYS_AUDITON                   = 351
    283 	SYS_GETAUID                   = 353
    284 	SYS_SETAUID                   = 354
    285 	SYS_GETAUDIT                  = 355
    286 	SYS_SETAUDIT                  = 356
    287 	SYS_GETAUDIT_ADDR             = 357
    288 	SYS_SETAUDIT_ADDR             = 358
    289 	SYS_AUDITCTL                  = 359
    290 	SYS_BSDTHREAD_CREATE          = 360
    291 	SYS_BSDTHREAD_TERMINATE       = 361
    292 	SYS_KQUEUE                    = 362
    293 	SYS_KEVENT                    = 363
    294 	SYS_LCHOWN                    = 364
    295 	SYS_STACK_SNAPSHOT            = 365
    296 	SYS_BSDTHREAD_REGISTER        = 366
    297 	SYS_WORKQ_OPEN                = 367
    298 	SYS_WORKQ_OPS                 = 368
    299 	SYS___MAC_EXECVE              = 380
    300 	SYS___MAC_SYSCALL             = 381
    301 	SYS___MAC_GET_FILE            = 382
    302 	SYS___MAC_SET_FILE            = 383
    303 	SYS___MAC_GET_LINK            = 384
    304 	SYS___MAC_SET_LINK            = 385
    305 	SYS___MAC_GET_PROC            = 386
    306 	SYS___MAC_SET_PROC            = 387
    307 	SYS___MAC_GET_FD              = 388
    308 	SYS___MAC_SET_FD              = 389
    309 	SYS___MAC_GET_PID             = 390
    310 	SYS___MAC_GET_LCID            = 391
    311 	SYS___MAC_GET_LCTX            = 392
    312 	SYS___MAC_SET_LCTX            = 393
    313 	SYS_SETLCID                   = 394
    314 	SYS_GETLCID                   = 395
    315 	SYS_READ_NOCANCEL             = 396
    316 	SYS_WRITE_NOCANCEL            = 397
    317 	SYS_OPEN_NOCANCEL             = 398
    318 	SYS_CLOSE_NOCANCEL            = 399
    319 	SYS_WAIT4_NOCANCEL            = 400
    320 	SYS_RECVMSG_NOCANCEL          = 401
    321 	SYS_SENDMSG_NOCANCEL          = 402
    322 	SYS_RECVFROM_NOCANCEL         = 403
    323 	SYS_ACCEPT_NOCANCEL           = 404
    324 	SYS_MSYNC_NOCANCEL            = 405
    325 	SYS_FCNTL_NOCANCEL            = 406
    326 	SYS_SELECT_NOCANCEL           = 407
    327 	SYS_FSYNC_NOCANCEL            = 408
    328 	SYS_CONNECT_NOCANCEL          = 409
    329 	SYS_SIGSUSPEND_NOCANCEL       = 410
    330 	SYS_READV_NOCANCEL            = 411
    331 	SYS_WRITEV_NOCANCEL           = 412
    332 	SYS_SENDTO_NOCANCEL           = 413
    333 	SYS_PREAD_NOCANCEL            = 414
    334 	SYS_PWRITE_NOCANCEL           = 415
    335 	SYS_WAITID_NOCANCEL           = 416
    336 	SYS_POLL_NOCANCEL             = 417
    337 	SYS_MSGSND_NOCANCEL           = 418
    338 	SYS_MSGRCV_NOCANCEL           = 419
    339 	SYS_SEM_WAIT_NOCANCEL         = 420
    340 	SYS_AIO_SUSPEND_NOCANCEL      = 421
    341 	SYS___SIGWAIT_NOCANCEL        = 422
    342 	SYS___SEMWAIT_SIGNAL_NOCANCEL = 423
    343 	SYS___MAC_MOUNT               = 424
    344 	SYS___MAC_GET_MOUNT           = 425
    345 	SYS___MAC_GETFSSTAT           = 426
    346 	SYS_MAXSYSCALL                = 427
    347 )
    348