github.com/gogf/gkafka@v1.0.1-0.20190702070843-033a14468069/third/golang.org/x/sys/unix/zsysnum_darwin_386.go (about) 1 // go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/syscall.h 2 // Code generated by the command above; see README.md. DO NOT EDIT. 3 4 // +build 386,darwin 5 6 package unix 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_SIGACTION = 46 46 SYS_GETGID = 47 47 SYS_SIGPROCMASK = 48 48 SYS_GETLOGIN = 49 49 SYS_SETLOGIN = 50 50 SYS_ACCT = 51 51 SYS_SIGPENDING = 52 52 SYS_SIGALTSTACK = 53 53 SYS_IOCTL = 54 54 SYS_REBOOT = 55 55 SYS_REVOKE = 56 56 SYS_SYMLINK = 57 57 SYS_READLINK = 58 58 SYS_EXECVE = 59 59 SYS_UMASK = 60 60 SYS_CHROOT = 61 61 SYS_MSYNC = 65 62 SYS_VFORK = 66 63 SYS_MUNMAP = 73 64 SYS_MPROTECT = 74 65 SYS_MADVISE = 75 66 SYS_MINCORE = 78 67 SYS_GETGROUPS = 79 68 SYS_SETGROUPS = 80 69 SYS_GETPGRP = 81 70 SYS_SETPGID = 82 71 SYS_SETITIMER = 83 72 SYS_SWAPON = 85 73 SYS_GETITIMER = 86 74 SYS_GETDTABLESIZE = 89 75 SYS_DUP2 = 90 76 SYS_FCNTL = 92 77 SYS_SELECT = 93 78 SYS_FSYNC = 95 79 SYS_SETPRIORITY = 96 80 SYS_SOCKET = 97 81 SYS_CONNECT = 98 82 SYS_GETPRIORITY = 100 83 SYS_BIND = 104 84 SYS_SETSOCKOPT = 105 85 SYS_LISTEN = 106 86 SYS_SIGSUSPEND = 111 87 SYS_GETTIMEOFDAY = 116 88 SYS_GETRUSAGE = 117 89 SYS_GETSOCKOPT = 118 90 SYS_READV = 120 91 SYS_WRITEV = 121 92 SYS_SETTIMEOFDAY = 122 93 SYS_FCHOWN = 123 94 SYS_FCHMOD = 124 95 SYS_SETREUID = 126 96 SYS_SETREGID = 127 97 SYS_RENAME = 128 98 SYS_FLOCK = 131 99 SYS_MKFIFO = 132 100 SYS_SENDTO = 133 101 SYS_SHUTDOWN = 134 102 SYS_SOCKETPAIR = 135 103 SYS_MKDIR = 136 104 SYS_RMDIR = 137 105 SYS_UTIMES = 138 106 SYS_FUTIMES = 139 107 SYS_ADJTIME = 140 108 SYS_GETHOSTUUID = 142 109 SYS_SETSID = 147 110 SYS_GETPGID = 151 111 SYS_SETPRIVEXEC = 152 112 SYS_PREAD = 153 113 SYS_PWRITE = 154 114 SYS_NFSSVC = 155 115 SYS_STATFS = 157 116 SYS_FSTATFS = 158 117 SYS_UNMOUNT = 159 118 SYS_GETFH = 161 119 SYS_QUOTACTL = 165 120 SYS_MOUNT = 167 121 SYS_CSOPS = 169 122 SYS_CSOPS_AUDITTOKEN = 170 123 SYS_WAITID = 173 124 SYS_KDEBUG_TYPEFILTER = 177 125 SYS_KDEBUG_TRACE_STRING = 178 126 SYS_KDEBUG_TRACE64 = 179 127 SYS_KDEBUG_TRACE = 180 128 SYS_SETGID = 181 129 SYS_SETEGID = 182 130 SYS_SETEUID = 183 131 SYS_SIGRETURN = 184 132 SYS_THREAD_SELFCOUNTS = 186 133 SYS_FDATASYNC = 187 134 SYS_STAT = 188 135 SYS_FSTAT = 189 136 SYS_LSTAT = 190 137 SYS_PATHCONF = 191 138 SYS_FPATHCONF = 192 139 SYS_GETRLIMIT = 194 140 SYS_SETRLIMIT = 195 141 SYS_GETDIRENTRIES = 196 142 SYS_MMAP = 197 143 SYS_LSEEK = 199 144 SYS_TRUNCATE = 200 145 SYS_FTRUNCATE = 201 146 SYS_SYSCTL = 202 147 SYS_MLOCK = 203 148 SYS_MUNLOCK = 204 149 SYS_UNDELETE = 205 150 SYS_OPEN_DPROTECTED_NP = 216 151 SYS_GETATTRLIST = 220 152 SYS_SETATTRLIST = 221 153 SYS_GETDIRENTRIESATTR = 222 154 SYS_EXCHANGEDATA = 223 155 SYS_SEARCHFS = 225 156 SYS_DELETE = 226 157 SYS_COPYFILE = 227 158 SYS_FGETATTRLIST = 228 159 SYS_FSETATTRLIST = 229 160 SYS_POLL = 230 161 SYS_WATCHEVENT = 231 162 SYS_WAITEVENT = 232 163 SYS_MODWATCH = 233 164 SYS_GETXATTR = 234 165 SYS_FGETXATTR = 235 166 SYS_SETXATTR = 236 167 SYS_FSETXATTR = 237 168 SYS_REMOVEXATTR = 238 169 SYS_FREMOVEXATTR = 239 170 SYS_LISTXATTR = 240 171 SYS_FLISTXATTR = 241 172 SYS_FSCTL = 242 173 SYS_INITGROUPS = 243 174 SYS_POSIX_SPAWN = 244 175 SYS_FFSCTL = 245 176 SYS_NFSCLNT = 247 177 SYS_FHOPEN = 248 178 SYS_MINHERIT = 250 179 SYS_SEMSYS = 251 180 SYS_MSGSYS = 252 181 SYS_SHMSYS = 253 182 SYS_SEMCTL = 254 183 SYS_SEMGET = 255 184 SYS_SEMOP = 256 185 SYS_MSGCTL = 258 186 SYS_MSGGET = 259 187 SYS_MSGSND = 260 188 SYS_MSGRCV = 261 189 SYS_SHMAT = 262 190 SYS_SHMCTL = 263 191 SYS_SHMDT = 264 192 SYS_SHMGET = 265 193 SYS_SHM_OPEN = 266 194 SYS_SHM_UNLINK = 267 195 SYS_SEM_OPEN = 268 196 SYS_SEM_CLOSE = 269 197 SYS_SEM_UNLINK = 270 198 SYS_SEM_WAIT = 271 199 SYS_SEM_TRYWAIT = 272 200 SYS_SEM_POST = 273 201 SYS_SYSCTLBYNAME = 274 202 SYS_OPEN_EXTENDED = 277 203 SYS_UMASK_EXTENDED = 278 204 SYS_STAT_EXTENDED = 279 205 SYS_LSTAT_EXTENDED = 280 206 SYS_FSTAT_EXTENDED = 281 207 SYS_CHMOD_EXTENDED = 282 208 SYS_FCHMOD_EXTENDED = 283 209 SYS_ACCESS_EXTENDED = 284 210 SYS_SETTID = 285 211 SYS_GETTID = 286 212 SYS_SETSGROUPS = 287 213 SYS_GETSGROUPS = 288 214 SYS_SETWGROUPS = 289 215 SYS_GETWGROUPS = 290 216 SYS_MKFIFO_EXTENDED = 291 217 SYS_MKDIR_EXTENDED = 292 218 SYS_IDENTITYSVC = 293 219 SYS_SHARED_REGION_CHECK_NP = 294 220 SYS_VM_PRESSURE_MONITOR = 296 221 SYS_PSYNCH_RW_LONGRDLOCK = 297 222 SYS_PSYNCH_RW_YIELDWRLOCK = 298 223 SYS_PSYNCH_RW_DOWNGRADE = 299 224 SYS_PSYNCH_RW_UPGRADE = 300 225 SYS_PSYNCH_MUTEXWAIT = 301 226 SYS_PSYNCH_MUTEXDROP = 302 227 SYS_PSYNCH_CVBROAD = 303 228 SYS_PSYNCH_CVSIGNAL = 304 229 SYS_PSYNCH_CVWAIT = 305 230 SYS_PSYNCH_RW_RDLOCK = 306 231 SYS_PSYNCH_RW_WRLOCK = 307 232 SYS_PSYNCH_RW_UNLOCK = 308 233 SYS_PSYNCH_RW_UNLOCK2 = 309 234 SYS_GETSID = 310 235 SYS_SETTID_WITH_PID = 311 236 SYS_PSYNCH_CVCLRPREPOST = 312 237 SYS_AIO_FSYNC = 313 238 SYS_AIO_RETURN = 314 239 SYS_AIO_SUSPEND = 315 240 SYS_AIO_CANCEL = 316 241 SYS_AIO_ERROR = 317 242 SYS_AIO_READ = 318 243 SYS_AIO_WRITE = 319 244 SYS_LIO_LISTIO = 320 245 SYS_IOPOLICYSYS = 322 246 SYS_PROCESS_POLICY = 323 247 SYS_MLOCKALL = 324 248 SYS_MUNLOCKALL = 325 249 SYS_ISSETUGID = 327 250 SYS___PTHREAD_KILL = 328 251 SYS___PTHREAD_SIGMASK = 329 252 SYS___SIGWAIT = 330 253 SYS___DISABLE_THREADSIGNAL = 331 254 SYS___PTHREAD_MARKCANCEL = 332 255 SYS___PTHREAD_CANCELED = 333 256 SYS___SEMWAIT_SIGNAL = 334 257 SYS_PROC_INFO = 336 258 SYS_SENDFILE = 337 259 SYS_STAT64 = 338 260 SYS_FSTAT64 = 339 261 SYS_LSTAT64 = 340 262 SYS_STAT64_EXTENDED = 341 263 SYS_LSTAT64_EXTENDED = 342 264 SYS_FSTAT64_EXTENDED = 343 265 SYS_GETDIRENTRIES64 = 344 266 SYS_STATFS64 = 345 267 SYS_FSTATFS64 = 346 268 SYS_GETFSSTAT64 = 347 269 SYS___PTHREAD_CHDIR = 348 270 SYS___PTHREAD_FCHDIR = 349 271 SYS_AUDIT = 350 272 SYS_AUDITON = 351 273 SYS_GETAUID = 353 274 SYS_SETAUID = 354 275 SYS_GETAUDIT_ADDR = 357 276 SYS_SETAUDIT_ADDR = 358 277 SYS_AUDITCTL = 359 278 SYS_BSDTHREAD_CREATE = 360 279 SYS_BSDTHREAD_TERMINATE = 361 280 SYS_KQUEUE = 362 281 SYS_KEVENT = 363 282 SYS_LCHOWN = 364 283 SYS_BSDTHREAD_REGISTER = 366 284 SYS_WORKQ_OPEN = 367 285 SYS_WORKQ_KERNRETURN = 368 286 SYS_KEVENT64 = 369 287 SYS___OLD_SEMWAIT_SIGNAL = 370 288 SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371 289 SYS_THREAD_SELFID = 372 290 SYS_LEDGER = 373 291 SYS_KEVENT_QOS = 374 292 SYS_KEVENT_ID = 375 293 SYS___MAC_EXECVE = 380 294 SYS___MAC_SYSCALL = 381 295 SYS___MAC_GET_FILE = 382 296 SYS___MAC_SET_FILE = 383 297 SYS___MAC_GET_LINK = 384 298 SYS___MAC_SET_LINK = 385 299 SYS___MAC_GET_PROC = 386 300 SYS___MAC_SET_PROC = 387 301 SYS___MAC_GET_FD = 388 302 SYS___MAC_SET_FD = 389 303 SYS___MAC_GET_PID = 390 304 SYS_PSELECT = 394 305 SYS_PSELECT_NOCANCEL = 395 306 SYS_READ_NOCANCEL = 396 307 SYS_WRITE_NOCANCEL = 397 308 SYS_OPEN_NOCANCEL = 398 309 SYS_CLOSE_NOCANCEL = 399 310 SYS_WAIT4_NOCANCEL = 400 311 SYS_RECVMSG_NOCANCEL = 401 312 SYS_SENDMSG_NOCANCEL = 402 313 SYS_RECVFROM_NOCANCEL = 403 314 SYS_ACCEPT_NOCANCEL = 404 315 SYS_MSYNC_NOCANCEL = 405 316 SYS_FCNTL_NOCANCEL = 406 317 SYS_SELECT_NOCANCEL = 407 318 SYS_FSYNC_NOCANCEL = 408 319 SYS_CONNECT_NOCANCEL = 409 320 SYS_SIGSUSPEND_NOCANCEL = 410 321 SYS_READV_NOCANCEL = 411 322 SYS_WRITEV_NOCANCEL = 412 323 SYS_SENDTO_NOCANCEL = 413 324 SYS_PREAD_NOCANCEL = 414 325 SYS_PWRITE_NOCANCEL = 415 326 SYS_WAITID_NOCANCEL = 416 327 SYS_POLL_NOCANCEL = 417 328 SYS_MSGSND_NOCANCEL = 418 329 SYS_MSGRCV_NOCANCEL = 419 330 SYS_SEM_WAIT_NOCANCEL = 420 331 SYS_AIO_SUSPEND_NOCANCEL = 421 332 SYS___SIGWAIT_NOCANCEL = 422 333 SYS___SEMWAIT_SIGNAL_NOCANCEL = 423 334 SYS___MAC_MOUNT = 424 335 SYS___MAC_GET_MOUNT = 425 336 SYS___MAC_GETFSSTAT = 426 337 SYS_FSGETPATH = 427 338 SYS_AUDIT_SESSION_SELF = 428 339 SYS_AUDIT_SESSION_JOIN = 429 340 SYS_FILEPORT_MAKEPORT = 430 341 SYS_FILEPORT_MAKEFD = 431 342 SYS_AUDIT_SESSION_PORT = 432 343 SYS_PID_SUSPEND = 433 344 SYS_PID_RESUME = 434 345 SYS_PID_HIBERNATE = 435 346 SYS_PID_SHUTDOWN_SOCKETS = 436 347 SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438 348 SYS_KAS_INFO = 439 349 SYS_MEMORYSTATUS_CONTROL = 440 350 SYS_GUARDED_OPEN_NP = 441 351 SYS_GUARDED_CLOSE_NP = 442 352 SYS_GUARDED_KQUEUE_NP = 443 353 SYS_CHANGE_FDGUARD_NP = 444 354 SYS_USRCTL = 445 355 SYS_PROC_RLIMIT_CONTROL = 446 356 SYS_CONNECTX = 447 357 SYS_DISCONNECTX = 448 358 SYS_PEELOFF = 449 359 SYS_SOCKET_DELEGATE = 450 360 SYS_TELEMETRY = 451 361 SYS_PROC_UUID_POLICY = 452 362 SYS_MEMORYSTATUS_GET_LEVEL = 453 363 SYS_SYSTEM_OVERRIDE = 454 364 SYS_VFS_PURGE = 455 365 SYS_SFI_CTL = 456 366 SYS_SFI_PIDCTL = 457 367 SYS_COALITION = 458 368 SYS_COALITION_INFO = 459 369 SYS_NECP_MATCH_POLICY = 460 370 SYS_GETATTRLISTBULK = 461 371 SYS_CLONEFILEAT = 462 372 SYS_OPENAT = 463 373 SYS_OPENAT_NOCANCEL = 464 374 SYS_RENAMEAT = 465 375 SYS_FACCESSAT = 466 376 SYS_FCHMODAT = 467 377 SYS_FCHOWNAT = 468 378 SYS_FSTATAT = 469 379 SYS_FSTATAT64 = 470 380 SYS_LINKAT = 471 381 SYS_UNLINKAT = 472 382 SYS_READLINKAT = 473 383 SYS_SYMLINKAT = 474 384 SYS_MKDIRAT = 475 385 SYS_GETATTRLISTAT = 476 386 SYS_PROC_TRACE_LOG = 477 387 SYS_BSDTHREAD_CTL = 478 388 SYS_OPENBYID_NP = 479 389 SYS_RECVMSG_X = 480 390 SYS_SENDMSG_X = 481 391 SYS_THREAD_SELFUSAGE = 482 392 SYS_CSRCTL = 483 393 SYS_GUARDED_OPEN_DPROTECTED_NP = 484 394 SYS_GUARDED_WRITE_NP = 485 395 SYS_GUARDED_PWRITE_NP = 486 396 SYS_GUARDED_WRITEV_NP = 487 397 SYS_RENAMEATX_NP = 488 398 SYS_MREMAP_ENCRYPTED = 489 399 SYS_NETAGENT_TRIGGER = 490 400 SYS_STACK_SNAPSHOT_WITH_CONFIG = 491 401 SYS_MICROSTACKSHOT = 492 402 SYS_GRAB_PGO_DATA = 493 403 SYS_PERSONA = 494 404 SYS_WORK_INTERVAL_CTL = 499 405 SYS_GETENTROPY = 500 406 SYS_NECP_OPEN = 501 407 SYS_NECP_CLIENT_ACTION = 502 408 SYS___NEXUS_OPEN = 503 409 SYS___NEXUS_REGISTER = 504 410 SYS___NEXUS_DEREGISTER = 505 411 SYS___NEXUS_CREATE = 506 412 SYS___NEXUS_DESTROY = 507 413 SYS___NEXUS_GET_OPT = 508 414 SYS___NEXUS_SET_OPT = 509 415 SYS___CHANNEL_OPEN = 510 416 SYS___CHANNEL_GET_INFO = 511 417 SYS___CHANNEL_SYNC = 512 418 SYS___CHANNEL_GET_OPT = 513 419 SYS___CHANNEL_SET_OPT = 514 420 SYS_ULOCK_WAIT = 515 421 SYS_ULOCK_WAKE = 516 422 SYS_FCLONEFILEAT = 517 423 SYS_FS_SNAPSHOT = 518 424 SYS_TERMINATE_WITH_PAYLOAD = 520 425 SYS_ABORT_WITH_PAYLOAD = 521 426 SYS_NECP_SESSION_OPEN = 522 427 SYS_NECP_SESSION_ACTION = 523 428 SYS_SETATTRLISTAT = 524 429 SYS_NET_QOS_GUIDELINE = 525 430 SYS_FMOUNT = 526 431 SYS_NTP_ADJTIME = 527 432 SYS_NTP_GETTIME = 528 433 SYS_OS_FAULT_WITH_PAYLOAD = 529 434 SYS_MAXSYSCALL = 530 435 SYS_INVALID = 63 436 )