hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

syscallno.ha (15821B)


      1 // SPDX-License-Identifier: MPL-2.0
      2 // (c) Hare authors <https://harelang.org>
      3 
      4 export def SYS_syscall: u64 = 0;
      5 export def SYS_exit: u64 = 1;
      6 export def SYS_fork: u64 = 2;
      7 export def SYS_read: u64 = 3;
      8 export def SYS_write: u64 = 4;
      9 export def SYS_open: u64 = 5;
     10 export def SYS_close: u64 = 6;
     11 export def SYS_wait4: u64 = 7;
     12 export def SYS_link: u64 = 9;
     13 export def SYS_unlink: u64 = 10;
     14 export def SYS_chdir: u64 = 12;
     15 export def SYS_fchdir: u64 = 13;
     16 export def SYS_freebsd11_mknod: u64 = 14;
     17 export def SYS_chmod: u64 = 15;
     18 export def SYS_chown: u64 = 16;
     19 export def SYS_break: u64 = 17;
     20 export def SYS_getpid: u64 = 20;
     21 export def SYS_mount: u64 = 21;
     22 export def SYS_unmount: u64 = 22;
     23 export def SYS_setuid: u64 = 23;
     24 export def SYS_getuid: u64 = 24;
     25 export def SYS_geteuid: u64 = 25;
     26 export def SYS_ptrace: u64 = 26;
     27 export def SYS_recvmsg: u64 = 27;
     28 export def SYS_sendmsg: u64 = 28;
     29 export def SYS_recvfrom: u64 = 29;
     30 export def SYS_accept: u64 = 30;
     31 export def SYS_getpeername: u64 = 31;
     32 export def SYS_getsockname: u64 = 32;
     33 export def SYS_access: u64 = 33;
     34 export def SYS_chflags: u64 = 34;
     35 export def SYS_fchflags: u64 = 35;
     36 export def SYS_sync: u64 = 36;
     37 export def SYS_kill: u64 = 37;
     38 export def SYS_getppid: u64 = 39;
     39 export def SYS_dup: u64 = 41;
     40 export def SYS_freebsd10_pipe: u64 = 42;
     41 export def SYS_getegid: u64 = 43;
     42 export def SYS_profil: u64 = 44;
     43 export def SYS_ktrace: u64 = 45;
     44 export def SYS_getgid: u64 = 47;
     45 export def SYS_getlogin: u64 = 49;
     46 export def SYS_setlogin: u64 = 50;
     47 export def SYS_acct: u64 = 51;
     48 export def SYS_sigaltstack: u64 = 53;
     49 export def SYS_ioctl: u64 = 54;
     50 export def SYS_reboot: u64 = 55;
     51 export def SYS_revoke: u64 = 56;
     52 export def SYS_symlink: u64 = 57;
     53 export def SYS_readlink: u64 = 58;
     54 export def SYS_execve: u64 = 59;
     55 export def SYS_umask: u64 = 60;
     56 export def SYS_chroot: u64 = 61;
     57 export def SYS_msync: u64 = 65;
     58 export def SYS_vfork: u64 = 66;
     59 export def SYS_sbrk: u64 = 69;
     60 export def SYS_sstk: u64 = 70;
     61 export def SYS_freebsd11_vadvise: u64 = 72;
     62 export def SYS_munmap: u64 = 73;
     63 export def SYS_mprotect: u64 = 74;
     64 export def SYS_madvise: u64 = 75;
     65 export def SYS_mincore: u64 = 78;
     66 export def SYS_getgroups: u64 = 79;
     67 export def SYS_setgroups: u64 = 80;
     68 export def SYS_getpgrp: u64 = 81;
     69 export def SYS_setpgid: u64 = 82;
     70 export def SYS_setitimer: u64 = 83;
     71 export def SYS_swapon: u64 = 85;
     72 export def SYS_getitimer: u64 = 86;
     73 export def SYS_getdtablesize: u64 = 89;
     74 export def SYS_dup2: u64 = 90;
     75 export def SYS_fcntl: u64 = 92;
     76 export def SYS_select: u64 = 93;
     77 export def SYS_fsync: u64 = 95;
     78 export def SYS_setpriority: u64 = 96;
     79 export def SYS_socket: u64 = 97;
     80 export def SYS_connect: u64 = 98;
     81 export def SYS_getpriority: u64 = 100;
     82 export def SYS_bind: u64 = 104;
     83 export def SYS_setsockopt: u64 = 105;
     84 export def SYS_listen: u64 = 106;
     85 export def SYS_gettimeofday: u64 = 116;
     86 export def SYS_getrusage: u64 = 117;
     87 export def SYS_getsockopt: u64 = 118;
     88 export def SYS_readv: u64 = 120;
     89 export def SYS_writev: u64 = 121;
     90 export def SYS_settimeofday: u64 = 122;
     91 export def SYS_fchown: u64 = 123;
     92 export def SYS_fchmod: u64 = 124;
     93 export def SYS_setreuid: u64 = 126;
     94 export def SYS_setregid: u64 = 127;
     95 export def SYS_rename: u64 = 128;
     96 export def SYS_flock: u64 = 131;
     97 export def SYS_mkfifo: u64 = 132;
     98 export def SYS_sendto: u64 = 133;
     99 export def SYS_shutdown: u64 = 134;
    100 export def SYS_socketpair: u64 = 135;
    101 export def SYS_mkdir: u64 = 136;
    102 export def SYS_rmdir: u64 = 137;
    103 export def SYS_utimes: u64 = 138;
    104 export def SYS_adjtime: u64 = 140;
    105 export def SYS_setsid: u64 = 147;
    106 export def SYS_quotactl: u64 = 148;
    107 export def SYS_nlm_syscall: u64 = 154;
    108 export def SYS_nfssvc: u64 = 155;
    109 export def SYS_lgetfh: u64 = 160;
    110 export def SYS_getfh: u64 = 161;
    111 export def SYS_sysarch: u64 = 165;
    112 export def SYS_rtprio: u64 = 166;
    113 export def SYS_semsys: u64 = 169;
    114 export def SYS_msgsys: u64 = 170;
    115 export def SYS_shmsys: u64 = 171;
    116 export def SYS_setfib: u64 = 175;
    117 export def SYS_ntp_adjtime: u64 = 176;
    118 export def SYS_setgid: u64 = 181;
    119 export def SYS_setegid: u64 = 182;
    120 export def SYS_seteuid: u64 = 183;
    121 export def SYS_freebsd11_stat: u64 = 188;
    122 export def SYS_freebsd11_fstat: u64 = 189;
    123 export def SYS_freebsd11_lstat: u64 = 190;
    124 export def SYS_pathconf: u64 = 191;
    125 export def SYS_fpathconf: u64 = 192;
    126 export def SYS_getrlimit: u64 = 194;
    127 export def SYS_setrlimit: u64 = 195;
    128 export def SYS_freebsd11_getdirentries: u64 = 196;
    129 export def SYS___syscall: u64 = 198;
    130 export def SYS___sysctl: u64 = 202;
    131 export def SYS_mlock: u64 = 203;
    132 export def SYS_munlock: u64 = 204;
    133 export def SYS_undelete: u64 = 205;
    134 export def SYS_futimes: u64 = 206;
    135 export def SYS_getpgid: u64 = 207;
    136 export def SYS_poll: u64 = 209;
    137 export def SYS_freebsd7___semctl: u64 = 220;
    138 export def SYS_semget: u64 = 221;
    139 export def SYS_semop: u64 = 222;
    140 export def SYS_freebsd7_msgctl: u64 = 224;
    141 export def SYS_msgget: u64 = 225;
    142 export def SYS_msgsnd: u64 = 226;
    143 export def SYS_msgrcv: u64 = 227;
    144 export def SYS_shmat: u64 = 228;
    145 export def SYS_freebsd7_shmctl: u64 = 229;
    146 export def SYS_shmdt: u64 = 230;
    147 export def SYS_shmget: u64 = 231;
    148 export def SYS_clock_gettime: u64 = 232;
    149 export def SYS_clock_settime: u64 = 233;
    150 export def SYS_clock_getres: u64 = 234;
    151 export def SYS_ktimer_create: u64 = 235;
    152 export def SYS_ktimer_delete: u64 = 236;
    153 export def SYS_ktimer_settime: u64 = 237;
    154 export def SYS_ktimer_gettime: u64 = 238;
    155 export def SYS_ktimer_getoverrun: u64 = 239;
    156 export def SYS_nanosleep: u64 = 240;
    157 export def SYS_ffclock_getcounter: u64 = 241;
    158 export def SYS_ffclock_setestimate: u64 = 242;
    159 export def SYS_ffclock_getestimate: u64 = 243;
    160 export def SYS_clock_nanosleep: u64 = 244;
    161 export def SYS_clock_getcpuclockid2: u64 = 247;
    162 export def SYS_ntp_gettime: u64 = 248;
    163 export def SYS_minherit: u64 = 250;
    164 export def SYS_rfork: u64 = 251;
    165 export def SYS_issetugid: u64 = 253;
    166 export def SYS_lchown: u64 = 254;
    167 export def SYS_aio_read: u64 = 255;
    168 export def SYS_aio_write: u64 = 256;
    169 export def SYS_lio_listio: u64 = 257;
    170 export def SYS_freebsd11_getdents: u64 = 272;
    171 export def SYS_lchmod: u64 = 274;
    172 export def SYS_lutimes: u64 = 276;
    173 export def SYS_freebsd11_nstat: u64 = 278;
    174 export def SYS_freebsd11_nfstat: u64 = 279;
    175 export def SYS_freebsd11_nlstat: u64 = 280;
    176 export def SYS_preadv: u64 = 289;
    177 export def SYS_pwritev: u64 = 290;
    178 export def SYS_fhopen: u64 = 298;
    179 export def SYS_freebsd11_fhstat: u64 = 299;
    180 export def SYS_modnext: u64 = 300;
    181 export def SYS_modstat: u64 = 301;
    182 export def SYS_modfnext: u64 = 302;
    183 export def SYS_modfind: u64 = 303;
    184 export def SYS_kldload: u64 = 304;
    185 export def SYS_kldunload: u64 = 305;
    186 export def SYS_kldfind: u64 = 306;
    187 export def SYS_kldnext: u64 = 307;
    188 export def SYS_kldstat: u64 = 308;
    189 export def SYS_kldfirstmod: u64 = 309;
    190 export def SYS_getsid: u64 = 310;
    191 export def SYS_setresuid: u64 = 311;
    192 export def SYS_setresgid: u64 = 312;
    193 export def SYS_aio_return: u64 = 314;
    194 export def SYS_aio_suspend: u64 = 315;
    195 export def SYS_aio_cancel: u64 = 316;
    196 export def SYS_aio_error: u64 = 317;
    197 export def SYS_yield: u64 = 321;
    198 export def SYS_mlockall: u64 = 324;
    199 export def SYS_munlockall: u64 = 325;
    200 export def SYS___getcwd: u64 = 326;
    201 export def SYS_sched_setparam: u64 = 327;
    202 export def SYS_sched_getparam: u64 = 328;
    203 export def SYS_sched_setscheduler: u64 = 329;
    204 export def SYS_sched_getscheduler: u64 = 330;
    205 export def SYS_sched_yield: u64 = 331;
    206 export def SYS_sched_get_priority_max: u64 = 332;
    207 export def SYS_sched_get_priority_min: u64 = 333;
    208 export def SYS_sched_rr_get_u64erval: u64 = 334;
    209 export def SYS_utrace: u64 = 335;
    210 export def SYS_kldsym: u64 = 337;
    211 export def SYS_jail: u64 = 338;
    212 export def SYS_nnpfs_syscall: u64 = 339;
    213 export def SYS_sigprocmask: u64 = 340;
    214 export def SYS_sigsuspend: u64 = 341;
    215 export def SYS_sigpending: u64 = 343;
    216 export def SYS_sigtimedwait: u64 = 345;
    217 export def SYS_sigwaitinfo: u64 = 346;
    218 export def SYS___acl_get_file: u64 = 347;
    219 export def SYS___acl_set_file: u64 = 348;
    220 export def SYS___acl_get_fd: u64 = 349;
    221 export def SYS___acl_set_fd: u64 = 350;
    222 export def SYS___acl_delete_file: u64 = 351;
    223 export def SYS___acl_delete_fd: u64 = 352;
    224 export def SYS___acl_aclcheck_file: u64 = 353;
    225 export def SYS___acl_aclcheck_fd: u64 = 354;
    226 export def SYS_extattrctl: u64 = 355;
    227 export def SYS_extattr_set_file: u64 = 356;
    228 export def SYS_extattr_get_file: u64 = 357;
    229 export def SYS_extattr_delete_file: u64 = 358;
    230 export def SYS_aio_waitcomplete: u64 = 359;
    231 export def SYS_getresuid: u64 = 360;
    232 export def SYS_getresgid: u64 = 361;
    233 export def SYS_kqueue: u64 = 362;
    234 export def SYS_freebsd11_kevent: u64 = 363;
    235 export def SYS_extattr_set_fd: u64 = 371;
    236 export def SYS_extattr_get_fd: u64 = 372;
    237 export def SYS_extattr_delete_fd: u64 = 373;
    238 export def SYS___setugid: u64 = 374;
    239 export def SYS_eaccess: u64 = 376;
    240 export def SYS_afs3_syscall: u64 = 377;
    241 export def SYS_nmount: u64 = 378;
    242 export def SYS___mac_get_proc: u64 = 384;
    243 export def SYS___mac_set_proc: u64 = 385;
    244 export def SYS___mac_get_fd: u64 = 386;
    245 export def SYS___mac_get_file: u64 = 387;
    246 export def SYS___mac_set_fd: u64 = 388;
    247 export def SYS___mac_set_file: u64 = 389;
    248 export def SYS_kenv: u64 = 390;
    249 export def SYS_lchflags: u64 = 391;
    250 export def SYS_uuidgen: u64 = 392;
    251 export def SYS_sendfile: u64 = 393;
    252 export def SYS_mac_syscall: u64 = 394;
    253 export def SYS_freebsd11_getfsstat: u64 = 395;
    254 export def SYS_freebsd11_statfs: u64 = 396;
    255 export def SYS_freebsd11_fstatfs: u64 = 397;
    256 export def SYS_freebsd11_fhstatfs: u64 = 398;
    257 export def SYS_ksem_close: u64 = 400;
    258 export def SYS_ksem_post: u64 = 401;
    259 export def SYS_ksem_wait: u64 = 402;
    260 export def SYS_ksem_trywait: u64 = 403;
    261 export def SYS_ksem_init: u64 = 404;
    262 export def SYS_ksem_open: u64 = 405;
    263 export def SYS_ksem_unlink: u64 = 406;
    264 export def SYS_ksem_getvalue: u64 = 407;
    265 export def SYS_ksem_destroy: u64 = 408;
    266 export def SYS___mac_get_pid: u64 = 409;
    267 export def SYS___mac_get_link: u64 = 410;
    268 export def SYS___mac_set_link: u64 = 411;
    269 export def SYS_extattr_set_link: u64 = 412;
    270 export def SYS_extattr_get_link: u64 = 413;
    271 export def SYS_extattr_delete_link: u64 = 414;
    272 export def SYS___mac_execve: u64 = 415;
    273 export def SYS_sigaction: u64 = 416;
    274 export def SYS_sigreturn: u64 = 417;
    275 export def SYS_getcontext: u64 = 421;
    276 export def SYS_setcontext: u64 = 422;
    277 export def SYS_swapcontext: u64 = 423;
    278 export def SYS_swapoff: u64 = 424;
    279 export def SYS___acl_get_link: u64 = 425;
    280 export def SYS___acl_set_link: u64 = 426;
    281 export def SYS___acl_delete_link: u64 = 427;
    282 export def SYS___acl_aclcheck_link: u64 = 428;
    283 export def SYS_sigwait: u64 = 429;
    284 export def SYS_thr_create: u64 = 430;
    285 export def SYS_thr_exit: u64 = 431;
    286 export def SYS_thr_self: u64 = 432;
    287 export def SYS_thr_kill: u64 = 433;
    288 export def SYS_jail_attach: u64 = 436;
    289 export def SYS_extattr_list_fd: u64 = 437;
    290 export def SYS_extattr_list_file: u64 = 438;
    291 export def SYS_extattr_list_link: u64 = 439;
    292 export def SYS_ksem_timedwait: u64 = 441;
    293 export def SYS_thr_suspend: u64 = 442;
    294 export def SYS_thr_wake: u64 = 443;
    295 export def SYS_kldunloadf: u64 = 444;
    296 export def SYS_audit: u64 = 445;
    297 export def SYS_auditon: u64 = 446;
    298 export def SYS_getauid: u64 = 447;
    299 export def SYS_setauid: u64 = 448;
    300 export def SYS_getaudit: u64 = 449;
    301 export def SYS_setaudit: u64 = 450;
    302 export def SYS_getaudit_addr: u64 = 451;
    303 export def SYS_setaudit_addr: u64 = 452;
    304 export def SYS_auditctl: u64 = 453;
    305 export def SYS__umtx_op: u64 = 454;
    306 export def SYS_thr_new: u64 = 455;
    307 export def SYS_sigqueue: u64 = 456;
    308 export def SYS_kmq_open: u64 = 457;
    309 export def SYS_kmq_setattr: u64 = 458;
    310 export def SYS_kmq_timedreceive: u64 = 459;
    311 export def SYS_kmq_timedsend: u64 = 460;
    312 export def SYS_kmq_notify: u64 = 461;
    313 export def SYS_kmq_unlink: u64 = 462;
    314 export def SYS_abort2: u64 = 463;
    315 export def SYS_thr_set_name: u64 = 464;
    316 export def SYS_aio_fsync: u64 = 465;
    317 export def SYS_rtprio_thread: u64 = 466;
    318 export def SYS_sctp_peeloff: u64 = 471;
    319 export def SYS_sctp_generic_sendmsg: u64 = 472;
    320 export def SYS_sctp_generic_sendmsg_iov: u64 = 473;
    321 export def SYS_sctp_generic_recvmsg: u64 = 474;
    322 export def SYS_pread: u64 = 475;
    323 export def SYS_pwrite: u64 = 476;
    324 export def SYS_mmap: u64 = 477;
    325 export def SYS_lseek: u64 = 478;
    326 export def SYS_truncate: u64 = 479;
    327 export def SYS_ftruncate: u64 = 480;
    328 export def SYS_thr_kill2: u64 = 481;
    329 export def SYS_freebsd12_shm_open: u64 = 482;
    330 export def SYS_shm_unlink: u64 = 483;
    331 export def SYS_cpuset: u64 = 484;
    332 export def SYS_cpuset_setid: u64 = 485;
    333 export def SYS_cpuset_getid: u64 = 486;
    334 export def SYS_cpuset_getaffinity: u64 = 487;
    335 export def SYS_cpuset_setaffinity: u64 = 488;
    336 export def SYS_faccessat: u64 = 489;
    337 export def SYS_fchmodat: u64 = 490;
    338 export def SYS_fchownat: u64 = 491;
    339 export def SYS_fexecve: u64 = 492;
    340 export def SYS_freebsd11_fstatat: u64 = 493;
    341 export def SYS_futimesat: u64 = 494;
    342 export def SYS_linkat: u64 = 495;
    343 export def SYS_mkdirat: u64 = 496;
    344 export def SYS_mkfifoat: u64 = 497;
    345 export def SYS_freebsd11_mknodat: u64 = 498;
    346 export def SYS_openat: u64 = 499;
    347 export def SYS_readlinkat: u64 = 500;
    348 export def SYS_renameat: u64 = 501;
    349 export def SYS_symlinkat: u64 = 502;
    350 export def SYS_unlinkat: u64 = 503;
    351 export def SYS_posix_openpt: u64 = 504;
    352 export def SYS_gssd_syscall: u64 = 505;
    353 export def SYS_jail_get: u64 = 506;
    354 export def SYS_jail_set: u64 = 507;
    355 export def SYS_jail_remove: u64 = 508;
    356 export def SYS_freebsd12_closefrom: u64 = 509;
    357 export def SYS___semctl: u64 = 510;
    358 export def SYS_msgctl: u64 = 511;
    359 export def SYS_shmctl: u64 = 512;
    360 export def SYS_lpathconf: u64 = 513;
    361 export def SYS___cap_rights_get: u64 = 515;
    362 export def SYS_cap_enter: u64 = 516;
    363 export def SYS_cap_getmode: u64 = 517;
    364 export def SYS_pdfork: u64 = 518;
    365 export def SYS_pdkill: u64 = 519;
    366 export def SYS_pdgetpid: u64 = 520;
    367 export def SYS_pselect: u64 = 522;
    368 export def SYS_getloginclass: u64 = 523;
    369 export def SYS_setloginclass: u64 = 524;
    370 export def SYS_rctl_get_racct: u64 = 525;
    371 export def SYS_rctl_get_rules: u64 = 526;
    372 export def SYS_rctl_get_limits: u64 = 527;
    373 export def SYS_rctl_add_rule: u64 = 528;
    374 export def SYS_rctl_remove_rule: u64 = 529;
    375 export def SYS_posix_fallocate: u64 = 530;
    376 export def SYS_posix_fadvise: u64 = 531;
    377 export def SYS_wait6: u64 = 532;
    378 export def SYS_cap_rights_limit: u64 = 533;
    379 export def SYS_cap_ioctls_limit: u64 = 534;
    380 export def SYS_cap_ioctls_get: u64 = 535;
    381 export def SYS_cap_fcntls_limit: u64 = 536;
    382 export def SYS_cap_fcntls_get: u64 = 537;
    383 export def SYS_bindat: u64 = 538;
    384 export def SYS_connectat: u64 = 539;
    385 export def SYS_chflagsat: u64 = 540;
    386 export def SYS_accept4: u64 = 541;
    387 export def SYS_pipe2: u64 = 542;
    388 export def SYS_aio_mlock: u64 = 543;
    389 export def SYS_procctl: u64 = 544;
    390 export def SYS_ppoll: u64 = 545;
    391 export def SYS_futimens: u64 = 546;
    392 export def SYS_utimensat: u64 = 547;
    393 export def SYS_fdatasync: u64 = 550;
    394 export def SYS_fstat: u64 = 551;
    395 export def SYS_fstatat: u64 = 552;
    396 export def SYS_fhstat: u64 = 553;
    397 export def SYS_getdirentries: u64 = 554;
    398 export def SYS_statfs: u64 = 555;
    399 export def SYS_fstatfs: u64 = 556;
    400 export def SYS_getfsstat: u64 = 557;
    401 export def SYS_fhstatfs: u64 = 558;
    402 export def SYS_mknodat: u64 = 559;
    403 export def SYS_kevent: u64 = 560;
    404 export def SYS_cpuset_getdomain: u64 = 561;
    405 export def SYS_cpuset_setdomain: u64 = 562;
    406 export def SYS_getrandom: u64 = 563;
    407 export def SYS_getfhat: u64 = 564;
    408 export def SYS_fhlink: u64 = 565;
    409 export def SYS_fhlinkat: u64 = 566;
    410 export def SYS_fhreadlink: u64 = 567;
    411 export def SYS_funlinkat: u64 = 568;
    412 export def SYS_copy_file_range: u64 = 569;
    413 export def SYS___sysctlbyname: u64 = 570;
    414 export def SYS_shm_open2: u64 = 571;
    415 export def SYS_shm_rename: u64 = 572;
    416 export def SYS_sigfastblock: u64 = 573;
    417 export def SYS___realpathat: u64 = 574;
    418 export def SYS_close_range: u64 = 575;
    419 export def SYS_rpctls_syscall: u64 = 576;
    420 export def SYS___specialfd: u64 = 577;
    421 export def SYS_aio_writev: u64 = 578;
    422 export def SYS_aio_readv: u64 = 579;