github.com/mangodowner/go-gm@v0.0.0-20180818020936-8baa2bd4408c/src/syscall/zsysnum_darwin_386.go (about)

     1  // mksysnum_darwin.pl /usr/include/sys/syscall.h
     2  // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
     3  
     4  // +build 386,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_GETFSSTAT                      = 18
    25  	SYS_GETPID                         = 20
    26  	SYS_SETUID                         = 23
    27  	SYS_GETUID                         = 24
    28  	SYS_GETEUID                        = 25
    29  	SYS_PTRACE                         = 26
    30  	SYS_RECVMSG                        = 27
    31  	SYS_SENDMSG                        = 28
    32  	SYS_RECVFROM                       = 29
    33  	SYS_ACCEPT                         = 30
    34  	SYS_GETPEERNAME                    = 31
    35  	SYS_GETSOCKNAME                    = 32
    36  	SYS_ACCESS                         = 33
    37  	SYS_CHFLAGS                        = 34
    38  	SYS_FCHFLAGS                       = 35
    39  	SYS_SYNC                           = 36
    40  	SYS_KILL                           = 37
    41  	SYS_GETPPID                        = 39
    42  	SYS_DUP                            = 41
    43  	SYS_PIPE                           = 42
    44  	SYS_GETEGID                        = 43
    45  	SYS_PROFIL                         = 44
    46  	SYS_SIGACTION                      = 46
    47  	SYS_GETGID                         = 47
    48  	SYS_SIGPROCMASK                    = 48
    49  	SYS_GETLOGIN                       = 49
    50  	SYS_SETLOGIN                       = 50
    51  	SYS_ACCT                           = 51
    52  	SYS_SIGPENDING                     = 52
    53  	SYS_SIGALTSTACK                    = 53
    54  	SYS_IOCTL                          = 54
    55  	SYS_REBOOT                         = 55
    56  	SYS_REVOKE                         = 56
    57  	SYS_SYMLINK                        = 57
    58  	SYS_READLINK                       = 58
    59  	SYS_EXECVE                         = 59
    60  	SYS_UMASK                          = 60
    61  	SYS_CHROOT                         = 61
    62  	SYS_MSYNC                          = 65
    63  	SYS_VFORK                          = 66
    64  	SYS_MUNMAP                         = 73
    65  	SYS_MPROTECT                       = 74
    66  	SYS_MADVISE                        = 75
    67  	SYS_MINCORE                        = 78
    68  	SYS_GETGROUPS                      = 79
    69  	SYS_SETGROUPS                      = 80
    70  	SYS_GETPGRP                        = 81
    71  	SYS_SETPGID                        = 82
    72  	SYS_SETITIMER                      = 83
    73  	SYS_SWAPON                         = 85
    74  	SYS_GETITIMER                      = 86
    75  	SYS_GETDTABLESIZE                  = 89
    76  	SYS_DUP2                           = 90
    77  	SYS_FCNTL                          = 92
    78  	SYS_SELECT                         = 93
    79  	SYS_FSYNC                          = 95
    80  	SYS_SETPRIORITY                    = 96
    81  	SYS_SOCKET                         = 97
    82  	SYS_CONNECT                        = 98
    83  	SYS_GETPRIORITY                    = 100
    84  	SYS_BIND                           = 104
    85  	SYS_SETSOCKOPT                     = 105
    86  	SYS_LISTEN                         = 106
    87  	SYS_SIGSUSPEND                     = 111
    88  	SYS_GETTIMEOFDAY                   = 116
    89  	SYS_GETRUSAGE                      = 117
    90  	SYS_GETSOCKOPT                     = 118
    91  	SYS_READV                          = 120
    92  	SYS_WRITEV                         = 121
    93  	SYS_SETTIMEOFDAY                   = 122
    94  	SYS_FCHOWN                         = 123
    95  	SYS_FCHMOD                         = 124
    96  	SYS_SETREUID                       = 126
    97  	SYS_SETREGID                       = 127
    98  	SYS_RENAME                         = 128
    99  	SYS_FLOCK                          = 131
   100  	SYS_MKFIFO                         = 132
   101  	SYS_SENDTO                         = 133
   102  	SYS_SHUTDOWN                       = 134
   103  	SYS_SOCKETPAIR                     = 135
   104  	SYS_MKDIR                          = 136
   105  	SYS_RMDIR                          = 137
   106  	SYS_UTIMES                         = 138
   107  	SYS_FUTIMES                        = 139
   108  	SYS_ADJTIME                        = 140
   109  	SYS_GETHOSTUUID                    = 142
   110  	SYS_SETSID                         = 147
   111  	SYS_GETPGID                        = 151
   112  	SYS_SETPRIVEXEC                    = 152
   113  	SYS_PREAD                          = 153
   114  	SYS_PWRITE                         = 154
   115  	SYS_NFSSVC                         = 155
   116  	SYS_STATFS                         = 157
   117  	SYS_FSTATFS                        = 158
   118  	SYS_UNMOUNT                        = 159
   119  	SYS_GETFH                          = 161
   120  	SYS_QUOTACTL                       = 165
   121  	SYS_MOUNT                          = 167
   122  	SYS_CSOPS                          = 169
   123  	SYS_WAITID                         = 173
   124  	SYS_ADD_PROFIL                     = 176
   125  	SYS_KDEBUG_TRACE                   = 180
   126  	SYS_SETGID                         = 181
   127  	SYS_SETEGID                        = 182
   128  	SYS_SETEUID                        = 183
   129  	SYS_SIGRETURN                      = 184
   130  	SYS_CHUD                           = 185
   131  	SYS_FDATASYNC                      = 187
   132  	SYS_STAT                           = 188
   133  	SYS_FSTAT                          = 189
   134  	SYS_LSTAT                          = 190
   135  	SYS_PATHCONF                       = 191
   136  	SYS_FPATHCONF                      = 192
   137  	SYS_GETRLIMIT                      = 194
   138  	SYS_SETRLIMIT                      = 195
   139  	SYS_GETDIRENTRIES                  = 196
   140  	SYS_MMAP                           = 197
   141  	SYS_LSEEK                          = 199
   142  	SYS_TRUNCATE                       = 200
   143  	SYS_FTRUNCATE                      = 201
   144  	SYS___SYSCTL                       = 202
   145  	SYS_MLOCK                          = 203
   146  	SYS_MUNLOCK                        = 204
   147  	SYS_UNDELETE                       = 205
   148  	SYS_ATSOCKET                       = 206
   149  	SYS_ATGETMSG                       = 207
   150  	SYS_ATPUTMSG                       = 208
   151  	SYS_ATPSNDREQ                      = 209
   152  	SYS_ATPSNDRSP                      = 210
   153  	SYS_ATPGETREQ                      = 211
   154  	SYS_ATPGETRSP                      = 212
   155  	SYS_MKCOMPLEX                      = 216
   156  	SYS_STATV                          = 217
   157  	SYS_LSTATV                         = 218
   158  	SYS_FSTATV                         = 219
   159  	SYS_GETATTRLIST                    = 220
   160  	SYS_SETATTRLIST                    = 221
   161  	SYS_GETDIRENTRIESATTR              = 222
   162  	SYS_EXCHANGEDATA                   = 223
   163  	SYS_SEARCHFS                       = 225
   164  	SYS_DELETE                         = 226
   165  	SYS_COPYFILE                       = 227
   166  	SYS_FGETATTRLIST                   = 228
   167  	SYS_FSETATTRLIST                   = 229
   168  	SYS_POLL                           = 230
   169  	SYS_WATCHEVENT                     = 231
   170  	SYS_WAITEVENT                      = 232
   171  	SYS_MODWATCH                       = 233
   172  	SYS_GETXATTR                       = 234
   173  	SYS_FGETXATTR                      = 235
   174  	SYS_SETXATTR                       = 236
   175  	SYS_FSETXATTR                      = 237
   176  	SYS_REMOVEXATTR                    = 238
   177  	SYS_FREMOVEXATTR                   = 239
   178  	SYS_LISTXATTR                      = 240
   179  	SYS_FLISTXATTR                     = 241
   180  	SYS_FSCTL                          = 242
   181  	SYS_INITGROUPS                     = 243
   182  	SYS_POSIX_SPAWN                    = 244
   183  	SYS_FFSCTL                         = 245
   184  	SYS_NFSCLNT                        = 247
   185  	SYS_FHOPEN                         = 248
   186  	SYS_MINHERIT                       = 250
   187  	SYS_SEMSYS                         = 251
   188  	SYS_MSGSYS                         = 252
   189  	SYS_SHMSYS                         = 253
   190  	SYS_SEMCTL                         = 254
   191  	SYS_SEMGET                         = 255
   192  	SYS_SEMOP                          = 256
   193  	SYS_MSGCTL                         = 258
   194  	SYS_MSGGET                         = 259
   195  	SYS_MSGSND                         = 260
   196  	SYS_MSGRCV                         = 261
   197  	SYS_SHMAT                          = 262
   198  	SYS_SHMCTL                         = 263
   199  	SYS_SHMDT                          = 264
   200  	SYS_SHMGET                         = 265
   201  	SYS_SHM_OPEN                       = 266
   202  	SYS_SHM_UNLINK                     = 267
   203  	SYS_SEM_OPEN                       = 268
   204  	SYS_SEM_CLOSE                      = 269
   205  	SYS_SEM_UNLINK                     = 270
   206  	SYS_SEM_WAIT                       = 271
   207  	SYS_SEM_TRYWAIT                    = 272
   208  	SYS_SEM_POST                       = 273
   209  	SYS_SEM_GETVALUE                   = 274
   210  	SYS_SEM_INIT                       = 275
   211  	SYS_SEM_DESTROY                    = 276
   212  	SYS_OPEN_EXTENDED                  = 277
   213  	SYS_UMASK_EXTENDED                 = 278
   214  	SYS_STAT_EXTENDED                  = 279
   215  	SYS_LSTAT_EXTENDED                 = 280
   216  	SYS_FSTAT_EXTENDED                 = 281
   217  	SYS_CHMOD_EXTENDED                 = 282
   218  	SYS_FCHMOD_EXTENDED                = 283
   219  	SYS_ACCESS_EXTENDED                = 284
   220  	SYS_SETTID                         = 285
   221  	SYS_GETTID                         = 286
   222  	SYS_SETSGROUPS                     = 287
   223  	SYS_GETSGROUPS                     = 288
   224  	SYS_SETWGROUPS                     = 289
   225  	SYS_GETWGROUPS                     = 290
   226  	SYS_MKFIFO_EXTENDED                = 291
   227  	SYS_MKDIR_EXTENDED                 = 292
   228  	SYS_IDENTITYSVC                    = 293
   229  	SYS_SHARED_REGION_CHECK_NP         = 294
   230  	SYS_VM_PRESSURE_MONITOR            = 296
   231  	SYS_PSYNCH_RW_LONGRDLOCK           = 297
   232  	SYS_PSYNCH_RW_YIELDWRLOCK          = 298
   233  	SYS_PSYNCH_RW_DOWNGRADE            = 299
   234  	SYS_PSYNCH_RW_UPGRADE              = 300
   235  	SYS_PSYNCH_MUTEXWAIT               = 301
   236  	SYS_PSYNCH_MUTEXDROP               = 302
   237  	SYS_PSYNCH_CVBROAD                 = 303
   238  	SYS_PSYNCH_CVSIGNAL                = 304
   239  	SYS_PSYNCH_CVWAIT                  = 305
   240  	SYS_PSYNCH_RW_RDLOCK               = 306
   241  	SYS_PSYNCH_RW_WRLOCK               = 307
   242  	SYS_PSYNCH_RW_UNLOCK               = 308
   243  	SYS_PSYNCH_RW_UNLOCK2              = 309
   244  	SYS_GETSID                         = 310
   245  	SYS_SETTID_WITH_PID                = 311
   246  	SYS_PSYNCH_CVCLRPREPOST            = 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_IOPOLICYSYS                    = 322
   256  	SYS_PROCESS_POLICY                 = 323
   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_KERNRETURN               = 368
   299  	SYS_KEVENT64                       = 369
   300  	SYS___OLD_SEMWAIT_SIGNAL           = 370
   301  	SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL  = 371
   302  	SYS_THREAD_SELFID                  = 372
   303  	SYS___MAC_EXECVE                   = 380
   304  	SYS___MAC_SYSCALL                  = 381
   305  	SYS___MAC_GET_FILE                 = 382
   306  	SYS___MAC_SET_FILE                 = 383
   307  	SYS___MAC_GET_LINK                 = 384
   308  	SYS___MAC_SET_LINK                 = 385
   309  	SYS___MAC_GET_PROC                 = 386
   310  	SYS___MAC_SET_PROC                 = 387
   311  	SYS___MAC_GET_FD                   = 388
   312  	SYS___MAC_SET_FD                   = 389
   313  	SYS___MAC_GET_PID                  = 390
   314  	SYS___MAC_GET_LCID                 = 391
   315  	SYS___MAC_GET_LCTX                 = 392
   316  	SYS___MAC_SET_LCTX                 = 393
   317  	SYS_SETLCID                        = 394
   318  	SYS_GETLCID                        = 395
   319  	SYS_READ_NOCANCEL                  = 396
   320  	SYS_WRITE_NOCANCEL                 = 397
   321  	SYS_OPEN_NOCANCEL                  = 398
   322  	SYS_CLOSE_NOCANCEL                 = 399
   323  	SYS_WAIT4_NOCANCEL                 = 400
   324  	SYS_RECVMSG_NOCANCEL               = 401
   325  	SYS_SENDMSG_NOCANCEL               = 402
   326  	SYS_RECVFROM_NOCANCEL              = 403
   327  	SYS_ACCEPT_NOCANCEL                = 404
   328  	SYS_MSYNC_NOCANCEL                 = 405
   329  	SYS_FCNTL_NOCANCEL                 = 406
   330  	SYS_SELECT_NOCANCEL                = 407
   331  	SYS_FSYNC_NOCANCEL                 = 408
   332  	SYS_CONNECT_NOCANCEL               = 409
   333  	SYS_SIGSUSPEND_NOCANCEL            = 410
   334  	SYS_READV_NOCANCEL                 = 411
   335  	SYS_WRITEV_NOCANCEL                = 412
   336  	SYS_SENDTO_NOCANCEL                = 413
   337  	SYS_PREAD_NOCANCEL                 = 414
   338  	SYS_PWRITE_NOCANCEL                = 415
   339  	SYS_WAITID_NOCANCEL                = 416
   340  	SYS_POLL_NOCANCEL                  = 417
   341  	SYS_MSGSND_NOCANCEL                = 418
   342  	SYS_MSGRCV_NOCANCEL                = 419
   343  	SYS_SEM_WAIT_NOCANCEL              = 420
   344  	SYS_AIO_SUSPEND_NOCANCEL           = 421
   345  	SYS___SIGWAIT_NOCANCEL             = 422
   346  	SYS___SEMWAIT_SIGNAL_NOCANCEL      = 423
   347  	SYS___MAC_MOUNT                    = 424
   348  	SYS___MAC_GET_MOUNT                = 425
   349  	SYS___MAC_GETFSSTAT                = 426
   350  	SYS_FSGETPATH                      = 427
   351  	SYS_AUDIT_SESSION_SELF             = 428
   352  	SYS_AUDIT_SESSION_JOIN             = 429
   353  	SYS_FILEPORT_MAKEPORT              = 430
   354  	SYS_FILEPORT_MAKEFD                = 431
   355  	SYS_AUDIT_SESSION_PORT             = 432
   356  	SYS_PID_SUSPEND                    = 433
   357  	SYS_PID_RESUME                     = 434
   358  	SYS_PID_HIBERNATE                  = 435
   359  	SYS_PID_SHUTDOWN_SOCKETS           = 436
   360  	SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
   361  	SYS_MAXSYSCALL                     = 439
   362  )