lisette-stdlib 0.2.3

Little language inspired by Rust that compiles to Go
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
// Generated by Lisette bindgen
// Source: syscall (Go stdlib)
// Go: 1.25.10
// Lisette: 0.2.1

import "go:sync"

pub enum Errno: uintptr {
  E2BIG = 7,
  EACCES = 13,
  EADDRINUSE = 98,
  EADDRNOTAVAIL = 99,
  EADV = 68,
  EAFNOSUPPORT = 97,
  EAGAIN = 11,
  EALREADY = 114,
  EBADE = 52,
  EBADF = 9,
  EBADFD = 77,
  EBADMSG = 74,
  EBADR = 53,
  EBADRQC = 56,
  EBADSLT = 57,
  EBFONT = 59,
  EBUSY = 16,
  ECANCELED = 125,
  ECHILD = 10,
  ECHRNG = 44,
  ECOMM = 70,
  ECONNABORTED = 103,
  ECONNREFUSED = 111,
  ECONNRESET = 104,
  EDEADLK = 35,
  EDEADLOCK = 35,
  EDESTADDRREQ = 89,
  EDOM = 33,
  EDOTDOT = 73,
  EDQUOT = 122,
  EEXIST = 17,
  EFAULT = 14,
  EFBIG = 27,
  EHOSTDOWN = 112,
  EHOSTUNREACH = 113,
  EHWPOISON = 133,
  EIDRM = 43,
  EILSEQ = 84,
  EINPROGRESS = 115,
  EINTR = 4,
  EINVAL = 22,
  EIO = 5,
  EISCONN = 106,
  EISDIR = 21,
  EISNAM = 120,
  EKEYEXPIRED = 127,
  EKEYREJECTED = 129,
  EKEYREVOKED = 128,
  EL2HLT = 51,
  EL2NSYNC = 45,
  EL3HLT = 46,
  EL3RST = 47,
  ELIBACC = 79,
  ELIBBAD = 80,
  ELIBEXEC = 83,
  ELIBMAX = 82,
  ELIBSCN = 81,
  ELNRNG = 48,
  ELOOP = 40,
  EMEDIUMTYPE = 124,
  EMFILE = 24,
  EMLINK = 31,
  EMSGSIZE = 90,
  EMULTIHOP = 72,
  ENAMETOOLONG = 36,
  ENAVAIL = 119,
  ENETDOWN = 100,
  ENETRESET = 102,
  ENETUNREACH = 101,
  ENFILE = 23,
  ENOANO = 55,
  ENOBUFS = 105,
  ENOCSI = 50,
  ENODATA = 61,
  ENODEV = 19,
  ENOENT = 2,
  ENOEXEC = 8,
  ENOKEY = 126,
  ENOLCK = 37,
  ENOLINK = 67,
  ENOMEDIUM = 123,
  ENOMEM = 12,
  ENOMSG = 42,
  ENONET = 64,
  ENOPKG = 65,
  ENOPROTOOPT = 92,
  ENOSPC = 28,
  ENOSR = 63,
  ENOSTR = 60,
  ENOSYS = 38,
  ENOTBLK = 15,
  ENOTCONN = 107,
  ENOTDIR = 20,
  ENOTEMPTY = 39,
  ENOTNAM = 118,
  ENOTRECOVERABLE = 131,
  ENOTSOCK = 88,
  ENOTSUP = 95,
  ENOTTY = 25,
  ENOTUNIQ = 76,
  ENXIO = 6,
  EOPNOTSUPP = 95,
  EOVERFLOW = 75,
  EOWNERDEAD = 130,
  EPERM = 1,
  EPFNOSUPPORT = 96,
  EPIPE = 32,
  EPROTO = 71,
  EPROTONOSUPPORT = 93,
  EPROTOTYPE = 91,
  ERANGE = 34,
  EREMCHG = 78,
  EREMOTE = 66,
  EREMOTEIO = 121,
  ERESTART = 85,
  ERFKILL = 132,
  EROFS = 30,
  ESHUTDOWN = 108,
  ESOCKTNOSUPPORT = 94,
  ESPIPE = 29,
  ESRCH = 3,
  ESRMNT = 69,
  ESTALE = 116,
  ESTRPIPE = 86,
  ETIME = 62,
  ETIMEDOUT = 110,
  ETOOMANYREFS = 109,
  ETXTBSY = 26,
  EUCLEAN = 117,
  EUNATCH = 49,
  EUSERS = 87,
  EWOULDBLOCK = 11,
  EXDEV = 18,
  EXFULL = 54,
}

/// Errors
pub const E2BIG: Errno = 7

/// Errors
pub const EACCES: Errno = 13

/// Errors
pub const EADDRINUSE: Errno = 98

/// Errors
pub const EADDRNOTAVAIL: Errno = 99

/// Errors
pub const EADV: Errno = 68

/// Errors
pub const EAFNOSUPPORT: Errno = 97

/// Errors
pub const EAGAIN: Errno = 11

/// Errors
pub const EALREADY: Errno = 114

/// Errors
pub const EBADE: Errno = 52

/// Errors
pub const EBADF: Errno = 9

/// Errors
pub const EBADFD: Errno = 77

/// Errors
pub const EBADMSG: Errno = 74

/// Errors
pub const EBADR: Errno = 53

/// Errors
pub const EBADRQC: Errno = 56

/// Errors
pub const EBADSLT: Errno = 57

/// Errors
pub const EBFONT: Errno = 59

/// Errors
pub const EBUSY: Errno = 16

/// Errors
pub const ECANCELED: Errno = 125

/// Errors
pub const ECHILD: Errno = 10

/// Errors
pub const ECHRNG: Errno = 44

/// Errors
pub const ECOMM: Errno = 70

/// Errors
pub const ECONNABORTED: Errno = 103

/// Errors
pub const ECONNREFUSED: Errno = 111

/// Errors
pub const ECONNRESET: Errno = 104

/// Errors
pub const EDEADLK: Errno = 35

/// Errors
pub const EDEADLOCK: Errno = 35

/// Errors
pub const EDESTADDRREQ: Errno = 89

/// Errors
pub const EDOM: Errno = 33

/// Errors
pub const EDOTDOT: Errno = 73

/// Errors
pub const EDQUOT: Errno = 122

/// Errors
pub const EEXIST: Errno = 17

/// Errors
pub const EFAULT: Errno = 14

/// Errors
pub const EFBIG: Errno = 27

/// Errors
pub const EHOSTDOWN: Errno = 112

/// Errors
pub const EHOSTUNREACH: Errno = 113

/// Errors
pub const EHWPOISON: Errno = 133

/// Errors
pub const EIDRM: Errno = 43

/// Errors
pub const EILSEQ: Errno = 84

/// Errors
pub const EINPROGRESS: Errno = 115

/// Errors
pub const EINTR: Errno = 4

/// Errors
pub const EINVAL: Errno = 22

/// Errors
pub const EIO: Errno = 5

/// Errors
pub const EISCONN: Errno = 106

/// Errors
pub const EISDIR: Errno = 21

/// Errors
pub const EISNAM: Errno = 120

/// Errors
pub const EKEYEXPIRED: Errno = 127

/// Errors
pub const EKEYREJECTED: Errno = 129

/// Errors
pub const EKEYREVOKED: Errno = 128

/// Errors
pub const EL2HLT: Errno = 51

/// Errors
pub const EL2NSYNC: Errno = 45

/// Errors
pub const EL3HLT: Errno = 46

/// Errors
pub const EL3RST: Errno = 47

/// Errors
pub const ELIBACC: Errno = 79

/// Errors
pub const ELIBBAD: Errno = 80

/// Errors
pub const ELIBEXEC: Errno = 83

/// Errors
pub const ELIBMAX: Errno = 82

/// Errors
pub const ELIBSCN: Errno = 81

/// Errors
pub const ELNRNG: Errno = 48

/// Errors
pub const ELOOP: Errno = 40

/// Errors
pub const EMEDIUMTYPE: Errno = 124

/// Errors
pub const EMFILE: Errno = 24

/// Errors
pub const EMLINK: Errno = 31

/// Errors
pub const EMSGSIZE: Errno = 90

/// Errors
pub const EMULTIHOP: Errno = 72

/// Errors
pub const ENAMETOOLONG: Errno = 36

/// Errors
pub const ENAVAIL: Errno = 119

/// Errors
pub const ENETDOWN: Errno = 100

/// Errors
pub const ENETRESET: Errno = 102

/// Errors
pub const ENETUNREACH: Errno = 101

/// Errors
pub const ENFILE: Errno = 23

/// Errors
pub const ENOANO: Errno = 55

/// Errors
pub const ENOBUFS: Errno = 105

/// Errors
pub const ENOCSI: Errno = 50

/// Errors
pub const ENODATA: Errno = 61

/// Errors
pub const ENODEV: Errno = 19

/// Errors
pub const ENOENT: Errno = 2

/// Errors
pub const ENOEXEC: Errno = 8

/// Errors
pub const ENOKEY: Errno = 126

/// Errors
pub const ENOLCK: Errno = 37

/// Errors
pub const ENOLINK: Errno = 67

/// Errors
pub const ENOMEDIUM: Errno = 123

/// Errors
pub const ENOMEM: Errno = 12

/// Errors
pub const ENOMSG: Errno = 42

/// Errors
pub const ENONET: Errno = 64

/// Errors
pub const ENOPKG: Errno = 65

/// Errors
pub const ENOPROTOOPT: Errno = 92

/// Errors
pub const ENOSPC: Errno = 28

/// Errors
pub const ENOSR: Errno = 63

/// Errors
pub const ENOSTR: Errno = 60

/// Errors
pub const ENOSYS: Errno = 38

/// Errors
pub const ENOTBLK: Errno = 15

/// Errors
pub const ENOTCONN: Errno = 107

/// Errors
pub const ENOTDIR: Errno = 20

/// Errors
pub const ENOTEMPTY: Errno = 39

/// Errors
pub const ENOTNAM: Errno = 118

/// Errors
pub const ENOTRECOVERABLE: Errno = 131

/// Errors
pub const ENOTSOCK: Errno = 88

/// Errors
pub const ENOTSUP: Errno = 95

/// Errors
pub const ENOTTY: Errno = 25

/// Errors
pub const ENOTUNIQ: Errno = 76

/// Errors
pub const ENXIO: Errno = 6

/// Errors
pub const EOPNOTSUPP: Errno = 95

/// Errors
pub const EOVERFLOW: Errno = 75

/// Errors
pub const EOWNERDEAD: Errno = 130

/// Errors
pub const EPERM: Errno = 1

/// Errors
pub const EPFNOSUPPORT: Errno = 96

/// Errors
pub const EPIPE: Errno = 32

/// Errors
pub const EPROTO: Errno = 71

/// Errors
pub const EPROTONOSUPPORT: Errno = 93

/// Errors
pub const EPROTOTYPE: Errno = 91

/// Errors
pub const ERANGE: Errno = 34

/// Errors
pub const EREMCHG: Errno = 78

/// Errors
pub const EREMOTE: Errno = 66

/// Errors
pub const EREMOTEIO: Errno = 121

/// Errors
pub const ERESTART: Errno = 85

/// Errors
pub const ERFKILL: Errno = 132

/// Errors
pub const EROFS: Errno = 30

/// Errors
pub const ESHUTDOWN: Errno = 108

/// Errors
pub const ESOCKTNOSUPPORT: Errno = 94

/// Errors
pub const ESPIPE: Errno = 29

/// Errors
pub const ESRCH: Errno = 3

/// Errors
pub const ESRMNT: Errno = 69

/// Errors
pub const ESTALE: Errno = 116

/// Errors
pub const ESTRPIPE: Errno = 86

/// Errors
pub const ETIME: Errno = 62

/// Errors
pub const ETIMEDOUT: Errno = 110

/// Errors
pub const ETOOMANYREFS: Errno = 109

/// Errors
pub const ETXTBSY: Errno = 26

/// Errors
pub const EUCLEAN: Errno = 117

/// Errors
pub const EUNATCH: Errno = 49

/// Errors
pub const EUSERS: Errno = 87

/// Errors
pub const EWOULDBLOCK: Errno = 11

/// Errors
pub const EXDEV: Errno = 18

/// Errors
pub const EXFULL: Errno = 54

pub enum Signal: int {
  SIGABRT = 6,
  SIGALRM = 14,
  SIGBUS = 7,
  SIGCHLD = 17,
  SIGCLD = 17,
  SIGCONT = 18,
  SIGFPE = 8,
  SIGHUP = 1,
  SIGILL = 4,
  SIGINT = 2,
  SIGIO = 29,
  SIGIOT = 6,
  SIGKILL = 9,
  SIGPIPE = 13,
  SIGPOLL = 29,
  SIGPROF = 27,
  SIGPWR = 30,
  SIGQUIT = 3,
  SIGSEGV = 11,
  SIGSTKFLT = 16,
  SIGSTOP = 19,
  SIGSYS = 31,
  SIGTERM = 15,
  SIGTRAP = 5,
  SIGTSTP = 20,
  SIGTTIN = 21,
  SIGTTOU = 22,
  SIGUNUSED = 31,
  SIGURG = 23,
  SIGUSR1 = 10,
  SIGUSR2 = 12,
  SIGVTALRM = 26,
  SIGWINCH = 28,
  SIGXCPU = 24,
  SIGXFSZ = 25,
}

/// Signals
pub const SIGABRT: Signal = 6

/// Signals
pub const SIGALRM: Signal = 14

/// Signals
pub const SIGBUS: Signal = 7

/// Signals
pub const SIGCHLD: Signal = 17

/// Signals
pub const SIGCLD: Signal = 17

/// Signals
pub const SIGCONT: Signal = 18

/// Signals
pub const SIGFPE: Signal = 8

/// Signals
pub const SIGHUP: Signal = 1

/// Signals
pub const SIGILL: Signal = 4

/// Signals
pub const SIGINT: Signal = 2

/// Signals
pub const SIGIO: Signal = 29

/// Signals
pub const SIGIOT: Signal = 6

/// Signals
pub const SIGKILL: Signal = 9

/// Signals
pub const SIGPIPE: Signal = 13

/// Signals
pub const SIGPOLL: Signal = 29

/// Signals
pub const SIGPROF: Signal = 27

/// Signals
pub const SIGPWR: Signal = 30

/// Signals
pub const SIGQUIT: Signal = 3

/// Signals
pub const SIGSEGV: Signal = 11

/// Signals
pub const SIGSTKFLT: Signal = 16

/// Signals
pub const SIGSTOP: Signal = 19

/// Signals
pub const SIGSYS: Signal = 31

/// Signals
pub const SIGTERM: Signal = 15

/// Signals
pub const SIGTRAP: Signal = 5

/// Signals
pub const SIGTSTP: Signal = 20

/// Signals
pub const SIGTTIN: Signal = 21

/// Signals
pub const SIGTTOU: Signal = 22

/// Signals
pub const SIGUNUSED: Signal = 31

/// Signals
pub const SIGURG: Signal = 23

/// Signals
pub const SIGUSR1: Signal = 10

/// Signals
pub const SIGUSR2: Signal = 12

/// Signals
pub const SIGVTALRM: Signal = 26

/// Signals
pub const SIGWINCH: Signal = 28

/// Signals
pub const SIGXCPU: Signal = 24

/// Signals
pub const SIGXFSZ: Signal = 25

pub fn Accept(fd: int) -> Result<(int, Sockaddr), error>

pub fn Accept4(fd: int, flags: int) -> Result<(int, Sockaddr), error>

pub fn Access(path: string, mode: uint32) -> Result<(), error>

pub fn Acct(path: string) -> Result<(), error>

pub fn Adjtimex(buf: Ref<Timex>) -> Result<int, error>

/// AllThreadsSyscall performs a syscall on each OS thread of the Go
/// runtime. It first invokes the syscall on one thread. Should that
/// invocation fail, it returns immediately with the error status.
/// Otherwise, it invokes the syscall on all of the remaining threads
/// in parallel. It will terminate the program if it observes any
/// invoked syscall's return value differs from that of the first
/// invocation.
/// 
/// AllThreadsSyscall is intended for emulating simultaneous
/// process-wide state changes that require consistently modifying
/// per-thread state of the Go runtime.
/// 
/// AllThreadsSyscall is unaware of any threads that are launched
/// explicitly by cgo linked code, so the function always returns
/// [ENOTSUP] in binaries that use cgo.
pub fn AllThreadsSyscall(trap: uint, a1: uint, a2: uint, a3: uint) -> (uint, uint, Errno)

/// AllThreadsSyscall6 is like [AllThreadsSyscall], but extended to six
/// arguments.
pub fn AllThreadsSyscall6(
  trap: uint,
  a1: uint,
  a2: uint,
  a3: uint,
  a4: uint,
  a5: uint,
  a6: uint,
) -> (uint, uint, Errno)

/// Deprecated: Use golang.org/x/net/bpf instead.
pub fn AttachLsf(fd: int, i: Slice<SockFilter>) -> Result<(), error>

pub fn Bind(fd: int, sa: Sockaddr) -> Result<(), error>

/// BindToDevice binds the socket associated with fd to device.
pub fn BindToDevice(fd: int, device: string) -> Result<(), error>

/// BytePtrFromString returns a pointer to a NUL-terminated array of
/// bytes containing the text of s. If s contains a NUL byte at any
/// location, it returns (nil, [EINVAL]).
pub fn BytePtrFromString(s: string) -> Result<Ref<byte>, error>

/// ByteSliceFromString returns a NUL-terminated slice of bytes
/// containing the text of s. If s contains a NUL byte at any
/// location, it returns (nil, [EINVAL]).
pub fn ByteSliceFromString(s: string) -> Result<Slice<byte>, error>

pub fn Chdir(path: string) -> Result<(), error>

pub fn Chmod(path: string, mode: uint32) -> Result<(), error>

pub fn Chown(path: string, uid: int, gid: int) -> Result<(), error>

pub fn Chroot(path: string) -> Result<(), error>

pub fn Clearenv()

pub fn Close(fd: int) -> Result<(), error>

pub fn CloseOnExec(fd: int)

/// CmsgLen returns the value to store in the Len field of the [Cmsghdr]
/// structure, taking into account any necessary alignment.
pub fn CmsgLen(datalen: int) -> int

/// CmsgSpace returns the number of bytes an ancillary element with
/// payload of the passed data length occupies.
pub fn CmsgSpace(datalen: int) -> int

pub fn Connect(fd: int, sa: Sockaddr) -> Result<(), error>

pub fn Creat(path: string, mode: uint32) -> Result<int, error>

/// Deprecated: Use golang.org/x/net/bpf instead.
pub fn DetachLsf(fd: int) -> Result<(), error>

pub fn Dup(oldfd: int) -> Result<int, error>

pub fn Dup3(oldfd: int, newfd: int, flags: int) -> Result<(), error>

pub fn Environ() -> Slice<string>

pub fn EpollCreate(size: int) -> Result<int, error>

pub fn EpollCreate1(flag: int) -> Result<int, error>

pub fn EpollCtl(epfd: int, op: int, fd: int, event: Ref<EpollEvent>) -> Result<(), error>

pub fn EpollWait(epfd: int, events: Slice<EpollEvent>, msec: int) -> Result<int, error>

/// Exec invokes the execve(2) system call.
pub fn Exec(argv0: string, argv: Slice<string>, envv: Slice<string>) -> Result<(), error>

pub fn Exit(code: int)

pub fn Faccessat(dirfd: int, path: string, mode: uint32, flags: int) -> Result<(), error>

pub fn Fallocate(fd: int, mode: uint32, off: int64, len: int64) -> Result<(), error>

pub fn Fchdir(fd: int) -> Result<(), error>

pub fn Fchmod(fd: int, mode: uint32) -> Result<(), error>

pub fn Fchmodat(dirfd: int, path: string, mode: uint32, flags: int) -> Result<(), error>

pub fn Fchown(fd: int, uid: int, gid: int) -> Result<(), error>

pub fn Fchownat(dirfd: int, path: string, uid: int, gid: int, flags: int) -> Result<(), error>

/// FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
pub fn FcntlFlock(fd: uint, cmd: int, lk: Ref<Flock_t>) -> Result<(), error>

pub fn Fdatasync(fd: int) -> Result<(), error>

pub fn Flock(fd: int, how: int) -> Result<(), error>

/// Combination of fork and exec, careful to be thread safe.
pub fn ForkExec(argv0: string, argv: Slice<string>, attr: Ref<ProcAttr>) -> Result<int, error>

pub fn Fstat(fd: int, stat: Ref<Stat_t>) -> Result<(), error>

pub fn Fstatat(fd: int, path: string, stat: Ref<Stat_t>, flags: int) -> Result<(), error>

pub fn Fstatfs(fd: int, buf: Ref<Statfs_t>) -> Result<(), error>

pub fn Fsync(fd: int) -> Result<(), error>

pub fn Ftruncate(fd: int, length: int64) -> Result<(), error>

pub fn Futimes(fd: int, tv: Slice<Timeval>) -> Result<(), error>

pub fn Futimesat(dirfd: int, path: string, tv: Slice<Timeval>) -> Result<(), error>

pub fn Getcwd(buf: Slice<byte>) -> Result<int, error>

pub fn Getdents(fd: int, buf: Slice<byte>) -> Result<int, error>

pub fn Getegid() -> int

pub fn Getenv(key: string) -> Option<string>

pub fn Geteuid() -> int

pub fn Getgid() -> int

pub fn Getgroups() -> Result<Slice<int>, error>

pub fn Getpagesize() -> int

pub fn Getpeername(fd: int) -> Result<Sockaddr, error>

pub fn Getpgid(pid: int) -> Result<int, error>

pub fn Getpgrp() -> int

pub fn Getpid() -> int

pub fn Getppid() -> int

pub fn Getpriority(which: int, who: int) -> Result<int, error>

pub fn Getrlimit(resource: int, rlim: Ref<Rlimit>) -> Result<(), error>

pub fn Getrusage(who: int, rusage: Ref<Rusage>) -> Result<(), error>

pub fn Getsockname(fd: int) -> Result<Sockaddr, error>

pub fn GetsockoptICMPv6Filter(fd: int, level: int, opt: int) -> Result<Ref<ICMPv6Filter>, error>

pub fn GetsockoptIPMreq(fd: int, level: int, opt: int) -> Result<Ref<IPMreq>, error>

pub fn GetsockoptIPMreqn(fd: int, level: int, opt: int) -> Result<Ref<IPMreqn>, error>

pub fn GetsockoptIPv6MTUInfo(fd: int, level: int, opt: int) -> Result<Ref<IPv6MTUInfo>, error>

pub fn GetsockoptIPv6Mreq(fd: int, level: int, opt: int) -> Result<Ref<IPv6Mreq>, error>

pub fn GetsockoptInet4Addr(fd: int, level: int, opt: int) -> Result<Slice<byte>, error>

pub fn GetsockoptInt(fd: int, level: int, opt: int) -> Result<int, error>

pub fn GetsockoptUcred(fd: int, level: int, opt: int) -> Result<Ref<Ucred>, error>

pub fn Gettid() -> int

pub fn Gettimeofday(tv: Ref<Timeval>) -> Result<(), error>

pub fn Getuid() -> int

pub fn Getwd() -> Result<string, error>

pub fn Getxattr(path: string, attr: string, dest: Slice<byte>) -> Result<int, error>

pub fn InotifyAddWatch(fd: int, pathname: string, mask: uint32) -> Result<int, error>

pub fn InotifyInit() -> Result<int, error>

pub fn InotifyInit1(flags: int) -> Result<int, error>

pub fn InotifyRmWatch(fd: int, watchdesc: uint32) -> Result<int, error>

pub fn Kill(pid: int, sig: Signal) -> Result<(), error>

pub fn Klogctl(typ: int, buf: Slice<byte>) -> Result<int, error>

pub fn Lchown(path: string, uid: int, gid: int) -> Result<(), error>

pub fn Link(oldpath: string, newpath: string) -> Result<(), error>

pub fn Listen(s: int, n: int) -> Result<(), error>

pub fn Listxattr(path: string, dest: Slice<byte>) -> Result<int, error>

/// Deprecated: Use golang.org/x/net/bpf instead.
pub fn LsfJump(code: int, k: int, jt: int, jf: int) -> Ref<SockFilter>

/// Deprecated: Use golang.org/x/net/bpf instead.
pub fn LsfSocket(ifindex: int, proto: int) -> Result<int, error>

/// Deprecated: Use golang.org/x/net/bpf instead.
pub fn LsfStmt(code: int, k: int) -> Ref<SockFilter>

pub fn Lstat(path: string, stat: Ref<Stat_t>) -> Result<(), error>

pub fn Madvise(b: Slice<byte>, advice: int) -> Result<(), error>

pub fn Mkdir(path: string, mode: uint32) -> Result<(), error>

pub fn Mkdirat(dirfd: int, path: string, mode: uint32) -> Result<(), error>

pub fn Mkfifo(path: string, mode: uint32) -> Result<(), error>

pub fn Mknod(path: string, mode: uint32, dev: int) -> Result<(), error>

pub fn Mknodat(dirfd: int, path: string, mode: uint32, dev: int) -> Result<(), error>

pub fn Mlock(b: Slice<byte>) -> Result<(), error>

pub fn Mlockall(flags: int) -> Result<(), error>

pub fn Mmap(fd: int, offset: int64, length: int, prot: int, flags: int) -> Result<Slice<byte>, error>

pub fn Mount(
  source: string,
  target: string,
  fstype: string,
  flags: uint,
  data: string,
) -> Result<(), error>

pub fn Mprotect(b: Slice<byte>, prot: int) -> Result<(), error>

pub fn Munlock(b: Slice<byte>) -> Result<(), error>

pub fn Munlockall() -> Result<(), error>

pub fn Munmap(b: Slice<byte>) -> Result<(), error>

pub fn Nanosleep(time: Ref<Timespec>, leftover: Ref<Timespec>) -> Result<(), error>

/// NetlinkRIB returns routing information base, as known as RIB, which
/// consists of network facility information, states and parameters.
pub fn NetlinkRIB(proto: int, family: int) -> Result<Slice<byte>, error>

/// NsecToTimespec converts a number of nanoseconds into a [Timespec].
pub fn NsecToTimespec(nsec: int64) -> Timespec

/// NsecToTimeval converts a number of nanoseconds into a [Timeval].
pub fn NsecToTimeval(nsec: int64) -> Timeval

pub fn Open(path: string, mode: int, perm: uint32) -> Result<int, error>

pub fn Openat(dirfd: int, path: string, flags: int, mode: uint32) -> Result<int, error>

/// ParseDirent parses up to max directory entries in buf,
/// appending the names to names. It returns the number of
/// bytes consumed from buf, the number of entries added
/// to names, and the new names slice.
pub fn ParseDirent(buf: Slice<byte>, max: int, names: Slice<string>) -> (int, int, Slice<string>)

/// ParseNetlinkMessage parses b as an array of netlink messages and
/// returns the slice containing the NetlinkMessage structures.
pub fn ParseNetlinkMessage(b: Slice<byte>) -> Result<Slice<NetlinkMessage>, error>

/// ParseNetlinkRouteAttr parses m's payload as an array of netlink
/// route attributes and returns the slice containing the
/// NetlinkRouteAttr structures.
pub fn ParseNetlinkRouteAttr(m: Ref<NetlinkMessage>) -> Result<Slice<NetlinkRouteAttr>, error>

/// ParseSocketControlMessage parses b as an array of socket control
/// messages.
pub fn ParseSocketControlMessage(b: Slice<byte>) -> Result<Slice<SocketControlMessage>, error>

/// ParseUnixCredentials decodes a socket control message that contains
/// credentials in a Ucred structure. To receive such a message, the
/// SO_PASSCRED option must be enabled on the socket.
pub fn ParseUnixCredentials(m: Ref<SocketControlMessage>) -> Result<Ref<Ucred>, error>

/// ParseUnixRights decodes a socket control message that contains an
/// integer array of open file descriptors from another process.
pub fn ParseUnixRights(m: Ref<SocketControlMessage>) -> Result<Slice<int>, error>

pub fn Pause() -> Result<(), error>

pub fn Pipe(mut p: Slice<int>) -> Result<(), error>

pub fn Pipe2(p: Slice<int>, flags: int) -> Result<(), error>

pub fn PivotRoot(newroot: string, putold: string) -> Result<(), error>

pub fn Pread(fd: int, mut p: Slice<byte>, offset: int64) -> Result<int, error>

pub fn PtraceAttach(pid: int) -> Result<(), error>

pub fn PtraceCont(pid: int, signal: int) -> Result<(), error>

pub fn PtraceDetach(pid: int) -> Result<(), error>

pub fn PtraceGetEventMsg(pid: int) -> Result<uint, error>

pub fn PtraceGetRegs(pid: int, regsout: Ref<PtraceRegs>) -> Result<(), error>

pub fn PtracePeekData(pid: int, addr: uint, out: Slice<byte>) -> Result<int, error>

pub fn PtracePeekText(pid: int, addr: uint, out: Slice<byte>) -> Result<int, error>

pub fn PtracePokeData(pid: int, addr: uint, data: Slice<byte>) -> Result<int, error>

pub fn PtracePokeText(pid: int, addr: uint, data: Slice<byte>) -> Result<int, error>

pub fn PtraceSetOptions(pid: int, options: int) -> Result<(), error>

pub fn PtraceSetRegs(pid: int, regs: Ref<PtraceRegs>) -> Result<(), error>

pub fn PtraceSingleStep(pid: int) -> Result<(), error>

pub fn PtraceSyscall(pid: int, signal: int) -> Result<(), error>

pub fn Pwrite(fd: int, p: Slice<byte>, offset: int64) -> Result<int, error>

pub fn RawSyscall(trap: uint, a1: uint, a2: uint, a3: uint) -> (uint, uint, Errno)

pub fn RawSyscall6(
  trap: uint,
  a1: uint,
  a2: uint,
  a3: uint,
  a4: uint,
  a5: uint,
  a6: uint,
) -> (uint, uint, Errno)

pub fn Read(fd: int, mut p: Slice<byte>) -> Result<int, error>

pub fn ReadDirent(fd: int, mut buf: Slice<byte>) -> Result<int, error>

pub fn Readlink(path: string, mut buf: Slice<byte>) -> Result<int, error>

pub fn Reboot(cmd: int) -> Result<(), error>

pub fn Recvfrom(fd: int, mut p: Slice<byte>, flags: int) -> Result<(int, Sockaddr), error>

pub fn Recvmsg(fd: int, mut p: Slice<byte>, mut oob: Slice<byte>, flags: int) -> Result<(int, int, int, Sockaddr), error>

pub fn Removexattr(path: string, attr: string) -> Result<(), error>

pub fn Rename(oldpath: string, newpath: string) -> Result<(), error>

pub fn Renameat(olddirfd: int, oldpath: string, newdirfd: int, newpath: string) -> Result<(), error>

pub fn Rmdir(path: string) -> Result<(), error>

pub fn Seek(fd: int, offset: int64, whence: int) -> Result<int64, error>

pub fn Select(
  nfd: int,
  r: Ref<FdSet>,
  w: Ref<FdSet>,
  e: Ref<FdSet>,
  timeout: Ref<Timeval>,
) -> Result<int, error>

pub fn Sendfile(outfd: int, infd: int, offset: Ref<int64>, count: int) -> Result<int, error>

pub fn Sendmsg(
  fd: int,
  p: Slice<byte>,
  oob: Slice<byte>,
  to: Sockaddr,
  flags: int,
) -> Result<(), error>

pub fn SendmsgN(
  fd: int,
  p: Slice<byte>,
  oob: Slice<byte>,
  to: Sockaddr,
  flags: int,
) -> Result<int, error>

pub fn Sendto(fd: int, p: Slice<byte>, flags: int, to: Sockaddr) -> Result<(), error>

/// Deprecated: Use golang.org/x/net/bpf instead.
pub fn SetLsfPromisc(name: string, m: bool) -> Result<(), error>

pub fn SetNonblock(fd: int, nonblocking: bool) -> Result<(), error>

pub fn Setdomainname(p: Slice<byte>) -> Result<(), error>

pub fn Setegid(egid: int) -> Result<(), error>

pub fn Setenv(key: string, value: string) -> Result<(), error>

pub fn Seteuid(euid: int) -> Result<(), error>

pub fn Setfsgid(gid: int) -> Result<(), error>

pub fn Setfsuid(uid: int) -> Result<(), error>

pub fn Setgid(gid: int) -> Result<(), error>

pub fn Setgroups(gids: Slice<int>) -> Result<(), error>

pub fn Sethostname(p: Slice<byte>) -> Result<(), error>

pub fn Setpgid(pid: int, pgid: int) -> Result<(), error>

pub fn Setpriority(which: int, who: int, prio: int) -> Result<(), error>

pub fn Setregid(rgid: int, egid: int) -> Result<(), error>

pub fn Setresgid(rgid: int, egid: int, sgid: int) -> Result<(), error>

pub fn Setresuid(ruid: int, euid: int, suid: int) -> Result<(), error>

pub fn Setreuid(ruid: int, euid: int) -> Result<(), error>

pub fn Setrlimit(resource: int, rlim: Ref<Rlimit>) -> Result<(), error>

pub fn Setsid() -> Result<int, error>

pub fn SetsockoptByte(fd: int, level: int, opt: int, value: byte) -> Result<(), error>

pub fn SetsockoptICMPv6Filter(
  fd: int,
  level: int,
  opt: int,
  filter: Ref<ICMPv6Filter>,
) -> Result<(), error>

pub fn SetsockoptIPMreq(fd: int, level: int, opt: int, mreq: Ref<IPMreq>) -> Result<(), error>

pub fn SetsockoptIPMreqn(fd: int, level: int, opt: int, mreq: Ref<IPMreqn>) -> Result<(), error>

pub fn SetsockoptIPv6Mreq(fd: int, level: int, opt: int, mreq: Ref<IPv6Mreq>) -> Result<(), error>

// SKIPPED: SetsockoptInet4Addr - array-currently-not-representable
// fixed-size array cannot currently be represented in Lisette

pub fn SetsockoptInt(fd: int, level: int, opt: int, value: int) -> Result<(), error>

pub fn SetsockoptLinger(fd: int, level: int, opt: int, l: Ref<Linger>) -> Result<(), error>

pub fn SetsockoptString(fd: int, level: int, opt: int, s: string) -> Result<(), error>

pub fn SetsockoptTimeval(fd: int, level: int, opt: int, tv: Ref<Timeval>) -> Result<(), error>

pub fn Settimeofday(tv: Ref<Timeval>) -> Result<(), error>

pub fn Setuid(uid: int) -> Result<(), error>

pub fn Setxattr(path: string, attr: string, data: Slice<byte>, flags: int) -> Result<(), error>

pub fn Shutdown(fd: int, how: int) -> Result<(), error>

/// SlicePtrFromStrings converts a slice of strings to a slice of
/// pointers to NUL-terminated byte arrays. If any string contains
/// a NUL byte, it returns (nil, [EINVAL]).
pub fn SlicePtrFromStrings(ss: Slice<string>) -> Result<Slice<Ref<byte>>, error>

pub fn Socket(domain: int, typ: int, proto: int) -> Result<int, error>

pub fn Socketpair(domain: int, typ: int, proto: int) -> Result<Slice<int>, error>

pub fn Splice(
  rfd: int,
  roff: Ref<int64>,
  wfd: int,
  woff: Ref<int64>,
  len: int,
  flags: int,
) -> Result<int64, error>

/// StartProcess wraps [ForkExec] for package os.
pub fn StartProcess(argv0: string, argv: Slice<string>, attr: Ref<ProcAttr>) -> Result<(int, uint), error>

pub fn Stat(path: string, stat: Ref<Stat_t>) -> Result<(), error>

pub fn Statfs(path: string, buf: Ref<Statfs_t>) -> Result<(), error>

/// StringBytePtr returns a pointer to a NUL-terminated array of bytes.
/// If s contains a NUL byte this function panics instead of returning
/// an error.
/// 
/// Deprecated: Use [BytePtrFromString] instead.
pub fn StringBytePtr(s: string) -> Ref<byte>

/// StringByteSlice converts a string to a NUL-terminated []byte,
/// If s contains a NUL byte this function panics instead of
/// returning an error.
/// 
/// Deprecated: Use ByteSliceFromString instead.
pub fn StringByteSlice(s: string) -> Slice<byte>

/// StringSlicePtr converts a slice of strings to a slice of pointers
/// to NUL-terminated byte arrays. If any string contains a NUL byte
/// this function panics instead of returning an error.
/// 
/// Deprecated: Use [SlicePtrFromStrings] instead.
pub fn StringSlicePtr(ss: Slice<string>) -> Slice<Ref<byte>>

pub fn Symlink(oldpath: string, newpath: string) -> Result<(), error>

pub fn Sync()

pub fn SyncFileRange(fd: int, off: int64, n: int64, flags: int) -> Result<(), error>

pub fn Syscall(trap: uint, a1: uint, a2: uint, a3: uint) -> (uint, uint, Errno)

pub fn Syscall6(
  trap: uint,
  a1: uint,
  a2: uint,
  a3: uint,
  a4: uint,
  a5: uint,
  a6: uint,
) -> (uint, uint, Errno)

pub fn Sysinfo(info: Ref<Sysinfo_t>) -> Result<(), error>

pub fn Tee(rfd: int, wfd: int, len: int, flags: int) -> Result<int64, error>

pub fn Tgkill(tgid: int, tid: int, sig: Signal) -> Result<(), error>

pub fn Time(t: Ref<Time_t>) -> Result<Time_t, error>

pub fn Times(tms: Ref<Tms>) -> Result<uint, error>

/// TimespecToNsec returns the time stored in ts as nanoseconds.
pub fn TimespecToNsec(ts: Timespec) -> int64

/// TimevalToNsec returns the time stored in tv as nanoseconds.
pub fn TimevalToNsec(tv: Timeval) -> int64

pub fn Truncate(path: string, length: int64) -> Result<(), error>

pub fn Umask(mask: int) -> int

pub fn Uname(buf: Ref<Utsname>) -> Result<(), error>

/// UnixCredentials encodes credentials into a socket control message
/// for sending to another process. This can be used for
/// authentication.
pub fn UnixCredentials(ucred: Ref<Ucred>) -> Slice<byte>

/// UnixRights encodes a set of open file descriptors into a socket
/// control message for sending to another process.
pub fn UnixRights(fds: VarArgs<int>) -> Slice<byte>

pub fn Unlink(path: string) -> Result<(), error>

pub fn Unlinkat(dirfd: int, path: string) -> Result<(), error>

pub fn Unmount(target: string, flags: int) -> Result<(), error>

pub fn Unsetenv(key: string) -> Result<(), error>

pub fn Unshare(flags: int) -> Result<(), error>

pub fn Utime(path: string, buf: Ref<Utimbuf>) -> Result<(), error>

pub fn Utimes(path: string, tv: Slice<Timeval>) -> Result<(), error>

pub fn UtimesNano(path: string, ts: Slice<Timespec>) -> Result<(), error>

pub fn Wait4(
  pid: int,
  wstatus: Ref<WaitStatus>,
  options: int,
  rusage: Ref<Rusage>,
) -> Result<int, error>

pub fn Write(fd: int, p: Slice<byte>) -> Result<int, error>

pub struct Cmsghdr {
  pub Len: uint64,
  pub Level: int32,
  pub Type: int32,
}

/// Conn is implemented by some types in the net and os packages to provide
/// access to the underlying file descriptor or handle.
pub interface Conn {
  fn SyscallConn() -> Result<RawConn, error>
}

/// Credential holds user and group identities to be assumed
/// by a child process started by [StartProcess].
pub struct Credential {
  pub Uid: uint32,
  pub Gid: uint32,
  pub Groups: Slice<uint32>,
  pub NoSetGroups: bool,
}

pub struct Dirent {
  pub Ino: uint64,
  pub Off: int64,
  pub Reclen: uint16,
  pub Type: uint8,
  // SKIPPED field "Name": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  // SKIPPED field "Pad_cgo_0": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct EpollEvent {
  pub Events: uint32,
  pub Fd: int32,
  pub Pad: int32,
}

// SKIPPED field "Bits": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
pub type FdSet

pub struct Flock_t {
  pub Type: int16,
  pub Whence: int16,
  // SKIPPED field "Pad_cgo_0": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Start: int64,
  pub Len: int64,
  pub Pid: int32,
  // SKIPPED field "Pad_cgo_1": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

// SKIPPED field "X__val": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
pub type Fsid

// SKIPPED field "Data": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
pub type ICMPv6Filter

// SKIPPED field "Multiaddr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
// SKIPPED field "Interface": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
pub type IPMreq

pub struct IPMreqn {
  // SKIPPED field "Multiaddr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  // SKIPPED field "Address": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Ifindex: int32,
}

pub struct IPv6MTUInfo {
  pub Addr: RawSockaddrInet6,
  pub Mtu: uint32,
}

pub struct IPv6Mreq {
  // SKIPPED field "Multiaddr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Interface: uint32,
}

pub struct IfAddrmsg {
  pub Family: uint8,
  pub Prefixlen: uint8,
  pub Flags: uint8,
  pub Scope: uint8,
  pub Index: uint32,
}

pub struct IfInfomsg {
  pub Family: uint8,
  pub X__ifi_pad: uint8,
  pub Type: uint16,
  pub Index: int32,
  pub Flags: uint32,
  pub Change: uint32,
}

pub struct Inet4Pktinfo {
  pub Ifindex: int32,
  // SKIPPED field "Spec_dst": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  // SKIPPED field "Addr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct Inet6Pktinfo {
  // SKIPPED field "Addr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Ifindex: uint32,
}

pub struct InotifyEvent {
  pub Wd: int32,
  pub Mask: uint32,
  pub Cookie: uint32,
  pub Len: uint32,
  // SKIPPED field "Name": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct Iovec {
  pub Base: Option<Ref<byte>>,
  pub Len: uint64,
}

pub struct Linger {
  pub Onoff: int32,
  pub Linger: int32,
}

pub struct Msghdr {
  pub Name: Option<Ref<byte>>,
  pub Namelen: uint32,
  // SKIPPED field "Pad_cgo_0": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Iov: Option<Ref<Iovec>>,
  pub Iovlen: uint64,
  pub Control: Option<Ref<byte>>,
  pub Controllen: uint64,
  pub Flags: int32,
  // SKIPPED field "Pad_cgo_1": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

/// NetlinkMessage represents a netlink message.
pub struct NetlinkMessage {
  pub Header: NlMsghdr,
  pub Data: Slice<byte>,
}

/// NetlinkRouteAttr represents a netlink route attribute.
pub struct NetlinkRouteAttr {
  pub Attr: RtAttr,
  pub Value: Slice<byte>,
}

/// NetlinkRouteRequest represents a request message to receive routing
/// and link states from the kernel.
pub struct NetlinkRouteRequest {
  pub Header: NlMsghdr,
  pub Data: RtGenmsg,
}

pub struct NlAttr {
  pub Len: uint16,
  pub Type: uint16,
}

pub struct NlMsgerr {
  pub Error: int32,
  pub Msg: NlMsghdr,
}

pub struct NlMsghdr {
  pub Len: uint32,
  pub Type: uint16,
  pub Flags: uint16,
  pub Seq: uint32,
  pub Pid: uint32,
}

/// ProcAttr holds attributes that will be applied to a new process started
/// by [StartProcess].
pub struct ProcAttr {
  pub Dir: string,
  pub Env: Slice<string>,
  pub Files: Slice<uint>,
  pub Sys: Option<Ref<SysProcAttr>>,
}

pub struct PtraceRegs {
  // SKIPPED field "Regs": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Sp: uint64,
  pub Pc: uint64,
  pub Pstate: uint64,
}

/// A RawConn is a raw network connection.
pub interface RawConn {
  fn Control(f: fn(uint) -> ()) -> Result<(), error>
  fn Read(f: fn(uint) -> bool) -> Result<(), error>
  fn Write(f: fn(uint) -> bool) -> Result<(), error>
}

pub struct RawSockaddr {
  pub Family: uint16,
  // SKIPPED field "Data": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct RawSockaddrAny {
  pub Addr: RawSockaddr,
  // SKIPPED field "Pad": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct RawSockaddrInet4 {
  pub Family: uint16,
  pub Port: uint16,
  // SKIPPED field "Addr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  // SKIPPED field "Zero": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct RawSockaddrInet6 {
  pub Family: uint16,
  pub Port: uint16,
  pub Flowinfo: uint32,
  // SKIPPED field "Addr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Scope_id: uint32,
}

pub struct RawSockaddrLinklayer {
  pub Family: uint16,
  pub Protocol: uint16,
  pub Ifindex: int32,
  pub Hatype: uint16,
  pub Pkttype: uint8,
  pub Halen: uint8,
  // SKIPPED field "Addr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct RawSockaddrNetlink {
  pub Family: uint16,
  pub Pad: uint16,
  pub Pid: uint32,
  pub Groups: uint32,
}

pub struct RawSockaddrUnix {
  pub Family: uint16,
  // SKIPPED field "Path": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct Rlimit {
  pub Cur: uint64,
  pub Max: uint64,
}

pub struct RtAttr {
  pub Len: uint16,
  pub Type: uint16,
}

pub struct RtGenmsg {
  pub Family: uint8,
}

pub struct RtMsg {
  pub Family: uint8,
  pub Dst_len: uint8,
  pub Src_len: uint8,
  pub Tos: uint8,
  pub Table: uint8,
  pub Protocol: uint8,
  pub Scope: uint8,
  pub Type: uint8,
  pub Flags: uint32,
}

pub struct RtNexthop {
  pub Len: uint16,
  pub Flags: uint8,
  pub Hops: uint8,
  pub Ifindex: int32,
}

pub struct Rusage {
  pub Utime: Timeval,
  pub Stime: Timeval,
  pub Maxrss: int64,
  pub Ixrss: int64,
  pub Idrss: int64,
  pub Isrss: int64,
  pub Minflt: int64,
  pub Majflt: int64,
  pub Nswap: int64,
  pub Inblock: int64,
  pub Oublock: int64,
  pub Msgsnd: int64,
  pub Msgrcv: int64,
  pub Nsignals: int64,
  pub Nvcsw: int64,
  pub Nivcsw: int64,
}

pub struct SockFilter {
  pub Code: uint16,
  pub Jt: uint8,
  pub Jf: uint8,
  pub K: uint32,
}

pub struct SockFprog {
  pub Len: uint16,
  // SKIPPED field "Pad_cgo_0": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Filter: Option<Ref<SockFilter>>,
}

pub interface Sockaddr {}

pub struct SockaddrInet4 {
  pub Port: int,
  // SKIPPED field "Addr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct SockaddrInet6 {
  pub Port: int,
  pub ZoneId: uint32,
  // SKIPPED field "Addr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct SockaddrLinklayer {
  pub Protocol: uint16,
  pub Ifindex: int,
  pub Hatype: uint16,
  pub Pkttype: uint8,
  pub Halen: uint8,
  // SKIPPED field "Addr": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct SockaddrNetlink {
  pub Family: uint16,
  pub Pad: uint16,
  pub Pid: uint32,
  pub Groups: uint32,
}

pub struct SockaddrUnix {
  pub Name: string,
}

/// SocketControlMessage represents a socket control message.
pub struct SocketControlMessage {
  pub Header: Cmsghdr,
  pub Data: Slice<byte>,
}

pub struct Stat_t {
  pub Dev: uint64,
  pub Ino: uint64,
  pub Mode: uint32,
  pub Nlink: uint32,
  pub Uid: uint32,
  pub Gid: uint32,
  pub Rdev: uint64,
  pub X__pad1: uint64,
  pub Size: int64,
  pub Blksize: int32,
  pub X__pad2: int32,
  pub Blocks: int64,
  pub Atim: Timespec,
  pub Mtim: Timespec,
  pub Ctim: Timespec,
  // SKIPPED field "X__glibc_reserved": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct Statfs_t {
  pub Type: int64,
  pub Bsize: int64,
  pub Blocks: uint64,
  pub Bfree: uint64,
  pub Bavail: uint64,
  pub Files: uint64,
  pub Ffree: uint64,
  pub Fsid: Fsid,
  pub Namelen: int64,
  pub Frsize: int64,
  pub Flags: int64,
  // SKIPPED field "Spare": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct SysProcAttr {
  pub Chroot: string,
  pub Credential: Option<Ref<Credential>>,
  pub Ptrace: bool,
  pub Setsid: bool,
  pub Setpgid: bool,
  pub Setctty: bool,
  pub Noctty: bool,
  pub Ctty: int,
  pub Foreground: bool,
  pub Pgid: int,
  pub Pdeathsig: Signal,
  pub Cloneflags: uint,
  pub Unshareflags: uint,
  pub UidMappings: Slice<SysProcIDMap>,
  pub GidMappings: Slice<SysProcIDMap>,
  pub GidMappingsEnableSetgroups: bool,
  pub AmbientCaps: Slice<uint>,
  pub UseCgroupFD: bool,
  pub CgroupFD: int,
  pub PidFD: Option<int>,
}

/// SysProcIDMap holds Container ID to Host ID mappings used for User Namespaces in Linux.
/// See user_namespaces(7).
/// 
/// Note that User Namespaces are not available on a number of popular Linux
/// versions (due to security issues), or are available but subject to AppArmor
/// restrictions like in Ubuntu 24.04.
pub struct SysProcIDMap {
  pub ContainerID: int,
  pub HostID: int,
  pub Size: int,
}

pub struct Sysinfo_t {
  pub Uptime: int64,
  // SKIPPED field "Loads": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Totalram: uint64,
  pub Freeram: uint64,
  pub Sharedram: uint64,
  pub Bufferram: uint64,
  pub Totalswap: uint64,
  pub Freeswap: uint64,
  pub Procs: uint16,
  pub Pad: uint16,
  // SKIPPED field "Pad_cgo_0": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Totalhigh: uint64,
  pub Freehigh: uint64,
  pub Unit: uint32,
  // SKIPPED field "X_f": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  // SKIPPED field "Pad_cgo_1": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct TCPInfo {
  pub State: uint8,
  pub Ca_state: uint8,
  pub Retransmits: uint8,
  pub Probes: uint8,
  pub Backoff: uint8,
  pub Options: uint8,
  // SKIPPED field "Pad_cgo_0": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Rto: uint32,
  pub Ato: uint32,
  pub Snd_mss: uint32,
  pub Rcv_mss: uint32,
  pub Unacked: uint32,
  pub Sacked: uint32,
  pub Lost: uint32,
  pub Retrans: uint32,
  pub Fackets: uint32,
  pub Last_data_sent: uint32,
  pub Last_ack_sent: uint32,
  pub Last_data_recv: uint32,
  pub Last_ack_recv: uint32,
  pub Pmtu: uint32,
  pub Rcv_ssthresh: uint32,
  pub Rtt: uint32,
  pub Rttvar: uint32,
  pub Snd_ssthresh: uint32,
  pub Snd_cwnd: uint32,
  pub Advmss: uint32,
  pub Reordering: uint32,
  pub Rcv_rtt: uint32,
  pub Rcv_space: uint32,
  pub Total_retrans: uint32,
}

pub struct Termios {
  pub Iflag: uint32,
  pub Oflag: uint32,
  pub Cflag: uint32,
  pub Lflag: uint32,
  pub Line: uint8,
  // SKIPPED field "Cc": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  // SKIPPED field "Pad_cgo_0": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Ispeed: uint32,
  pub Ospeed: uint32,
}

pub struct Time_t(int64)

pub struct Timespec {
  pub Sec: int64,
  pub Nsec: int64,
}

pub struct Timeval {
  pub Sec: int64,
  pub Usec: int64,
}

pub struct Timex {
  pub Modes: uint32,
  // SKIPPED field "Pad_cgo_0": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Offset: int64,
  pub Freq: int64,
  pub Maxerror: int64,
  pub Esterror: int64,
  pub Status: int32,
  // SKIPPED field "Pad_cgo_1": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Constant: int64,
  pub Precision: int64,
  pub Tolerance: int64,
  pub Time: Timeval,
  pub Tick: int64,
  pub Ppsfreq: int64,
  pub Jitter: int64,
  pub Shift: int32,
  // SKIPPED field "Pad_cgo_2": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Stabil: int64,
  pub Jitcnt: int64,
  pub Calcnt: int64,
  pub Errcnt: int64,
  pub Stbcnt: int64,
  pub Tai: int32,
  // SKIPPED field "Pad_cgo_3": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct Tms {
  pub Utime: int64,
  pub Stime: int64,
  pub Cutime: int64,
  pub Cstime: int64,
}

pub struct Ucred {
  pub Pid: int32,
  pub Uid: uint32,
  pub Gid: uint32,
}

pub struct Ustat_t {
  pub Tfree: int32,
  // SKIPPED field "Pad_cgo_0": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  pub Tinode: uint64,
  // SKIPPED field "Fname": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  // SKIPPED field "Fpack": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
  // SKIPPED field "Pad_cgo_1": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
}

pub struct Utimbuf {
  pub Actime: int64,
  pub Modtime: int64,
}

// SKIPPED field "Sysname": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
// SKIPPED field "Nodename": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
// SKIPPED field "Release": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
// SKIPPED field "Version": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
// SKIPPED field "Machine": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
// SKIPPED field "Domainname": array-currently-not-representable — fixed-size array cannot currently be represented in Lisette
pub type Utsname

pub struct WaitStatus(uint32)

pub const AF_ALG = 0x26

pub const AF_APPLETALK = 0x5

pub const AF_ASH = 0x12

pub const AF_ATMPVC = 0x8

pub const AF_ATMSVC = 0x14

pub const AF_AX25 = 0x3

pub const AF_BLUETOOTH = 0x1f

pub const AF_BRIDGE = 0x7

pub const AF_CAIF = 0x25

pub const AF_CAN = 0x1d

pub const AF_DECnet = 0xc

pub const AF_ECONET = 0x13

pub const AF_FILE = 0x1

pub const AF_IEEE802154 = 0x24

pub const AF_INET = 0x2

pub const AF_INET6 = 0xa

pub const AF_IPX = 0x4

pub const AF_IRDA = 0x17

pub const AF_ISDN = 0x22

pub const AF_IUCV = 0x20

pub const AF_KEY = 0xf

pub const AF_LLC = 0x1a

pub const AF_LOCAL = 0x1

pub const AF_MAX = 0x29

pub const AF_NETBEUI = 0xd

pub const AF_NETLINK = 0x10

pub const AF_NETROM = 0x6

pub const AF_NFC = 0x27

pub const AF_PACKET = 0x11

pub const AF_PHONET = 0x23

pub const AF_PPPOX = 0x18

pub const AF_RDS = 0x15

pub const AF_ROSE = 0xb

pub const AF_ROUTE = 0x10

pub const AF_RXRPC = 0x21

pub const AF_SECURITY = 0xe

pub const AF_SNA = 0x16

pub const AF_TIPC = 0x1e

pub const AF_UNIX = 0x1

pub const AF_UNSPEC = 0x0

pub const AF_VSOCK = 0x28

pub const AF_WANPIPE = 0x19

pub const AF_X25 = 0x9

pub const ARPHRD_ADAPT = 0x108

pub const ARPHRD_APPLETLK = 0x8

pub const ARPHRD_ARCNET = 0x7

pub const ARPHRD_ASH = 0x30d

pub const ARPHRD_ATM = 0x13

pub const ARPHRD_AX25 = 0x3

pub const ARPHRD_BIF = 0x307

pub const ARPHRD_CAIF = 0x336

pub const ARPHRD_CAN = 0x118

pub const ARPHRD_CHAOS = 0x5

pub const ARPHRD_CISCO = 0x201

pub const ARPHRD_CSLIP = 0x101

pub const ARPHRD_CSLIP6 = 0x103

pub const ARPHRD_DDCMP = 0x205

pub const ARPHRD_DLCI = 0xf

pub const ARPHRD_ECONET = 0x30e

pub const ARPHRD_EETHER = 0x2

pub const ARPHRD_ETHER = 0x1

pub const ARPHRD_EUI64 = 0x1b

pub const ARPHRD_FCAL = 0x311

pub const ARPHRD_FCFABRIC = 0x313

pub const ARPHRD_FCPL = 0x312

pub const ARPHRD_FCPP = 0x310

pub const ARPHRD_FDDI = 0x306

pub const ARPHRD_FRAD = 0x302

pub const ARPHRD_HDLC = 0x201

pub const ARPHRD_HIPPI = 0x30c

pub const ARPHRD_HWX25 = 0x110

pub const ARPHRD_IEEE1394 = 0x18

pub const ARPHRD_IEEE802 = 0x6

pub const ARPHRD_IEEE80211 = 0x321

pub const ARPHRD_IEEE80211_PRISM = 0x322

pub const ARPHRD_IEEE80211_RADIOTAP = 0x323

pub const ARPHRD_IEEE802154 = 0x324

pub const ARPHRD_IEEE802154_MONITOR = 0x325

pub const ARPHRD_IEEE802_TR = 0x320

pub const ARPHRD_INFINIBAND = 0x20

pub const ARPHRD_IP6GRE = 0x337

pub const ARPHRD_IPDDP = 0x309

pub const ARPHRD_IPGRE = 0x30a

pub const ARPHRD_IRDA = 0x30f

pub const ARPHRD_LAPB = 0x204

pub const ARPHRD_LOCALTLK = 0x305

pub const ARPHRD_LOOPBACK = 0x304

pub const ARPHRD_METRICOM = 0x17

pub const ARPHRD_NETLINK = 0x338

pub const ARPHRD_NETROM = 0x0

pub const ARPHRD_NONE = 0xfffe

pub const ARPHRD_PHONET = 0x334

pub const ARPHRD_PHONET_PIPE = 0x335

pub const ARPHRD_PIMREG = 0x30b

pub const ARPHRD_PPP = 0x200

pub const ARPHRD_PRONET = 0x4

pub const ARPHRD_RAWHDLC = 0x206

pub const ARPHRD_ROSE = 0x10e

pub const ARPHRD_RSRVD = 0x104

pub const ARPHRD_SIT = 0x308

pub const ARPHRD_SKIP = 0x303

pub const ARPHRD_SLIP = 0x100

pub const ARPHRD_SLIP6 = 0x102

pub const ARPHRD_TUNNEL = 0x300

pub const ARPHRD_TUNNEL6 = 0x301

pub const ARPHRD_VOID = 0xffff

pub const ARPHRD_X25 = 0x10f

pub const B0 = 0x0

pub const B1000000 = 0x1008

pub const B110 = 0x3

pub const B115200 = 0x1002

pub const B1152000 = 0x1009

pub const B1200 = 0x9

pub const B134 = 0x4

pub const B150 = 0x5

pub const B1500000 = 0x100a

pub const B1800 = 0xa

pub const B19200 = 0xe

pub const B200 = 0x6

pub const B2000000 = 0x100b

pub const B230400 = 0x1003

pub const B2400 = 0xb

pub const B2500000 = 0x100c

pub const B300 = 0x7

pub const B3000000 = 0x100d

pub const B3500000 = 0x100e

pub const B38400 = 0xf

pub const B4000000 = 0x100f

pub const B460800 = 0x1004

pub const B4800 = 0xc

pub const B50 = 0x1

pub const B500000 = 0x1005

pub const B57600 = 0x1001

pub const B576000 = 0x1006

pub const B600 = 0x8

pub const B75 = 0x2

pub const B921600 = 0x1007

pub const B9600 = 0xd

pub const BPF_A = 0x10

pub const BPF_ABS = 0x20

pub const BPF_ADD = 0x0

pub const BPF_ALU = 0x4

pub const BPF_AND = 0x50

pub const BPF_B = 0x10

pub const BPF_DIV = 0x30

pub const BPF_H = 0x8

pub const BPF_IMM = 0x0

pub const BPF_IND = 0x40

pub const BPF_JA = 0x0

pub const BPF_JEQ = 0x10

pub const BPF_JGE = 0x30

pub const BPF_JGT = 0x20

pub const BPF_JMP = 0x5

pub const BPF_JSET = 0x40

pub const BPF_K = 0x0

pub const BPF_LD = 0x0

pub const BPF_LDX = 0x1

pub const BPF_LEN = 0x80

pub const BPF_LSH = 0x60

pub const BPF_MAJOR_VERSION = 0x1

pub const BPF_MAXINSNS = 0x1000

pub const BPF_MEM = 0x60

pub const BPF_MEMWORDS = 0x10

pub const BPF_MINOR_VERSION = 0x1

pub const BPF_MISC = 0x7

pub const BPF_MOD = 0x90

pub const BPF_MSH = 0xa0

pub const BPF_MUL = 0x20

pub const BPF_NEG = 0x80

pub const BPF_OR = 0x40

pub const BPF_RET = 0x6

pub const BPF_RSH = 0x70

pub const BPF_ST = 0x2

pub const BPF_STX = 0x3

pub const BPF_SUB = 0x10

pub const BPF_TAX = 0x0

pub const BPF_TXA = 0x80

pub const BPF_W = 0x0

pub const BPF_X = 0x8

pub const BPF_XOR = 0xa0

pub const BRKINT = 0x2

pub const CFLUSH = 0xf

pub const CLOCAL = 0x800

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_CHILD_CLEARTID = 0x00200000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_CHILD_SETTID = 0x01000000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_CLEAR_SIGHAND = 0x100000000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_DETACHED = 0x00400000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_FILES = 0x00000400

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_FS = 0x00000200

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_INTO_CGROUP = 0x200000000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_IO = 0x80000000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_NEWCGROUP = 0x02000000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_NEWIPC = 0x08000000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_NEWNET = 0x40000000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_NEWNS = 0x00020000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_NEWPID = 0x20000000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_NEWTIME = 0x00000080

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_NEWUSER = 0x10000000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_NEWUTS = 0x04000000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_PARENT = 0x00008000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_PARENT_SETTID = 0x00100000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_PIDFD = 0x00001000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_PTRACE = 0x00002000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_SETTLS = 0x00080000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_SIGHAND = 0x00000800

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_SYSVSEM = 0x00040000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_THREAD = 0x00010000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_UNTRACED = 0x00800000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_VFORK = 0x00004000

/// Linux unshare/clone/clone2/clone3 flags, architecture-independent,
/// copied from linux/sched.h.
pub const CLONE_VM = 0x00000100

pub const CREAD = 0x80

pub const CS5 = 0x0

pub const CS6 = 0x10

pub const CS7 = 0x20

pub const CS8 = 0x30

pub const CSIGNAL = 0xff

pub const CSIZE = 0x30

pub const CSTART = 0x11

pub const CSTATUS = 0x0

pub const CSTOP = 0x13

pub const CSTOPB = 0x40

pub const CSUSP = 0x1a

pub const DT_BLK = 0x6

pub const DT_CHR = 0x2

pub const DT_DIR = 0x4

pub const DT_FIFO = 0x1

pub const DT_LNK = 0xa

pub const DT_REG = 0x8

pub const DT_SOCK = 0xc

pub const DT_UNKNOWN = 0x0

pub const DT_WHT = 0xe

pub const ECHO = 0x8

pub const ECHOCTL = 0x200

pub const ECHOE = 0x10

pub const ECHOK = 0x20

pub const ECHOKE = 0x800

pub const ECHONL = 0x40

pub const ECHOPRT = 0x400

pub const ENCODING_DEFAULT = 0x0

pub const ENCODING_FM_MARK = 0x3

pub const ENCODING_FM_SPACE = 0x4

pub const ENCODING_MANCHESTER = 0x5

pub const ENCODING_NRZ = 0x1

pub const ENCODING_NRZI = 0x2

pub const EPOLLERR = 0x8

pub const EPOLLET = 0x80000000

pub const EPOLLHUP = 0x10

pub const EPOLLIN = 0x1

pub const EPOLLMSG = 0x400

pub const EPOLLONESHOT = 0x40000000

pub const EPOLLOUT = 0x4

pub const EPOLLPRI = 0x2

pub const EPOLLRDBAND = 0x80

pub const EPOLLRDHUP = 0x2000

pub const EPOLLRDNORM = 0x40

pub const EPOLLWAKEUP = 0x20000000

pub const EPOLLWRBAND = 0x200

pub const EPOLLWRNORM = 0x100

pub const EPOLL_CLOEXEC = 0x80000

pub const EPOLL_CTL_ADD = 0x1

pub const EPOLL_CTL_DEL = 0x2

pub const EPOLL_CTL_MOD = 0x3

pub const ETH_P_1588 = 0x88f7

pub const ETH_P_8021AD = 0x88a8

pub const ETH_P_8021AH = 0x88e7

pub const ETH_P_8021Q = 0x8100

pub const ETH_P_802_2 = 0x4

pub const ETH_P_802_3 = 0x1

pub const ETH_P_802_3_MIN = 0x600

pub const ETH_P_802_EX1 = 0x88b5

pub const ETH_P_AARP = 0x80f3

pub const ETH_P_AF_IUCV = 0xfbfb

pub const ETH_P_ALL = 0x3

pub const ETH_P_AOE = 0x88a2

pub const ETH_P_ARCNET = 0x1a

pub const ETH_P_ARP = 0x806

pub const ETH_P_ATALK = 0x809b

pub const ETH_P_ATMFATE = 0x8884

pub const ETH_P_ATMMPOA = 0x884c

pub const ETH_P_AX25 = 0x2

pub const ETH_P_BATMAN = 0x4305

pub const ETH_P_BPQ = 0x8ff

pub const ETH_P_CAIF = 0xf7

pub const ETH_P_CAN = 0xc

pub const ETH_P_CANFD = 0xd

pub const ETH_P_CONTROL = 0x16

pub const ETH_P_CUST = 0x6006

pub const ETH_P_DDCMP = 0x6

pub const ETH_P_DEC = 0x6000

pub const ETH_P_DIAG = 0x6005

pub const ETH_P_DNA_DL = 0x6001

pub const ETH_P_DNA_RC = 0x6002

pub const ETH_P_DNA_RT = 0x6003

pub const ETH_P_DSA = 0x1b

pub const ETH_P_ECONET = 0x18

pub const ETH_P_EDSA = 0xdada

pub const ETH_P_FCOE = 0x8906

pub const ETH_P_FIP = 0x8914

pub const ETH_P_HDLC = 0x19

pub const ETH_P_IEEE802154 = 0xf6

pub const ETH_P_IEEEPUP = 0xa00

pub const ETH_P_IEEEPUPAT = 0xa01

pub const ETH_P_IP = 0x800

pub const ETH_P_IPV6 = 0x86dd

pub const ETH_P_IPX = 0x8137

pub const ETH_P_IRDA = 0x17

pub const ETH_P_LAT = 0x6004

pub const ETH_P_LINK_CTL = 0x886c

pub const ETH_P_LOCALTALK = 0x9

pub const ETH_P_LOOP = 0x60

pub const ETH_P_MOBITEX = 0x15

pub const ETH_P_MPLS_MC = 0x8848

pub const ETH_P_MPLS_UC = 0x8847

pub const ETH_P_MVRP = 0x88f5

pub const ETH_P_PAE = 0x888e

pub const ETH_P_PAUSE = 0x8808

pub const ETH_P_PHONET = 0xf5

pub const ETH_P_PPPTALK = 0x10

pub const ETH_P_PPP_DISC = 0x8863

pub const ETH_P_PPP_MP = 0x8

pub const ETH_P_PPP_SES = 0x8864

pub const ETH_P_PRP = 0x88fb

pub const ETH_P_PUP = 0x200

pub const ETH_P_PUPAT = 0x201

pub const ETH_P_QINQ1 = 0x9100

pub const ETH_P_QINQ2 = 0x9200

pub const ETH_P_QINQ3 = 0x9300

pub const ETH_P_RARP = 0x8035

pub const ETH_P_SCA = 0x6007

pub const ETH_P_SLOW = 0x8809

pub const ETH_P_SNAP = 0x5

pub const ETH_P_TDLS = 0x890d

pub const ETH_P_TEB = 0x6558

pub const ETH_P_TIPC = 0x88ca

pub const ETH_P_TRAILER = 0x1c

pub const ETH_P_TR_802_2 = 0x11

pub const ETH_P_WAN_PPP = 0x7

pub const ETH_P_WCCP = 0x883e

pub const ETH_P_X25 = 0x805

pub const EXTA = 0xe

pub const EXTB = 0xf

pub const EXTPROC = 0x10000

pub const FD_CLOEXEC = 0x1

pub const FD_SETSIZE = 0x400

pub const FLUSHO = 0x1000

pub const F_DUPFD = 0x0

pub const F_DUPFD_CLOEXEC = 0x406

pub const F_EXLCK = 0x4

pub const F_GETFD = 0x1

pub const F_GETFL = 0x3

pub const F_GETLEASE = 0x401

pub const F_GETLK = 0x5

pub const F_GETLK64 = 0x5

pub const F_GETOWN = 0x9

pub const F_GETOWN_EX = 0x10

pub const F_GETPIPE_SZ = 0x408

pub const F_GETSIG = 0xb

pub const F_LOCK = 0x1

pub const F_NOTIFY = 0x402

pub const F_OK = 0x0

pub const F_RDLCK = 0x0

pub const F_SETFD = 0x2

pub const F_SETFL = 0x4

pub const F_SETLEASE = 0x400

pub const F_SETLK = 0x6

pub const F_SETLK64 = 0x6

pub const F_SETLKW = 0x7

pub const F_SETLKW64 = 0x7

pub const F_SETOWN = 0x8

pub const F_SETOWN_EX = 0xf

pub const F_SETPIPE_SZ = 0x407

pub const F_SETSIG = 0xa

pub const F_SHLCK = 0x8

pub const F_TEST = 0x3

pub const F_TLOCK = 0x2

pub const F_ULOCK = 0x0

pub const F_UNLCK = 0x2

pub const F_WRLCK = 0x1

pub const HUPCL = 0x400

pub const ICANON = 0x2

pub const ICMPV6_FILTER = 0x1

pub const ICRNL = 0x100

pub const IEXTEN = 0x8000

pub const IFA_ADDRESS = 0x1

pub const IFA_ANYCAST = 0x5

pub const IFA_BROADCAST = 0x4

pub const IFA_CACHEINFO = 0x6

pub const IFA_F_DADFAILED = 0x8

pub const IFA_F_DEPRECATED = 0x20

pub const IFA_F_HOMEADDRESS = 0x10

pub const IFA_F_NODAD = 0x2

pub const IFA_F_OPTIMISTIC = 0x4

pub const IFA_F_PERMANENT = 0x80

pub const IFA_F_SECONDARY = 0x1

pub const IFA_F_TEMPORARY = 0x1

pub const IFA_F_TENTATIVE = 0x40

pub const IFA_LABEL = 0x3

pub const IFA_LOCAL = 0x2

pub const IFA_MAX = 0x7

pub const IFA_MULTICAST = 0x7

pub const IFA_UNSPEC = 0x0

pub const IFF_802_1Q_VLAN = 0x1

pub const IFF_ALLMULTI = 0x200

pub const IFF_ATTACH_QUEUE = 0x200

pub const IFF_AUTOMEDIA = 0x4000

pub const IFF_BONDING = 0x20

pub const IFF_BRIDGE_PORT = 0x4000

pub const IFF_BROADCAST = 0x2

pub const IFF_DEBUG = 0x4

pub const IFF_DETACH_QUEUE = 0x400

pub const IFF_DISABLE_NETPOLL = 0x1000

pub const IFF_DONT_BRIDGE = 0x800

pub const IFF_DORMANT = 0x20000

pub const IFF_DYNAMIC = 0x8000

pub const IFF_EBRIDGE = 0x2

pub const IFF_ECHO = 0x40000

pub const IFF_ISATAP = 0x80

pub const IFF_LIVE_ADDR_CHANGE = 0x100000

pub const IFF_LOOPBACK = 0x8

pub const IFF_LOWER_UP = 0x10000

pub const IFF_MACVLAN = 0x200000

pub const IFF_MACVLAN_PORT = 0x2000

pub const IFF_MASTER = 0x400

pub const IFF_MASTER_8023AD = 0x8

pub const IFF_MASTER_ALB = 0x10

pub const IFF_MASTER_ARPMON = 0x100

pub const IFF_MULTICAST = 0x1000

pub const IFF_MULTI_QUEUE = 0x100

pub const IFF_NOARP = 0x80

pub const IFF_NOFILTER = 0x1000

pub const IFF_NOTRAILERS = 0x20

pub const IFF_NO_PI = 0x1000

pub const IFF_ONE_QUEUE = 0x2000

pub const IFF_OVS_DATAPATH = 0x8000

pub const IFF_PERSIST = 0x800

pub const IFF_POINTOPOINT = 0x10

pub const IFF_PORTSEL = 0x2000

pub const IFF_PROMISC = 0x100

pub const IFF_RUNNING = 0x40

pub const IFF_SLAVE = 0x800

pub const IFF_SLAVE_INACTIVE = 0x4

pub const IFF_SLAVE_NEEDARP = 0x40

pub const IFF_SUPP_NOFCS = 0x80000

pub const IFF_TAP = 0x2

pub const IFF_TEAM_PORT = 0x40000

pub const IFF_TUN = 0x1

pub const IFF_TUN_EXCL = 0x8000

pub const IFF_TX_SKB_SHARING = 0x10000

pub const IFF_UNICAST_FLT = 0x20000

pub const IFF_UP = 0x1

pub const IFF_VNET_HDR = 0x4000

pub const IFF_VOLATILE = 0x70c5a

pub const IFF_WAN_HDLC = 0x200

pub const IFF_XMIT_DST_RELEASE = 0x400

pub const IFLA_ADDRESS = 0x1

pub const IFLA_BROADCAST = 0x2

pub const IFLA_COST = 0x8

pub const IFLA_IFALIAS = 0x14

pub const IFLA_IFNAME = 0x3

pub const IFLA_LINK = 0x5

pub const IFLA_LINKINFO = 0x12

pub const IFLA_LINKMODE = 0x11

pub const IFLA_MAP = 0xe

pub const IFLA_MASTER = 0xa

pub const IFLA_MAX = 0x24

pub const IFLA_MTU = 0x4

pub const IFLA_NET_NS_PID = 0x13

pub const IFLA_OPERSTATE = 0x10

pub const IFLA_PRIORITY = 0x9

pub const IFLA_PROTINFO = 0xc

pub const IFLA_QDISC = 0x6

pub const IFLA_STATS = 0x7

pub const IFLA_TXQLEN = 0xd

pub const IFLA_UNSPEC = 0x0

pub const IFLA_WEIGHT = 0xf

pub const IFLA_WIRELESS = 0xb

pub const IFNAMSIZ = 0x10

pub const IGNBRK = 0x1

pub const IGNCR = 0x80

pub const IGNPAR = 0x4

pub const IMAXBEL = 0x2000

pub const INLCR = 0x40

pub const INPCK = 0x10

pub const IN_ACCESS = 0x1

pub const IN_ALL_EVENTS = 0xfff

pub const IN_ATTRIB = 0x4

pub const IN_CLASSA_HOST = 0xffffff

pub const IN_CLASSA_MAX = 0x80

pub const IN_CLASSA_NET = 0xff000000

pub const IN_CLASSA_NSHIFT = 0x18

pub const IN_CLASSB_HOST = 0xffff

pub const IN_CLASSB_MAX = 0x10000

pub const IN_CLASSB_NET = 0xffff0000

pub const IN_CLASSB_NSHIFT = 0x10

pub const IN_CLASSC_HOST = 0xff

pub const IN_CLASSC_NET = 0xffffff00

pub const IN_CLASSC_NSHIFT = 0x8

pub const IN_CLOEXEC = 0x80000

pub const IN_CLOSE = 0x18

pub const IN_CLOSE_NOWRITE = 0x10

pub const IN_CLOSE_WRITE = 0x8

pub const IN_CREATE = 0x100

pub const IN_DELETE = 0x200

pub const IN_DELETE_SELF = 0x400

pub const IN_DONT_FOLLOW = 0x2000000

pub const IN_EXCL_UNLINK = 0x4000000

pub const IN_IGNORED = 0x8000

pub const IN_ISDIR = 0x40000000

pub const IN_LOOPBACKNET = 0x7f

pub const IN_MASK_ADD = 0x20000000

pub const IN_MODIFY = 0x2

pub const IN_MOVE = 0xc0

pub const IN_MOVED_FROM = 0x40

pub const IN_MOVED_TO = 0x80

pub const IN_MOVE_SELF = 0x800

pub const IN_NONBLOCK = 0x800

pub const IN_ONESHOT = 0x80000000

pub const IN_ONLYDIR = 0x1000000

pub const IN_OPEN = 0x20

pub const IN_Q_OVERFLOW = 0x4000

pub const IN_UNMOUNT = 0x2000

pub const IPPROTO_AH = 0x33

pub const IPPROTO_BEETPH = 0x5e

pub const IPPROTO_COMP = 0x6c

pub const IPPROTO_DCCP = 0x21

pub const IPPROTO_DSTOPTS = 0x3c

pub const IPPROTO_EGP = 0x8

pub const IPPROTO_ENCAP = 0x62

pub const IPPROTO_ESP = 0x32

pub const IPPROTO_FRAGMENT = 0x2c

pub const IPPROTO_GRE = 0x2f

pub const IPPROTO_HOPOPTS = 0x0

pub const IPPROTO_ICMP = 0x1

pub const IPPROTO_ICMPV6 = 0x3a

pub const IPPROTO_IDP = 0x16

pub const IPPROTO_IGMP = 0x2

pub const IPPROTO_IP = 0x0

pub const IPPROTO_IPIP = 0x4

pub const IPPROTO_IPV6 = 0x29

pub const IPPROTO_MH = 0x87

pub const IPPROTO_MTP = 0x5c

pub const IPPROTO_NONE = 0x3b

pub const IPPROTO_PIM = 0x67

pub const IPPROTO_PUP = 0xc

pub const IPPROTO_RAW = 0xff

pub const IPPROTO_ROUTING = 0x2b

pub const IPPROTO_RSVP = 0x2e

pub const IPPROTO_SCTP = 0x84

pub const IPPROTO_TCP = 0x6

pub const IPPROTO_TP = 0x1d

pub const IPPROTO_UDP = 0x11

pub const IPPROTO_UDPLITE = 0x88

pub const IPV6_2292DSTOPTS = 0x4

pub const IPV6_2292HOPLIMIT = 0x8

pub const IPV6_2292HOPOPTS = 0x3

pub const IPV6_2292PKTINFO = 0x2

pub const IPV6_2292PKTOPTIONS = 0x6

pub const IPV6_2292RTHDR = 0x5

pub const IPV6_ADDRFORM = 0x1

pub const IPV6_ADD_MEMBERSHIP = 0x14

pub const IPV6_AUTHHDR = 0xa

pub const IPV6_CHECKSUM = 0x7

pub const IPV6_DROP_MEMBERSHIP = 0x15

pub const IPV6_DSTOPTS = 0x3b

pub const IPV6_HOPLIMIT = 0x34

pub const IPV6_HOPOPTS = 0x36

pub const IPV6_IPSEC_POLICY = 0x22

pub const IPV6_JOIN_ANYCAST = 0x1b

pub const IPV6_JOIN_GROUP = 0x14

pub const IPV6_LEAVE_ANYCAST = 0x1c

pub const IPV6_LEAVE_GROUP = 0x15

pub const IPV6_MTU = 0x18

pub const IPV6_MTU_DISCOVER = 0x17

pub const IPV6_MULTICAST_HOPS = 0x12

pub const IPV6_MULTICAST_IF = 0x11

pub const IPV6_MULTICAST_LOOP = 0x13

pub const IPV6_NEXTHOP = 0x9

pub const IPV6_PKTINFO = 0x32

pub const IPV6_PMTUDISC_DO = 0x2

pub const IPV6_PMTUDISC_DONT = 0x0

pub const IPV6_PMTUDISC_PROBE = 0x3

pub const IPV6_PMTUDISC_WANT = 0x1

pub const IPV6_RECVDSTOPTS = 0x3a

pub const IPV6_RECVERR = 0x19

pub const IPV6_RECVHOPLIMIT = 0x33

pub const IPV6_RECVHOPOPTS = 0x35

pub const IPV6_RECVPKTINFO = 0x31

pub const IPV6_RECVRTHDR = 0x38

pub const IPV6_RECVTCLASS = 0x42

pub const IPV6_ROUTER_ALERT = 0x16

pub const IPV6_RTHDR = 0x39

pub const IPV6_RTHDRDSTOPTS = 0x37

pub const IPV6_RTHDR_LOOSE = 0x0

pub const IPV6_RTHDR_STRICT = 0x1

pub const IPV6_RTHDR_TYPE_0 = 0x0

pub const IPV6_RXDSTOPTS = 0x3b

pub const IPV6_RXHOPOPTS = 0x36

pub const IPV6_TCLASS = 0x43

pub const IPV6_UNICAST_HOPS = 0x10

pub const IPV6_V6ONLY = 0x1a

pub const IPV6_XFRM_POLICY = 0x23

pub const IP_ADD_MEMBERSHIP = 0x23

pub const IP_ADD_SOURCE_MEMBERSHIP = 0x27

pub const IP_BLOCK_SOURCE = 0x26

pub const IP_DEFAULT_MULTICAST_LOOP = 0x1

pub const IP_DEFAULT_MULTICAST_TTL = 0x1

pub const IP_DF = 0x4000

pub const IP_DROP_MEMBERSHIP = 0x24

pub const IP_DROP_SOURCE_MEMBERSHIP = 0x28

pub const IP_FREEBIND = 0xf

pub const IP_HDRINCL = 0x3

pub const IP_IPSEC_POLICY = 0x10

pub const IP_MAXPACKET = 0xffff

pub const IP_MAX_MEMBERSHIPS = 0x14

pub const IP_MF = 0x2000

pub const IP_MINTTL = 0x15

pub const IP_MSFILTER = 0x29

pub const IP_MSS = 0x240

pub const IP_MTU = 0xe

pub const IP_MTU_DISCOVER = 0xa

pub const IP_MULTICAST_ALL = 0x31

pub const IP_MULTICAST_IF = 0x20

pub const IP_MULTICAST_LOOP = 0x22

pub const IP_MULTICAST_TTL = 0x21

pub const IP_OFFMASK = 0x1fff

pub const IP_OPTIONS = 0x4

pub const IP_ORIGDSTADDR = 0x14

pub const IP_PASSSEC = 0x12

pub const IP_PKTINFO = 0x8

pub const IP_PKTOPTIONS = 0x9

pub const IP_PMTUDISC = 0xa

pub const IP_PMTUDISC_DO = 0x2

pub const IP_PMTUDISC_DONT = 0x0

pub const IP_PMTUDISC_PROBE = 0x3

pub const IP_PMTUDISC_WANT = 0x1

pub const IP_RECVERR = 0xb

pub const IP_RECVOPTS = 0x6

pub const IP_RECVORIGDSTADDR = 0x14

pub const IP_RECVRETOPTS = 0x7

pub const IP_RECVTOS = 0xd

pub const IP_RECVTTL = 0xc

pub const IP_RETOPTS = 0x7

pub const IP_RF = 0x8000

pub const IP_ROUTER_ALERT = 0x5

pub const IP_TOS = 0x1

pub const IP_TRANSPARENT = 0x13

pub const IP_TTL = 0x2

pub const IP_UNBLOCK_SOURCE = 0x25

pub const IP_UNICAST_IF = 0x32

pub const IP_XFRM_POLICY = 0x11

pub const ISIG = 0x1

pub const ISTRIP = 0x20

pub const IUCLC = 0x200

pub const IUTF8 = 0x4000

pub const IXANY = 0x800

pub const IXOFF = 0x1000

pub const IXON = 0x400

pub const ImplementsGetwd = true

pub const LINUX_REBOOT_CMD_CAD_OFF = 0x0

pub const LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef

pub const LINUX_REBOOT_CMD_HALT = 0xcdef0123

pub const LINUX_REBOOT_CMD_KEXEC = 0x45584543

pub const LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc

pub const LINUX_REBOOT_CMD_RESTART = 0x1234567

pub const LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4

pub const LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2

pub const LINUX_REBOOT_MAGIC1 = 0xfee1dead

pub const LINUX_REBOOT_MAGIC2 = 0x28121969

pub const LOCK_EX = 0x2

pub const LOCK_NB = 0x4

pub const LOCK_SH = 0x1

pub const LOCK_UN = 0x8

pub const MADV_DODUMP = 0x11

pub const MADV_DOFORK = 0xb

pub const MADV_DONTDUMP = 0x10

pub const MADV_DONTFORK = 0xa

pub const MADV_DONTNEED = 0x4

pub const MADV_HUGEPAGE = 0xe

pub const MADV_HWPOISON = 0x64

pub const MADV_MERGEABLE = 0xc

pub const MADV_NOHUGEPAGE = 0xf

pub const MADV_NORMAL = 0x0

pub const MADV_RANDOM = 0x1

pub const MADV_REMOVE = 0x9

pub const MADV_SEQUENTIAL = 0x2

pub const MADV_UNMERGEABLE = 0xd

pub const MADV_WILLNEED = 0x3

pub const MAP_ANON = 0x20

pub const MAP_ANONYMOUS = 0x20

pub const MAP_DENYWRITE = 0x800

pub const MAP_EXECUTABLE = 0x1000

pub const MAP_FILE = 0x0

pub const MAP_FIXED = 0x10

pub const MAP_GROWSDOWN = 0x100

pub const MAP_HUGETLB = 0x40000

pub const MAP_HUGE_MASK = 0x3f

pub const MAP_HUGE_SHIFT = 0x1a

pub const MAP_LOCKED = 0x2000

pub const MAP_NONBLOCK = 0x10000

pub const MAP_NORESERVE = 0x4000

pub const MAP_POPULATE = 0x8000

pub const MAP_PRIVATE = 0x2

pub const MAP_SHARED = 0x1

pub const MAP_STACK = 0x20000

pub const MAP_TYPE = 0xf

pub const MCL_CURRENT = 0x1

pub const MCL_FUTURE = 0x2

pub const MNT_DETACH = 0x2

pub const MNT_EXPIRE = 0x4

pub const MNT_FORCE = 0x1

pub const MSG_CMSG_CLOEXEC = 0x40000000

pub const MSG_CONFIRM = 0x800

pub const MSG_CTRUNC = 0x8

pub const MSG_DONTROUTE = 0x4

pub const MSG_DONTWAIT = 0x40

pub const MSG_EOR = 0x80

pub const MSG_ERRQUEUE = 0x2000

pub const MSG_FASTOPEN = 0x20000000

pub const MSG_FIN = 0x200

pub const MSG_MORE = 0x8000

pub const MSG_NOSIGNAL = 0x4000

pub const MSG_OOB = 0x1

pub const MSG_PEEK = 0x2

pub const MSG_PROXY = 0x10

pub const MSG_RST = 0x1000

pub const MSG_SYN = 0x400

pub const MSG_TRUNC = 0x20

pub const MSG_TRYHARD = 0x4

pub const MSG_WAITALL = 0x100

pub const MSG_WAITFORONE = 0x10000

pub const MS_ACTIVE = 0x40000000

pub const MS_ASYNC = 0x1

pub const MS_BIND = 0x1000

pub const MS_DIRSYNC = 0x80

pub const MS_INVALIDATE = 0x2

pub const MS_I_VERSION = 0x800000

pub const MS_KERNMOUNT = 0x400000

pub const MS_MANDLOCK = 0x40

pub const MS_MGC_MSK = 0xffff0000

pub const MS_MGC_VAL = 0xc0ed0000

pub const MS_MOVE = 0x2000

pub const MS_NOATIME = 0x400

pub const MS_NODEV = 0x4

pub const MS_NODIRATIME = 0x800

pub const MS_NOEXEC = 0x8

pub const MS_NOSUID = 0x2

pub const MS_NOUSER = -0x80000000

pub const MS_POSIXACL = 0x10000

pub const MS_PRIVATE = 0x40000

pub const MS_RDONLY = 0x1

pub const MS_REC = 0x4000

pub const MS_RELATIME = 0x200000

pub const MS_REMOUNT = 0x20

pub const MS_RMT_MASK = 0x800051

pub const MS_SHARED = 0x100000

pub const MS_SILENT = 0x8000

pub const MS_SLAVE = 0x80000

pub const MS_STRICTATIME = 0x1000000

pub const MS_SYNC = 0x4

pub const MS_SYNCHRONOUS = 0x10

pub const MS_UNBINDABLE = 0x20000

pub const NAME_MAX = 0xff

pub const NETLINK_ADD_MEMBERSHIP = 0x1

pub const NETLINK_AUDIT = 0x9

pub const NETLINK_BROADCAST_ERROR = 0x4

pub const NETLINK_CONNECTOR = 0xb

pub const NETLINK_CRYPTO = 0x15

pub const NETLINK_DNRTMSG = 0xe

pub const NETLINK_DROP_MEMBERSHIP = 0x2

pub const NETLINK_ECRYPTFS = 0x13

pub const NETLINK_FIB_LOOKUP = 0xa

pub const NETLINK_FIREWALL = 0x3

pub const NETLINK_GENERIC = 0x10

pub const NETLINK_INET_DIAG = 0x4

pub const NETLINK_IP6_FW = 0xd

pub const NETLINK_ISCSI = 0x8

pub const NETLINK_KOBJECT_UEVENT = 0xf

pub const NETLINK_NETFILTER = 0xc

pub const NETLINK_NFLOG = 0x5

pub const NETLINK_NO_ENOBUFS = 0x5

pub const NETLINK_PKTINFO = 0x3

pub const NETLINK_RDMA = 0x14

pub const NETLINK_ROUTE = 0x0

pub const NETLINK_RX_RING = 0x6

pub const NETLINK_SCSITRANSPORT = 0x12

pub const NETLINK_SELINUX = 0x7

pub const NETLINK_SOCK_DIAG = 0x4

pub const NETLINK_TX_RING = 0x7

pub const NETLINK_UNUSED = 0x1

pub const NETLINK_USERSOCK = 0x2

pub const NETLINK_XFRM = 0x6

pub const NLA_ALIGNTO = 0x4

pub const NLA_F_NESTED = 0x8000

pub const NLA_F_NET_BYTEORDER = 0x4000

pub const NLA_HDRLEN = 0x4

pub const NLMSG_ALIGNTO = 0x4

pub const NLMSG_DONE = 0x3

pub const NLMSG_ERROR = 0x2

pub const NLMSG_HDRLEN = 0x10

pub const NLMSG_MIN_TYPE = 0x10

pub const NLMSG_NOOP = 0x1

pub const NLMSG_OVERRUN = 0x4

pub const NLM_F_ACK = 0x4

pub const NLM_F_APPEND = 0x800

pub const NLM_F_ATOMIC = 0x400

pub const NLM_F_CREATE = 0x400

pub const NLM_F_DUMP = 0x300

pub const NLM_F_DUMP_INTR = 0x10

pub const NLM_F_ECHO = 0x8

pub const NLM_F_EXCL = 0x200

pub const NLM_F_MATCH = 0x200

pub const NLM_F_MULTI = 0x2

pub const NLM_F_REPLACE = 0x100

pub const NLM_F_REQUEST = 0x1

pub const NLM_F_ROOT = 0x100

pub const NOFLSH = 0x80

pub const OCRNL = 0x8

pub const OFDEL = 0x80

pub const OFILL = 0x40

pub const OLCUC = 0x2

pub const ONLCR = 0x4

pub const ONLRET = 0x20

pub const ONOCR = 0x10

pub const OPOST = 0x1

pub const O_ACCMODE = 0x3

pub const O_APPEND = 0x400

pub const O_ASYNC = 0x2000

pub const O_CLOEXEC = 0x80000

pub const O_CREAT = 0x40

pub const O_DIRECT = 0x10000

pub const O_DIRECTORY = 0x4000

pub const O_DSYNC = 0x1000

pub const O_EXCL = 0x80

pub const O_FSYNC = 0x101000

pub const O_LARGEFILE = 0x0

pub const O_NDELAY = 0x800

pub const O_NOATIME = 0x40000

pub const O_NOCTTY = 0x100

pub const O_NOFOLLOW = 0x8000

pub const O_NONBLOCK = 0x800

pub const O_PATH = 0x200000

pub const O_RDONLY = 0x0

pub const O_RDWR = 0x2

pub const O_RSYNC = 0x101000

pub const O_SYNC = 0x101000

pub const O_TMPFILE = 0x410000

pub const O_TRUNC = 0x200

pub const O_WRONLY = 0x1

pub const PACKET_ADD_MEMBERSHIP = 0x1

pub const PACKET_AUXDATA = 0x8

pub const PACKET_BROADCAST = 0x1

pub const PACKET_COPY_THRESH = 0x7

pub const PACKET_DROP_MEMBERSHIP = 0x2

pub const PACKET_FANOUT = 0x12

pub const PACKET_FANOUT_CPU = 0x2

pub const PACKET_FANOUT_FLAG_DEFRAG = 0x8000

pub const PACKET_FANOUT_FLAG_ROLLOVER = 0x1000

pub const PACKET_FANOUT_HASH = 0x0

pub const PACKET_FANOUT_LB = 0x1

pub const PACKET_FANOUT_RND = 0x4

pub const PACKET_FANOUT_ROLLOVER = 0x3

pub const PACKET_FASTROUTE = 0x6

pub const PACKET_HDRLEN = 0xb

pub const PACKET_HOST = 0x0

pub const PACKET_LOOPBACK = 0x5

pub const PACKET_LOSS = 0xe

pub const PACKET_MR_ALLMULTI = 0x2

pub const PACKET_MR_MULTICAST = 0x0

pub const PACKET_MR_PROMISC = 0x1

pub const PACKET_MR_UNICAST = 0x3

pub const PACKET_MULTICAST = 0x2

pub const PACKET_ORIGDEV = 0x9

pub const PACKET_OTHERHOST = 0x3

pub const PACKET_OUTGOING = 0x4

pub const PACKET_RECV_OUTPUT = 0x3

pub const PACKET_RESERVE = 0xc

pub const PACKET_RX_RING = 0x5

pub const PACKET_STATISTICS = 0x6

pub const PACKET_TIMESTAMP = 0x11

pub const PACKET_TX_HAS_OFF = 0x13

pub const PACKET_TX_RING = 0xd

pub const PACKET_TX_TIMESTAMP = 0x10

pub const PACKET_VERSION = 0xa

pub const PACKET_VNET_HDR = 0xf

pub const PARENB = 0x100

pub const PARITY_CRC16_PR0 = 0x2

pub const PARITY_CRC16_PR0_CCITT = 0x4

pub const PARITY_CRC16_PR1 = 0x3

pub const PARITY_CRC16_PR1_CCITT = 0x5

pub const PARITY_CRC32_PR0_CCITT = 0x6

pub const PARITY_CRC32_PR1_CCITT = 0x7

pub const PARITY_DEFAULT = 0x0

pub const PARITY_NONE = 0x1

pub const PARMRK = 0x8

pub const PARODD = 0x200

pub const PENDIN = 0x4000

pub const PRIO_PGRP = 0x1

pub const PRIO_PROCESS = 0x0

pub const PRIO_USER = 0x2

pub const PROT_EXEC = 0x4

pub const PROT_GROWSDOWN = 0x1000000

pub const PROT_GROWSUP = 0x2000000

pub const PROT_NONE = 0x0

pub const PROT_READ = 0x1

pub const PROT_WRITE = 0x2

pub const PR_CAPBSET_DROP = 0x18

pub const PR_CAPBSET_READ = 0x17

pub const PR_ENDIAN_BIG = 0x0

pub const PR_ENDIAN_LITTLE = 0x1

pub const PR_ENDIAN_PPC_LITTLE = 0x2

pub const PR_FPEMU_NOPRINT = 0x1

pub const PR_FPEMU_SIGFPE = 0x2

pub const PR_FP_EXC_ASYNC = 0x2

pub const PR_FP_EXC_DISABLED = 0x0

pub const PR_FP_EXC_DIV = 0x10000

pub const PR_FP_EXC_INV = 0x100000

pub const PR_FP_EXC_NONRECOV = 0x1

pub const PR_FP_EXC_OVF = 0x20000

pub const PR_FP_EXC_PRECISE = 0x3

pub const PR_FP_EXC_RES = 0x80000

pub const PR_FP_EXC_SW_ENABLE = 0x80

pub const PR_FP_EXC_UND = 0x40000

pub const PR_GET_CHILD_SUBREAPER = 0x25

pub const PR_GET_DUMPABLE = 0x3

pub const PR_GET_ENDIAN = 0x13

pub const PR_GET_FPEMU = 0x9

pub const PR_GET_FPEXC = 0xb

pub const PR_GET_KEEPCAPS = 0x7

pub const PR_GET_NAME = 0x10

pub const PR_GET_NO_NEW_PRIVS = 0x27

pub const PR_GET_PDEATHSIG = 0x2

pub const PR_GET_SECCOMP = 0x15

pub const PR_GET_SECUREBITS = 0x1b

pub const PR_GET_TID_ADDRESS = 0x28

pub const PR_GET_TIMERSLACK = 0x1e

pub const PR_GET_TIMING = 0xd

pub const PR_GET_TSC = 0x19

pub const PR_GET_UNALIGN = 0x5

pub const PR_MCE_KILL = 0x21

pub const PR_MCE_KILL_CLEAR = 0x0

pub const PR_MCE_KILL_DEFAULT = 0x2

pub const PR_MCE_KILL_EARLY = 0x1

pub const PR_MCE_KILL_GET = 0x22

pub const PR_MCE_KILL_LATE = 0x0

pub const PR_MCE_KILL_SET = 0x1

pub const PR_SET_CHILD_SUBREAPER = 0x24

pub const PR_SET_DUMPABLE = 0x4

pub const PR_SET_ENDIAN = 0x14

pub const PR_SET_FPEMU = 0xa

pub const PR_SET_FPEXC = 0xc

pub const PR_SET_KEEPCAPS = 0x8

pub const PR_SET_MM = 0x23

pub const PR_SET_MM_ARG_END = 0x9

pub const PR_SET_MM_ARG_START = 0x8

pub const PR_SET_MM_AUXV = 0xc

pub const PR_SET_MM_BRK = 0x7

pub const PR_SET_MM_END_CODE = 0x2

pub const PR_SET_MM_END_DATA = 0x4

pub const PR_SET_MM_ENV_END = 0xb

pub const PR_SET_MM_ENV_START = 0xa

pub const PR_SET_MM_EXE_FILE = 0xd

pub const PR_SET_MM_START_BRK = 0x6

pub const PR_SET_MM_START_CODE = 0x1

pub const PR_SET_MM_START_DATA = 0x3

pub const PR_SET_MM_START_STACK = 0x5

pub const PR_SET_NAME = 0xf

pub const PR_SET_NO_NEW_PRIVS = 0x26

pub const PR_SET_PDEATHSIG = 0x1

pub const PR_SET_PTRACER = 0x59616d61

pub const PR_SET_PTRACER_ANY = -0x1

pub const PR_SET_SECCOMP = 0x16

pub const PR_SET_SECUREBITS = 0x1c

pub const PR_SET_TIMERSLACK = 0x1d

pub const PR_SET_TIMING = 0xe

pub const PR_SET_TSC = 0x1a

pub const PR_SET_UNALIGN = 0x6

pub const PR_TASK_PERF_EVENTS_DISABLE = 0x1f

pub const PR_TASK_PERF_EVENTS_ENABLE = 0x20

pub const PR_TIMING_STATISTICAL = 0x0

pub const PR_TIMING_TIMESTAMP = 0x1

pub const PR_TSC_ENABLE = 0x1

pub const PR_TSC_SIGSEGV = 0x2

pub const PR_UNALIGN_NOPRINT = 0x1

pub const PR_UNALIGN_SIGBUS = 0x2

pub const PTRACE_ATTACH = 0x10

pub const PTRACE_CONT = 0x7

pub const PTRACE_DETACH = 0x11

pub const PTRACE_EVENT_CLONE = 0x3

pub const PTRACE_EVENT_EXEC = 0x4

pub const PTRACE_EVENT_EXIT = 0x6

pub const PTRACE_EVENT_FORK = 0x1

pub const PTRACE_EVENT_SECCOMP = 0x7

pub const PTRACE_EVENT_STOP = 0x80

pub const PTRACE_EVENT_VFORK = 0x2

pub const PTRACE_EVENT_VFORK_DONE = 0x5

pub const PTRACE_GETEVENTMSG = 0x4201

pub const PTRACE_GETREGS = 0xc

pub const PTRACE_GETREGSET = 0x4204

pub const PTRACE_GETSIGINFO = 0x4202

pub const PTRACE_GETSIGMASK = 0x420a

pub const PTRACE_INTERRUPT = 0x4207

pub const PTRACE_KILL = 0x8

pub const PTRACE_LISTEN = 0x4208

pub const PTRACE_O_EXITKILL = 0x100000

pub const PTRACE_O_MASK = 0x1000ff

pub const PTRACE_O_TRACECLONE = 0x8

pub const PTRACE_O_TRACEEXEC = 0x10

pub const PTRACE_O_TRACEEXIT = 0x40

pub const PTRACE_O_TRACEFORK = 0x2

pub const PTRACE_O_TRACESECCOMP = 0x80

pub const PTRACE_O_TRACESYSGOOD = 0x1

pub const PTRACE_O_TRACEVFORK = 0x4

pub const PTRACE_O_TRACEVFORKDONE = 0x20

pub const PTRACE_PEEKDATA = 0x2

pub const PTRACE_PEEKSIGINFO = 0x4209

pub const PTRACE_PEEKSIGINFO_SHARED = 0x1

pub const PTRACE_PEEKTEXT = 0x1

pub const PTRACE_PEEKUSR = 0x3

pub const PTRACE_POKEDATA = 0x5

pub const PTRACE_POKETEXT = 0x4

pub const PTRACE_POKEUSR = 0x6

pub const PTRACE_SEIZE = 0x4206

pub const PTRACE_SETOPTIONS = 0x4200

pub const PTRACE_SETREGS = 0xd

pub const PTRACE_SETREGSET = 0x4205

pub const PTRACE_SETSIGINFO = 0x4203

pub const PTRACE_SETSIGMASK = 0x420b

pub const PTRACE_SINGLESTEP = 0x9

pub const PTRACE_SYSCALL = 0x18

pub const PTRACE_TRACEME = 0x0

pub const PathMax = 0x1000

pub const RLIMIT_AS = 0x9

pub const RLIMIT_CORE = 0x4

pub const RLIMIT_CPU = 0x0

pub const RLIMIT_DATA = 0x2

pub const RLIMIT_FSIZE = 0x1

pub const RLIMIT_NOFILE = 0x7

pub const RLIMIT_STACK = 0x3

pub const RLIM_INFINITY = -0x1

pub const RTAX_ADVMSS = 0x8

pub const RTAX_CWND = 0x7

pub const RTAX_FEATURES = 0xc

pub const RTAX_FEATURE_ALLFRAG = 0x8

pub const RTAX_FEATURE_ECN = 0x1

pub const RTAX_FEATURE_SACK = 0x2

pub const RTAX_FEATURE_TIMESTAMP = 0x4

pub const RTAX_HOPLIMIT = 0xa

pub const RTAX_INITCWND = 0xb

pub const RTAX_INITRWND = 0xe

pub const RTAX_LOCK = 0x1

pub const RTAX_MAX = 0xf

pub const RTAX_MTU = 0x2

pub const RTAX_QUICKACK = 0xf

pub const RTAX_REORDERING = 0x9

pub const RTAX_RTO_MIN = 0xd

pub const RTAX_RTT = 0x4

pub const RTAX_RTTVAR = 0x5

pub const RTAX_SSTHRESH = 0x6

pub const RTAX_UNSPEC = 0x0

pub const RTAX_WINDOW = 0x3

pub const RTA_ALIGNTO = 0x4

pub const RTA_CACHEINFO = 0xc

pub const RTA_DST = 0x1

pub const RTA_FLOW = 0xb

pub const RTA_GATEWAY = 0x5

pub const RTA_IIF = 0x3

pub const RTA_MAX = 0x11

pub const RTA_METRICS = 0x8

pub const RTA_MULTIPATH = 0x9

pub const RTA_OIF = 0x4

pub const RTA_PREFSRC = 0x7

pub const RTA_PRIORITY = 0x6

pub const RTA_SRC = 0x2

pub const RTA_TABLE = 0xf

pub const RTA_UNSPEC = 0x0

pub const RTCF_DIRECTSRC = 0x4000000

pub const RTCF_DOREDIRECT = 0x1000000

pub const RTCF_LOG = 0x2000000

pub const RTCF_MASQ = 0x400000

pub const RTCF_NAT = 0x800000

pub const RTCF_VALVE = 0x200000

pub const RTF_ADDRCLASSMASK = 0xf8000000

pub const RTF_ADDRCONF = 0x40000

pub const RTF_ALLONLINK = 0x20000

pub const RTF_BROADCAST = 0x10000000

pub const RTF_CACHE = 0x1000000

pub const RTF_DEFAULT = 0x10000

pub const RTF_DYNAMIC = 0x10

pub const RTF_FLOW = 0x2000000

pub const RTF_GATEWAY = 0x2

pub const RTF_HOST = 0x4

pub const RTF_INTERFACE = 0x40000000

pub const RTF_IRTT = 0x100

pub const RTF_LINKRT = 0x100000

pub const RTF_LOCAL = 0x80000000

pub const RTF_MODIFIED = 0x20

pub const RTF_MSS = 0x40

pub const RTF_MTU = 0x40

pub const RTF_MULTICAST = 0x20000000

pub const RTF_NAT = 0x8000000

pub const RTF_NOFORWARD = 0x1000

pub const RTF_NONEXTHOP = 0x200000

pub const RTF_NOPMTUDISC = 0x4000

pub const RTF_POLICY = 0x4000000

pub const RTF_REINSTATE = 0x8

pub const RTF_REJECT = 0x200

pub const RTF_STATIC = 0x400

pub const RTF_THROW = 0x2000

pub const RTF_UP = 0x1

pub const RTF_WINDOW = 0x80

pub const RTF_XRESOLVE = 0x800

pub const RTM_BASE = 0x10

pub const RTM_DELACTION = 0x31

pub const RTM_DELADDR = 0x15

pub const RTM_DELADDRLABEL = 0x49

pub const RTM_DELLINK = 0x11

pub const RTM_DELMDB = 0x55

pub const RTM_DELNEIGH = 0x1d

pub const RTM_DELQDISC = 0x25

pub const RTM_DELROUTE = 0x19

pub const RTM_DELRULE = 0x21

pub const RTM_DELTCLASS = 0x29

pub const RTM_DELTFILTER = 0x2d

pub const RTM_F_CLONED = 0x200

pub const RTM_F_EQUALIZE = 0x400

pub const RTM_F_NOTIFY = 0x100

pub const RTM_F_PREFIX = 0x800

pub const RTM_GETACTION = 0x32

pub const RTM_GETADDR = 0x16

pub const RTM_GETADDRLABEL = 0x4a

pub const RTM_GETANYCAST = 0x3e

pub const RTM_GETDCB = 0x4e

pub const RTM_GETLINK = 0x12

pub const RTM_GETMDB = 0x56

pub const RTM_GETMULTICAST = 0x3a

pub const RTM_GETNEIGH = 0x1e

pub const RTM_GETNEIGHTBL = 0x42

pub const RTM_GETNETCONF = 0x52

pub const RTM_GETQDISC = 0x26

pub const RTM_GETROUTE = 0x1a

pub const RTM_GETRULE = 0x22

pub const RTM_GETTCLASS = 0x2a

pub const RTM_GETTFILTER = 0x2e

pub const RTM_MAX = 0x57

pub const RTM_NEWACTION = 0x30

pub const RTM_NEWADDR = 0x14

pub const RTM_NEWADDRLABEL = 0x48

pub const RTM_NEWLINK = 0x10

pub const RTM_NEWMDB = 0x54

pub const RTM_NEWNDUSEROPT = 0x44

pub const RTM_NEWNEIGH = 0x1c

pub const RTM_NEWNEIGHTBL = 0x40

pub const RTM_NEWNETCONF = 0x50

pub const RTM_NEWPREFIX = 0x34

pub const RTM_NEWQDISC = 0x24

pub const RTM_NEWROUTE = 0x18

pub const RTM_NEWRULE = 0x20

pub const RTM_NEWTCLASS = 0x28

pub const RTM_NEWTFILTER = 0x2c

pub const RTM_NR_FAMILIES = 0x12

pub const RTM_NR_MSGTYPES = 0x48

pub const RTM_SETDCB = 0x4f

pub const RTM_SETLINK = 0x13

pub const RTM_SETNEIGHTBL = 0x43

pub const RTNH_ALIGNTO = 0x4

pub const RTNH_F_DEAD = 0x1

pub const RTNH_F_ONLINK = 0x4

pub const RTNH_F_PERVASIVE = 0x2

pub const RTNLGRP_IPV4_IFADDR = 0x5

pub const RTNLGRP_IPV4_MROUTE = 0x6

pub const RTNLGRP_IPV4_ROUTE = 0x7

pub const RTNLGRP_IPV4_RULE = 0x8

pub const RTNLGRP_IPV6_IFADDR = 0x9

pub const RTNLGRP_IPV6_IFINFO = 0xc

pub const RTNLGRP_IPV6_MROUTE = 0xa

pub const RTNLGRP_IPV6_PREFIX = 0x12

pub const RTNLGRP_IPV6_ROUTE = 0xb

pub const RTNLGRP_IPV6_RULE = 0x13

pub const RTNLGRP_LINK = 0x1

pub const RTNLGRP_ND_USEROPT = 0x14

pub const RTNLGRP_NEIGH = 0x3

pub const RTNLGRP_NONE = 0x0

pub const RTNLGRP_NOTIFY = 0x2

pub const RTNLGRP_TC = 0x4

pub const RTN_ANYCAST = 0x4

pub const RTN_BLACKHOLE = 0x6

pub const RTN_BROADCAST = 0x3

pub const RTN_LOCAL = 0x2

pub const RTN_MAX = 0xb

pub const RTN_MULTICAST = 0x5

pub const RTN_NAT = 0xa

pub const RTN_PROHIBIT = 0x8

pub const RTN_THROW = 0x9

pub const RTN_UNICAST = 0x1

pub const RTN_UNREACHABLE = 0x7

pub const RTN_UNSPEC = 0x0

pub const RTN_XRESOLVE = 0xb

pub const RTPROT_BIRD = 0xc

pub const RTPROT_BOOT = 0x3

pub const RTPROT_DHCP = 0x10

pub const RTPROT_DNROUTED = 0xd

pub const RTPROT_GATED = 0x8

pub const RTPROT_KERNEL = 0x2

pub const RTPROT_MROUTED = 0x11

pub const RTPROT_MRT = 0xa

pub const RTPROT_NTK = 0xf

pub const RTPROT_RA = 0x9

pub const RTPROT_REDIRECT = 0x1

pub const RTPROT_STATIC = 0x4

pub const RTPROT_UNSPEC = 0x0

pub const RTPROT_XORP = 0xe

pub const RTPROT_ZEBRA = 0xb

pub const RT_CLASS_DEFAULT = 0xfd

pub const RT_CLASS_LOCAL = 0xff

pub const RT_CLASS_MAIN = 0xfe

pub const RT_CLASS_MAX = 0xff

pub const RT_CLASS_UNSPEC = 0x0

pub const RT_SCOPE_HOST = 0xfe

pub const RT_SCOPE_LINK = 0xfd

pub const RT_SCOPE_NOWHERE = 0xff

pub const RT_SCOPE_SITE = 0xc8

pub const RT_SCOPE_UNIVERSE = 0x0

pub const RT_TABLE_COMPAT = 0xfc

pub const RT_TABLE_DEFAULT = 0xfd

pub const RT_TABLE_LOCAL = 0xff

pub const RT_TABLE_MAIN = 0xfe

pub const RT_TABLE_MAX = 0xffffffff

pub const RT_TABLE_UNSPEC = 0x0

pub const RUSAGE_CHILDREN = -0x1

pub const RUSAGE_SELF = 0x0

pub const RUSAGE_THREAD = 0x1

pub const SCM_CREDENTIALS = 0x2

pub const SCM_RIGHTS = 0x1

pub const SCM_TIMESTAMP = 0x1d

pub const SCM_TIMESTAMPING = 0x25

pub const SCM_TIMESTAMPNS = 0x23

pub const SCM_WIFI_STATUS = 0x29

pub const SHUT_RD = 0x0

pub const SHUT_RDWR = 0x2

pub const SHUT_WR = 0x1

pub const SIOCADDDLCI = 0x8980

pub const SIOCADDMULTI = 0x8931

pub const SIOCADDRT = 0x890b

pub const SIOCATMARK = 0x8905

pub const SIOCDARP = 0x8953

pub const SIOCDELDLCI = 0x8981

pub const SIOCDELMULTI = 0x8932

pub const SIOCDELRT = 0x890c

pub const SIOCDEVPRIVATE = 0x89f0

pub const SIOCDIFADDR = 0x8936

pub const SIOCDRARP = 0x8960

pub const SIOCGARP = 0x8954

pub const SIOCGIFADDR = 0x8915

pub const SIOCGIFBR = 0x8940

pub const SIOCGIFBRDADDR = 0x8919

pub const SIOCGIFCONF = 0x8912

pub const SIOCGIFCOUNT = 0x8938

pub const SIOCGIFDSTADDR = 0x8917

pub const SIOCGIFENCAP = 0x8925

pub const SIOCGIFFLAGS = 0x8913

pub const SIOCGIFHWADDR = 0x8927

pub const SIOCGIFINDEX = 0x8933

pub const SIOCGIFMAP = 0x8970

pub const SIOCGIFMEM = 0x891f

pub const SIOCGIFMETRIC = 0x891d

pub const SIOCGIFMTU = 0x8921

pub const SIOCGIFNAME = 0x8910

pub const SIOCGIFNETMASK = 0x891b

pub const SIOCGIFPFLAGS = 0x8935

pub const SIOCGIFSLAVE = 0x8929

pub const SIOCGIFTXQLEN = 0x8942

pub const SIOCGPGRP = 0x8904

pub const SIOCGRARP = 0x8961

pub const SIOCGSTAMP = 0x8906

pub const SIOCGSTAMPNS = 0x8907

pub const SIOCPROTOPRIVATE = 0x89e0

pub const SIOCRTMSG = 0x890d

pub const SIOCSARP = 0x8955

pub const SIOCSIFADDR = 0x8916

pub const SIOCSIFBR = 0x8941

pub const SIOCSIFBRDADDR = 0x891a

pub const SIOCSIFDSTADDR = 0x8918

pub const SIOCSIFENCAP = 0x8926

pub const SIOCSIFFLAGS = 0x8914

pub const SIOCSIFHWADDR = 0x8924

pub const SIOCSIFHWBROADCAST = 0x8937

pub const SIOCSIFLINK = 0x8911

pub const SIOCSIFMAP = 0x8971

pub const SIOCSIFMEM = 0x8920

pub const SIOCSIFMETRIC = 0x891e

pub const SIOCSIFMTU = 0x8922

pub const SIOCSIFNAME = 0x8923

pub const SIOCSIFNETMASK = 0x891c

pub const SIOCSIFPFLAGS = 0x8934

pub const SIOCSIFSLAVE = 0x8930

pub const SIOCSIFTXQLEN = 0x8943

pub const SIOCSPGRP = 0x8902

pub const SIOCSRARP = 0x8962

pub const SOCK_CLOEXEC = 0x80000

pub const SOCK_DCCP = 0x6

pub const SOCK_DGRAM = 0x2

pub const SOCK_NONBLOCK = 0x800

pub const SOCK_PACKET = 0xa

pub const SOCK_RAW = 0x3

pub const SOCK_RDM = 0x4

pub const SOCK_SEQPACKET = 0x5

pub const SOCK_STREAM = 0x1

pub const SOL_AAL = 0x109

pub const SOL_ATM = 0x108

pub const SOL_DECNET = 0x105

pub const SOL_ICMPV6 = 0x3a

pub const SOL_IP = 0x0

pub const SOL_IPV6 = 0x29

pub const SOL_IRDA = 0x10a

pub const SOL_PACKET = 0x107

pub const SOL_RAW = 0xff

pub const SOL_SOCKET = 0x1

pub const SOL_TCP = 0x6

pub const SOL_X25 = 0x106

pub const SOMAXCONN = 0x80

pub const SO_ACCEPTCONN = 0x1e

pub const SO_ATTACH_FILTER = 0x1a

pub const SO_BINDTODEVICE = 0x19

pub const SO_BROADCAST = 0x6

pub const SO_BSDCOMPAT = 0xe

pub const SO_BUSY_POLL = 0x2e

pub const SO_DEBUG = 0x1

pub const SO_DETACH_FILTER = 0x1b

pub const SO_DOMAIN = 0x27

pub const SO_DONTROUTE = 0x5

pub const SO_ERROR = 0x4

pub const SO_GET_FILTER = 0x1a

pub const SO_KEEPALIVE = 0x9

pub const SO_LINGER = 0xd

pub const SO_LOCK_FILTER = 0x2c

pub const SO_MARK = 0x24

pub const SO_MAX_PACING_RATE = 0x2f

pub const SO_NOFCS = 0x2b

pub const SO_NO_CHECK = 0xb

pub const SO_OOBINLINE = 0xa

pub const SO_PASSCRED = 0x10

pub const SO_PASSSEC = 0x22

pub const SO_PEEK_OFF = 0x2a

pub const SO_PEERCRED = 0x11

pub const SO_PEERNAME = 0x1c

pub const SO_PEERSEC = 0x1f

pub const SO_PRIORITY = 0xc

pub const SO_PROTOCOL = 0x26

pub const SO_RCVBUF = 0x8

pub const SO_RCVBUFFORCE = 0x21

pub const SO_RCVLOWAT = 0x12

pub const SO_RCVTIMEO = 0x14

pub const SO_REUSEADDR = 0x2

pub const SO_REUSEPORT = 0xf

pub const SO_RXQ_OVFL = 0x28

pub const SO_SECURITY_AUTHENTICATION = 0x16

pub const SO_SECURITY_ENCRYPTION_NETWORK = 0x18

pub const SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17

pub const SO_SELECT_ERR_QUEUE = 0x2d

pub const SO_SNDBUF = 0x7

pub const SO_SNDBUFFORCE = 0x20

pub const SO_SNDLOWAT = 0x13

pub const SO_SNDTIMEO = 0x15

pub const SO_TIMESTAMP = 0x1d

pub const SO_TIMESTAMPING = 0x25

pub const SO_TIMESTAMPNS = 0x23

pub const SO_TYPE = 0x3

pub const SO_WIFI_STATUS = 0x29

pub const SYS_ACCEPT = 202

pub const SYS_ACCEPT4 = 242

pub const SYS_ACCT = 89

pub const SYS_ADD_KEY = 217

pub const SYS_ADJTIMEX = 171

pub const SYS_ARCH_SPECIFIC_SYSCALL = 244

pub const SYS_BIND = 200

pub const SYS_BPF = 280

pub const SYS_BRK = 214

pub const SYS_CAPGET = 90

pub const SYS_CAPSET = 91

pub const SYS_CHDIR = 49

pub const SYS_CHROOT = 51

pub const SYS_CLOCK_ADJTIME = 266

pub const SYS_CLOCK_GETRES = 114

pub const SYS_CLOCK_GETTIME = 113

pub const SYS_CLOCK_NANOSLEEP = 115

pub const SYS_CLOCK_SETTIME = 112

pub const SYS_CLONE = 220

pub const SYS_CLOSE = 57

pub const SYS_CONNECT = 203

pub const SYS_DELETE_MODULE = 106

pub const SYS_DUP = 23

pub const SYS_DUP3 = 24

pub const SYS_EPOLL_CREATE1 = 20

pub const SYS_EPOLL_CTL = 21

pub const SYS_EPOLL_PWAIT = 22

pub const SYS_EVENTFD2 = 19

pub const SYS_EXECVE = 221

pub const SYS_EXECVEAT = 281

pub const SYS_EXIT = 93

pub const SYS_EXIT_GROUP = 94

pub const SYS_FACCESSAT = 48

pub const SYS_FADVISE64 = 223

pub const SYS_FALLOCATE = 47

pub const SYS_FANOTIFY_INIT = 262

pub const SYS_FANOTIFY_MARK = 263

pub const SYS_FCHDIR = 50

pub const SYS_FCHMOD = 52

pub const SYS_FCHMODAT = 53

pub const SYS_FCHOWN = 55

pub const SYS_FCHOWNAT = 54

pub const SYS_FCNTL = 25

pub const SYS_FDATASYNC = 83

pub const SYS_FGETXATTR = 10

pub const SYS_FINIT_MODULE = 273

pub const SYS_FLISTXATTR = 13

pub const SYS_FLOCK = 32

pub const SYS_FREMOVEXATTR = 16

pub const SYS_FSETXATTR = 7

pub const SYS_FSTAT = 80

pub const SYS_FSTATAT = 79

pub const SYS_FSTATFS = 44

pub const SYS_FSYNC = 82

pub const SYS_FTRUNCATE = 46

pub const SYS_FUTEX = 98

pub const SYS_GETCPU = 168

pub const SYS_GETCWD = 17

pub const SYS_GETDENTS64 = 61

pub const SYS_GETEGID = 177

pub const SYS_GETEUID = 175

pub const SYS_GETGID = 176

pub const SYS_GETGROUPS = 158

pub const SYS_GETITIMER = 102

pub const SYS_GETPEERNAME = 205

pub const SYS_GETPGID = 155

pub const SYS_GETPID = 172

pub const SYS_GETPPID = 173

pub const SYS_GETPRIORITY = 141

pub const SYS_GETRANDOM = 278

pub const SYS_GETRESGID = 150

pub const SYS_GETRESUID = 148

pub const SYS_GETRLIMIT = 163

pub const SYS_GETRUSAGE = 165

pub const SYS_GETSID = 156

pub const SYS_GETSOCKNAME = 204

pub const SYS_GETSOCKOPT = 209

pub const SYS_GETTID = 178

pub const SYS_GETTIMEOFDAY = 169

pub const SYS_GETUID = 174

pub const SYS_GETXATTR = 8

pub const SYS_GET_MEMPOLICY = 236

pub const SYS_GET_ROBUST_LIST = 100

pub const SYS_INIT_MODULE = 105

pub const SYS_INOTIFY_ADD_WATCH = 27

pub const SYS_INOTIFY_INIT1 = 26

pub const SYS_INOTIFY_RM_WATCH = 28

pub const SYS_IOCTL = 29

pub const SYS_IOPRIO_GET = 31

pub const SYS_IOPRIO_SET = 30

pub const SYS_IO_CANCEL = 3

pub const SYS_IO_DESTROY = 1

pub const SYS_IO_GETEVENTS = 4

pub const SYS_IO_SETUP = 0

pub const SYS_IO_SUBMIT = 2

pub const SYS_KCMP = 272

pub const SYS_KEXEC_LOAD = 104

pub const SYS_KEYCTL = 219

pub const SYS_KILL = 129

pub const SYS_LGETXATTR = 9

pub const SYS_LINKAT = 37

pub const SYS_LISTEN = 201

pub const SYS_LISTXATTR = 11

pub const SYS_LLISTXATTR = 12

pub const SYS_LOOKUP_DCOOKIE = 18

pub const SYS_LREMOVEXATTR = 15

pub const SYS_LSEEK = 62

pub const SYS_LSETXATTR = 6

pub const SYS_MADVISE = 233

pub const SYS_MBIND = 235

pub const SYS_MEMFD_CREATE = 279

pub const SYS_MIGRATE_PAGES = 238

pub const SYS_MINCORE = 232

pub const SYS_MKDIRAT = 34

pub const SYS_MKNODAT = 33

pub const SYS_MLOCK = 228

pub const SYS_MLOCKALL = 230

pub const SYS_MMAP = 222

pub const SYS_MOUNT = 40

pub const SYS_MOVE_PAGES = 239

pub const SYS_MPROTECT = 226

pub const SYS_MQ_GETSETATTR = 185

pub const SYS_MQ_NOTIFY = 184

pub const SYS_MQ_OPEN = 180

pub const SYS_MQ_TIMEDRECEIVE = 183

pub const SYS_MQ_TIMEDSEND = 182

pub const SYS_MQ_UNLINK = 181

pub const SYS_MREMAP = 216

pub const SYS_MSGCTL = 187

pub const SYS_MSGGET = 186

pub const SYS_MSGRCV = 188

pub const SYS_MSGSND = 189

pub const SYS_MSYNC = 227

pub const SYS_MUNLOCK = 229

pub const SYS_MUNLOCKALL = 231

pub const SYS_MUNMAP = 215

pub const SYS_NAME_TO_HANDLE_AT = 264

pub const SYS_NANOSLEEP = 101

pub const SYS_NFSSERVCTL = 42

pub const SYS_OPENAT = 56

pub const SYS_OPEN_BY_HANDLE_AT = 265

pub const SYS_PERF_EVENT_OPEN = 241

pub const SYS_PERSONALITY = 92

pub const SYS_PIPE2 = 59

pub const SYS_PIVOT_ROOT = 41

pub const SYS_PPOLL = 73

pub const SYS_PRCTL = 167

pub const SYS_PREAD64 = 67

pub const SYS_PREADV = 69

pub const SYS_PRLIMIT64 = 261

pub const SYS_PROCESS_VM_READV = 270

pub const SYS_PROCESS_VM_WRITEV = 271

pub const SYS_PSELECT6 = 72

pub const SYS_PTRACE = 117

pub const SYS_PWRITE64 = 68

pub const SYS_PWRITEV = 70

pub const SYS_QUOTACTL = 60

pub const SYS_READ = 63

pub const SYS_READAHEAD = 213

pub const SYS_READLINKAT = 78

pub const SYS_READV = 65

pub const SYS_REBOOT = 142

pub const SYS_RECVFROM = 207

pub const SYS_RECVMMSG = 243

pub const SYS_RECVMSG = 212

pub const SYS_REMAP_FILE_PAGES = 234

pub const SYS_REMOVEXATTR = 14

pub const SYS_RENAMEAT = 38

pub const SYS_RENAMEAT2 = 276

pub const SYS_REQUEST_KEY = 218

pub const SYS_RESTART_SYSCALL = 128

pub const SYS_RT_SIGACTION = 134

pub const SYS_RT_SIGPENDING = 136

pub const SYS_RT_SIGPROCMASK = 135

pub const SYS_RT_SIGQUEUEINFO = 138

pub const SYS_RT_SIGRETURN = 139

pub const SYS_RT_SIGSUSPEND = 133

pub const SYS_RT_SIGTIMEDWAIT = 137

pub const SYS_RT_TGSIGQUEUEINFO = 240

pub const SYS_SCHED_GETAFFINITY = 123

pub const SYS_SCHED_GETATTR = 275

pub const SYS_SCHED_GETPARAM = 121

pub const SYS_SCHED_GETSCHEDULER = 120

pub const SYS_SCHED_GET_PRIORITY_MAX = 125

pub const SYS_SCHED_GET_PRIORITY_MIN = 126

pub const SYS_SCHED_RR_GET_INTERVAL = 127

pub const SYS_SCHED_SETAFFINITY = 122

pub const SYS_SCHED_SETATTR = 274

pub const SYS_SCHED_SETPARAM = 118

pub const SYS_SCHED_SETSCHEDULER = 119

pub const SYS_SCHED_YIELD = 124

pub const SYS_SECCOMP = 277

pub const SYS_SEMCTL = 191

pub const SYS_SEMGET = 190

pub const SYS_SEMOP = 193

pub const SYS_SEMTIMEDOP = 192

pub const SYS_SENDFILE = 71

pub const SYS_SENDMMSG = 269

pub const SYS_SENDMSG = 211

pub const SYS_SENDTO = 206

pub const SYS_SETDOMAINNAME = 162

pub const SYS_SETFSGID = 152

pub const SYS_SETFSUID = 151

pub const SYS_SETGID = 144

pub const SYS_SETGROUPS = 159

pub const SYS_SETHOSTNAME = 161

pub const SYS_SETITIMER = 103

pub const SYS_SETNS = 268

pub const SYS_SETPGID = 154

pub const SYS_SETPRIORITY = 140

pub const SYS_SETREGID = 143

pub const SYS_SETRESGID = 149

pub const SYS_SETRESUID = 147

pub const SYS_SETREUID = 145

pub const SYS_SETRLIMIT = 164

pub const SYS_SETSID = 157

pub const SYS_SETSOCKOPT = 208

pub const SYS_SETTIMEOFDAY = 170

pub const SYS_SETUID = 146

pub const SYS_SETXATTR = 5

pub const SYS_SET_MEMPOLICY = 237

pub const SYS_SET_ROBUST_LIST = 99

pub const SYS_SET_TID_ADDRESS = 96

pub const SYS_SHMAT = 196

pub const SYS_SHMCTL = 195

pub const SYS_SHMDT = 197

pub const SYS_SHMGET = 194

pub const SYS_SHUTDOWN = 210

pub const SYS_SIGALTSTACK = 132

pub const SYS_SIGNALFD4 = 74

pub const SYS_SOCKET = 198

pub const SYS_SOCKETPAIR = 199

pub const SYS_SPLICE = 76

pub const SYS_STATFS = 43

pub const SYS_SWAPOFF = 225

pub const SYS_SWAPON = 224

pub const SYS_SYMLINKAT = 36

pub const SYS_SYNC = 81

pub const SYS_SYNCFS = 267

pub const SYS_SYNC_FILE_RANGE = 84

pub const SYS_SYNC_FILE_RANGE2 = 84

pub const SYS_SYSINFO = 179

pub const SYS_SYSLOG = 116

pub const SYS_TEE = 77

pub const SYS_TGKILL = 131

pub const SYS_TIMERFD_CREATE = 85

pub const SYS_TIMERFD_GETTIME = 87

pub const SYS_TIMERFD_SETTIME = 86

pub const SYS_TIMER_CREATE = 107

pub const SYS_TIMER_DELETE = 111

pub const SYS_TIMER_GETOVERRUN = 109

pub const SYS_TIMER_GETTIME = 108

pub const SYS_TIMER_SETTIME = 110

pub const SYS_TIMES = 153

pub const SYS_TKILL = 130

pub const SYS_TRUNCATE = 45

pub const SYS_UMASK = 166

pub const SYS_UMOUNT2 = 39

pub const SYS_UNAME = 160

pub const SYS_UNLINKAT = 35

pub const SYS_UNSHARE = 97

pub const SYS_UTIMENSAT = 88

pub const SYS_VHANGUP = 58

pub const SYS_VMSPLICE = 75

pub const SYS_WAIT4 = 260

pub const SYS_WAITID = 95

pub const SYS_WRITE = 64

pub const SYS_WRITEV = 66

pub const S_BLKSIZE = 0x200

pub const S_IEXEC = 0x40

pub const S_IFBLK = 0x6000

pub const S_IFCHR = 0x2000

pub const S_IFDIR = 0x4000

pub const S_IFIFO = 0x1000

pub const S_IFLNK = 0xa000

pub const S_IFMT = 0xf000

pub const S_IFREG = 0x8000

pub const S_IFSOCK = 0xc000

pub const S_IREAD = 0x100

pub const S_IRGRP = 0x20

pub const S_IROTH = 0x4

pub const S_IRUSR = 0x100

pub const S_IRWXG = 0x38

pub const S_IRWXO = 0x7

pub const S_IRWXU = 0x1c0

pub const S_ISGID = 0x400

pub const S_ISUID = 0x800

pub const S_ISVTX = 0x200

pub const S_IWGRP = 0x10

pub const S_IWOTH = 0x2

pub const S_IWRITE = 0x80

pub const S_IWUSR = 0x80

pub const S_IXGRP = 0x8

pub const S_IXOTH = 0x1

pub const S_IXUSR = 0x40

pub const SizeofCmsghdr = 0x10

pub const SizeofICMPv6Filter = 0x20

pub const SizeofIPMreq = 0x8

pub const SizeofIPMreqn = 0xc

pub const SizeofIPv6MTUInfo = 0x20

pub const SizeofIPv6Mreq = 0x14

pub const SizeofIfAddrmsg = 0x8

pub const SizeofIfInfomsg = 0x10

pub const SizeofInet4Pktinfo = 0xc

pub const SizeofInet6Pktinfo = 0x14

pub const SizeofInotifyEvent = 0x10

pub const SizeofLinger = 0x8

pub const SizeofMsghdr = 0x38

pub const SizeofNlAttr = 0x4

pub const SizeofNlMsgerr = 0x14

pub const SizeofNlMsghdr = 0x10

pub const SizeofRtAttr = 0x4

pub const SizeofRtGenmsg = 0x1

pub const SizeofRtMsg = 0xc

pub const SizeofRtNexthop = 0x8

pub const SizeofSockFilter = 0x8

pub const SizeofSockFprog = 0x10

pub const SizeofSockaddrAny = 0x70

pub const SizeofSockaddrInet4 = 0x10

pub const SizeofSockaddrInet6 = 0x1c

pub const SizeofSockaddrLinklayer = 0x14

pub const SizeofSockaddrNetlink = 0xc

pub const SizeofSockaddrUnix = 0x6e

pub const SizeofTCPInfo = 0x68

pub const SizeofUcred = 0xc

pub const TCFLSH = 0x540b

pub const TCGETS = 0x5401

pub const TCIFLUSH = 0x0

pub const TCIOFLUSH = 0x2

pub const TCOFLUSH = 0x1

pub const TCP_CONGESTION = 0xd

pub const TCP_COOKIE_IN_ALWAYS = 0x1

pub const TCP_COOKIE_MAX = 0x10

pub const TCP_COOKIE_MIN = 0x8

pub const TCP_COOKIE_OUT_NEVER = 0x2

pub const TCP_COOKIE_PAIR_SIZE = 0x20

pub const TCP_COOKIE_TRANSACTIONS = 0xf

pub const TCP_CORK = 0x3

pub const TCP_DEFER_ACCEPT = 0x9

pub const TCP_FASTOPEN = 0x17

pub const TCP_INFO = 0xb

pub const TCP_KEEPCNT = 0x6

pub const TCP_KEEPIDLE = 0x4

pub const TCP_KEEPINTVL = 0x5

pub const TCP_LINGER2 = 0x8

pub const TCP_MAXSEG = 0x2

pub const TCP_MAXWIN = 0xffff

pub const TCP_MAX_WINSHIFT = 0xe

pub const TCP_MD5SIG = 0xe

pub const TCP_MD5SIG_MAXKEYLEN = 0x50

pub const TCP_MSS = 0x200

pub const TCP_MSS_DEFAULT = 0x218

pub const TCP_MSS_DESIRED = 0x4c4

pub const TCP_NODELAY = 0x1

pub const TCP_QUEUE_SEQ = 0x15

pub const TCP_QUICKACK = 0xc

pub const TCP_REPAIR = 0x13

pub const TCP_REPAIR_OPTIONS = 0x16

pub const TCP_REPAIR_QUEUE = 0x14

pub const TCP_SYNCNT = 0x7

pub const TCP_S_DATA_IN = 0x4

pub const TCP_S_DATA_OUT = 0x8

pub const TCP_THIN_DUPACK = 0x11

pub const TCP_THIN_LINEAR_TIMEOUTS = 0x10

pub const TCP_TIMESTAMP = 0x18

pub const TCP_USER_TIMEOUT = 0x12

pub const TCP_WINDOW_CLAMP = 0xa

pub const TCSAFLUSH = 0x2

pub const TCSETS = 0x5402

pub const TIOCCBRK = 0x5428

pub const TIOCCONS = 0x541d

pub const TIOCEXCL = 0x540c

pub const TIOCGDEV = 0x80045432

pub const TIOCGETD = 0x5424

pub const TIOCGEXCL = 0x80045440

pub const TIOCGICOUNT = 0x545d

pub const TIOCGLCKTRMIOS = 0x5456

pub const TIOCGPGRP = 0x540f

pub const TIOCGPKT = 0x80045438

pub const TIOCGPTLCK = 0x80045439

pub const TIOCGPTN = 0x80045430

pub const TIOCGRS485 = 0x542e

pub const TIOCGSERIAL = 0x541e

pub const TIOCGSID = 0x5429

pub const TIOCGSOFTCAR = 0x5419

pub const TIOCGWINSZ = 0x5413

pub const TIOCINQ = 0x541b

pub const TIOCLINUX = 0x541c

pub const TIOCMBIC = 0x5417

pub const TIOCMBIS = 0x5416

pub const TIOCMGET = 0x5415

pub const TIOCMIWAIT = 0x545c

pub const TIOCMSET = 0x5418

pub const TIOCM_CAR = 0x40

pub const TIOCM_CD = 0x40

pub const TIOCM_CTS = 0x20

pub const TIOCM_DSR = 0x100

pub const TIOCM_DTR = 0x2

pub const TIOCM_LE = 0x1

pub const TIOCM_RI = 0x80

pub const TIOCM_RNG = 0x80

pub const TIOCM_RTS = 0x4

pub const TIOCM_SR = 0x10

pub const TIOCM_ST = 0x8

pub const TIOCNOTTY = 0x5422

pub const TIOCNXCL = 0x540d

pub const TIOCOUTQ = 0x5411

pub const TIOCPKT = 0x5420

pub const TIOCPKT_DATA = 0x0

pub const TIOCPKT_DOSTOP = 0x20

pub const TIOCPKT_FLUSHREAD = 0x1

pub const TIOCPKT_FLUSHWRITE = 0x2

pub const TIOCPKT_IOCTL = 0x40

pub const TIOCPKT_NOSTOP = 0x10

pub const TIOCPKT_START = 0x8

pub const TIOCPKT_STOP = 0x4

pub const TIOCSBRK = 0x5427

pub const TIOCSCTTY = 0x540e

pub const TIOCSERCONFIG = 0x5453

pub const TIOCSERGETLSR = 0x5459

pub const TIOCSERGETMULTI = 0x545a

pub const TIOCSERGSTRUCT = 0x5458

pub const TIOCSERGWILD = 0x5454

pub const TIOCSERSETMULTI = 0x545b

pub const TIOCSERSWILD = 0x5455

pub const TIOCSER_TEMT = 0x1

pub const TIOCSETD = 0x5423

pub const TIOCSIG = 0x40045436

pub const TIOCSLCKTRMIOS = 0x5457

pub const TIOCSPGRP = 0x5410

pub const TIOCSPTLCK = 0x40045431

pub const TIOCSRS485 = 0x542f

pub const TIOCSSERIAL = 0x541f

pub const TIOCSSOFTCAR = 0x541a

pub const TIOCSTI = 0x5412

pub const TIOCSWINSZ = 0x5414

pub const TIOCVHANGUP = 0x5437

pub const TOSTOP = 0x100

pub const TUNATTACHFILTER = 0x401054d5

pub const TUNDETACHFILTER = 0x401054d6

pub const TUNGETFEATURES = 0x800454cf

pub const TUNGETFILTER = 0x801054db

pub const TUNGETIFF = 0x800454d2

pub const TUNGETSNDBUF = 0x800454d3

pub const TUNGETVNETHDRSZ = 0x800454d7

pub const TUNSETDEBUG = 0x400454c9

pub const TUNSETGROUP = 0x400454ce

pub const TUNSETIFF = 0x400454ca

pub const TUNSETIFINDEX = 0x400454da

pub const TUNSETLINK = 0x400454cd

pub const TUNSETNOCSUM = 0x400454c8

pub const TUNSETOFFLOAD = 0x400454d0

pub const TUNSETOWNER = 0x400454cc

pub const TUNSETPERSIST = 0x400454cb

pub const TUNSETQUEUE = 0x400454d9

pub const TUNSETSNDBUF = 0x400454d4

pub const TUNSETTXFILTER = 0x400454d1

pub const TUNSETVNETHDRSZ = 0x400454d8

pub const VDISCARD = 0xd

pub const VEOF = 0x4

pub const VEOL = 0xb

pub const VEOL2 = 0x10

pub const VERASE = 0x2

pub const VINTR = 0x0

pub const VKILL = 0x3

pub const VLNEXT = 0xf

pub const VMIN = 0x6

pub const VQUIT = 0x1

pub const VREPRINT = 0xc

pub const VSTART = 0x8

pub const VSTOP = 0x9

pub const VSUSP = 0xa

pub const VSWTC = 0x7

pub const VT0 = 0x0

pub const VT1 = 0x4000

pub const VTDLY = 0x4000

pub const VTIME = 0x5

pub const VWERASE = 0xe

pub const WALL = 0x40000000

pub const WCLONE = 0x80000000

pub const WCONTINUED = 0x8

pub const WEXITED = 0x4

pub const WNOHANG = 0x1

pub const WNOTHREAD = 0x20000000

pub const WNOWAIT = 0x1000000

pub const WORDSIZE = 0x40

pub const WSTOPPED = 0x2

pub const WUNTRACED = 0x2

pub const XCASE = 0x4

/// ForkLock is used to synchronize creation of new file descriptors
/// with fork.
/// 
/// We want the child in a fork/exec sequence to inherit only the
/// file descriptors we intend. To do that, we mark all file
/// descriptors close-on-exec and then, in the child, explicitly
/// unmark the ones we want the exec'ed program to keep.
/// Unix doesn't make this easy: there is, in general, no way to
/// allocate a new file descriptor close-on-exec. Instead you
/// have to allocate the descriptor and then mark it close-on-exec.
/// If a fork happens between those two events, the child's exec
/// will inherit an unwanted file descriptor.
/// 
/// This lock solves that race: the create new fd/mark close-on-exec
/// operation is done holding ForkLock for reading, and the fork itself
/// is done holding ForkLock for writing. At least, that's the idea.
/// There are some complications.
/// 
/// Some system calls that create new file descriptors can block
/// for arbitrarily long times: open on a hung NFS server or named
/// pipe, accept on a socket, and so on. We can't reasonably grab
/// the lock across those operations.
/// 
/// It is worse to inherit some file descriptors than others.
/// If a non-malicious child accidentally inherits an open ordinary file,
/// that's not a big deal. On the other hand, if a long-lived child
/// accidentally inherits the write end of a pipe, then the reader
/// of that pipe will not see EOF until that child exits, potentially
/// causing the parent program to hang. This is a common problem
/// in threaded C programs that use popen.
/// 
/// Luckily, the file descriptors that are most important not to
/// inherit are not the ones that can take an arbitrarily long time
/// to create: pipe returns instantly, and the net package uses
/// non-blocking I/O to accept on a listening socket.
/// The rules for which file descriptor-creating operations use the
/// ForkLock are as follows:
/// 
///   - [Pipe]. Use pipe2 if available. Otherwise, does not block,
///     so use ForkLock.
///   - [Socket]. Use SOCK_CLOEXEC if available. Otherwise, does not
///     block, so use ForkLock.
///   - [Open]. Use [O_CLOEXEC] if available. Otherwise, may block,
///     so live with the race.
///   - [Dup]. Use [F_DUPFD_CLOEXEC] or dup3 if available. Otherwise,
///     does not block, so use ForkLock.
pub var ForkLock: sync.RWMutex

/// For testing: clients can set this flag to force
/// creation of IPv6 sockets to return [EAFNOSUPPORT].
pub var SocketDisableIPv6: bool

pub var Stderr: int

pub var Stdin: int

pub var Stdout: int

impl Cmsghdr {
  fn SetLen(self: Ref<Cmsghdr>, length: int)
}

impl Errno {
  fn Error(self) -> string

  fn Is(self, target: error) -> bool

  fn Temporary(self) -> bool

  fn Timeout(self) -> bool
}

impl Iovec {
  fn SetLen(self: Ref<Iovec>, length: int)
}

impl Msghdr {
  fn SetControllen(self: Ref<Msghdr>, length: int)
}

impl PtraceRegs {
  fn PC(self: Ref<PtraceRegs>) -> uint64

  fn SetPC(self: Ref<PtraceRegs>, pc: uint64)
}

impl Signal {
  fn Signal(self)

  fn String(self) -> string
}

impl Timespec {
  /// Nano returns the time stored in ts as nanoseconds.
  fn Nano(self: Ref<Timespec>) -> int64

  /// Unix returns the time stored in ts as seconds plus nanoseconds.
  fn Unix(self: Ref<Timespec>) -> (int64, int64)
}

impl Timeval {
  /// Nano returns the time stored in tv as nanoseconds.
  fn Nano(self: Ref<Timeval>) -> int64

  /// Unix returns the time stored in tv as seconds plus nanoseconds.
  fn Unix(self: Ref<Timeval>) -> (int64, int64)
}

impl WaitStatus {
  fn Continued(self) -> bool

  fn CoreDump(self) -> bool

  fn ExitStatus(self) -> int

  fn Exited(self) -> bool

  fn Signal(self) -> Signal

  fn Signaled(self) -> bool

  fn StopSignal(self) -> Signal

  fn Stopped(self) -> bool

  fn TrapCause(self) -> int
}