@@ -1176,6 +1176,63 @@ pub mod consts {
1176
1176
pub static MS_ASYNC : int = 0x0001 ;
1177
1177
pub static MS_INVALIDATE : int = 0x0002 ;
1178
1178
pub static MS_SYNC : int = 0x0004 ;
1179
+
1180
+ pub static _SC_ARG_MAX : int = 0 ;
1181
+ pub static _SC_CHILD_MAX : int = 1 ;
1182
+ pub static _SC_CLK_TCK : int = 2 ;
1183
+ pub static _SC_NGROUPS_MAX : int = 3 ;
1184
+ pub static _SC_OPEN_MAX : int = 4 ;
1185
+ pub static _SC_STREAM_MAX : int = 5 ;
1186
+ pub static _SC_TZNAME_MAX : int = 6 ;
1187
+ pub static _SC_JOB_CONTROL : int = 7 ;
1188
+ pub static _SC_SAVED_IDS : int = 8 ;
1189
+ pub static _SC_REALTIME_SIGNALS : int = 9 ;
1190
+ pub static _SC_PRIORITY_SCHEDULING : int = 10 ;
1191
+ pub static _SC_TIMERS : int = 11 ;
1192
+ pub static _SC_ASYNCHRONOUS_IO : int = 12 ;
1193
+ pub static _SC_PRIORITIZED_IO : int = 13 ;
1194
+ pub static _SC_SYNCHRONIZED_IO : int = 14 ;
1195
+ pub static _SC_FSYNC : int = 15 ;
1196
+ pub static _SC_MAPPED_FILES : int = 16 ;
1197
+ pub static _SC_MEMLOCK : int = 17 ;
1198
+ pub static _SC_MEMLOCK_RANGE : int = 18 ;
1199
+ pub static _SC_MEMORY_PROTECTION : int = 19 ;
1200
+ pub static _SC_MESSAGE_PASSING : int = 20 ;
1201
+ pub static _SC_SEMAPHORES : int = 21 ;
1202
+ pub static _SC_SHARED_MEMORY_OBJECTS : int = 22 ;
1203
+ pub static _SC_AIO_LISTIO_MAX : int = 23 ;
1204
+ pub static _SC_AIO_MAX : int = 24 ;
1205
+ pub static _SC_AIO_PRIO_DELTA_MAX : int = 25 ;
1206
+ pub static _SC_DELAYTIMER_MAX : int = 26 ;
1207
+ pub static _SC_MQ_OPEN_MAX : int = 27 ;
1208
+ pub static _SC_VERSION : int = 29 ;
1209
+ pub static _SC_PAGESIZE : int = 30 ;
1210
+ pub static _SC_RTSIG_MAX : int = 31 ;
1211
+ pub static _SC_SEM_NSEMS_MAX : int = 32 ;
1212
+ pub static _SC_SEM_VALUE_MAX : int = 33 ;
1213
+ pub static _SC_SIGQUEUE_MAX : int = 34 ;
1214
+ pub static _SC_TIMER_MAX : int = 35 ;
1215
+ pub static _SC_BC_BASE_MAX : int = 36 ;
1216
+ pub static _SC_BC_DIM_MAX : int = 37 ;
1217
+ pub static _SC_BC_SCALE_MAX : int = 38 ;
1218
+ pub static _SC_BC_STRING_MAX : int = 39 ;
1219
+ pub static _SC_COLL_WEIGHTS_MAX : int = 40 ;
1220
+ pub static _SC_EXPR_NEST_MAX : int = 42 ;
1221
+ pub static _SC_LINE_MAX : int = 43 ;
1222
+ pub static _SC_RE_DUP_MAX : int = 44 ;
1223
+ pub static _SC_2_VERSION : int = 46 ;
1224
+ pub static _SC_2_C_BIND : int = 47 ;
1225
+ pub static _SC_2_C_DEV : int = 48 ;
1226
+ pub static _SC_2_FORT_DEV : int = 49 ;
1227
+ pub static _SC_2_FORT_RUN : int = 50 ;
1228
+ pub static _SC_2_SW_DEV : int = 51 ;
1229
+ pub static _SC_2_LOCALEDEF : int = 52 ;
1230
+ pub static _SC_2_CHAR_TERM : int = 95 ;
1231
+ pub static _SC_2_C_VERSION : int = 96 ;
1232
+ pub static _SC_2_UPE : int = 97 ;
1233
+ pub static _SC_XBS5_ILP32_OFF32 : int = 125 ;
1234
+ pub static _SC_XBS5_ILP32_OFFBIG : int = 126 ;
1235
+ pub static _SC_XBS5_LPBIG_OFFBIG : int = 128 ;
1179
1236
}
1180
1237
pub mod posix01 {
1181
1238
pub static SIGTRAP : int = 5 ;
@@ -1197,6 +1254,35 @@ pub mod consts {
1197
1254
pub static POSIX_MADV_SEQUENTIAL : int = 2 ;
1198
1255
pub static POSIX_MADV_WILLNEED : int = 3 ;
1199
1256
pub static POSIX_MADV_DONTNEED : int = 4 ;
1257
+
1258
+ pub static _SC_MQ_PRIO_MAX : int = 28 ;
1259
+ pub static _SC_IOV_MAX : int = 60 ;
1260
+ pub static _SC_GETGR_R_SIZE_MAX : int = 69 ;
1261
+ pub static _SC_GETPW_R_SIZE_MAX : int = 70 ;
1262
+ pub static _SC_LOGIN_NAME_MAX : int = 71 ;
1263
+ pub static _SC_TTY_NAME_MAX : int = 72 ;
1264
+ pub static _SC_THREADS : int = 67 ;
1265
+ pub static _SC_THREAD_SAFE_FUNCTIONS : int = 68 ;
1266
+ pub static _SC_THREAD_DESTRUCTOR_ITERATIONS : int = 73 ;
1267
+ pub static _SC_THREAD_KEYS_MAX : int = 74 ;
1268
+ pub static _SC_THREAD_STACK_MIN : int = 75 ;
1269
+ pub static _SC_THREAD_THREADS_MAX : int = 76 ;
1270
+ pub static _SC_THREAD_ATTR_STACKADDR : int = 77 ;
1271
+ pub static _SC_THREAD_ATTR_STACKSIZE : int = 78 ;
1272
+ pub static _SC_THREAD_PRIORITY_SCHEDULING : int = 79 ;
1273
+ pub static _SC_THREAD_PRIO_INHERIT : int = 80 ;
1274
+ pub static _SC_THREAD_PRIO_PROTECT : int = 81 ;
1275
+ pub static _SC_THREAD_PROCESS_SHARED : int = 82 ;
1276
+ pub static _SC_ATEXIT_MAX : int = 87 ;
1277
+ pub static _SC_XOPEN_VERSION : int = 89 ;
1278
+ pub static _SC_XOPEN_XCU_VERSION : int = 90 ;
1279
+ pub static _SC_XOPEN_UNIX : int = 91 ;
1280
+ pub static _SC_XOPEN_CRYPT : int = 92 ;
1281
+ pub static _SC_XOPEN_ENH_I18N : int = 93 ;
1282
+ pub static _SC_XOPEN_SHM : int = 94 ;
1283
+ pub static _SC_XOPEN_LEGACY : int = 129 ;
1284
+ pub static _SC_XOPEN_REALTIME : int = 130 ;
1285
+ pub static _SC_XOPEN_REALTIME_THREADS : int = 131 ;
1200
1286
}
1201
1287
pub mod posix08 {
1202
1288
}
@@ -1345,6 +1431,59 @@ pub mod consts {
1345
1431
pub static MS_SYNC : int = 0x0000 ;
1346
1432
pub static MS_ASYNC : int = 0x0001 ;
1347
1433
pub static MS_INVALIDATE : int = 0x0002 ;
1434
+
1435
+ pub static _SC_ARG_MAX : int = 1 ;
1436
+ pub static _SC_CHILD_MAX : int = 2 ;
1437
+ pub static _SC_CLK_TCK : int = 3 ;
1438
+ pub static _SC_NGROUPS_MAX : int = 4 ;
1439
+ pub static _SC_OPEN_MAX : int = 5 ;
1440
+ pub static _SC_JOB_CONTROL : int = 6 ;
1441
+ pub static _SC_SAVED_IDS : int = 7 ;
1442
+ pub static _SC_VERSION : int = 8 ;
1443
+ pub static _SC_BC_BASE_MAX : int = 9 ;
1444
+ pub static _SC_BC_DIM_MAX : int = 10 ;
1445
+ pub static _SC_BC_SCALE_MAX : int = 11 ;
1446
+ pub static _SC_BC_STRING_MAX : int = 12 ;
1447
+ pub static _SC_COLL_WEIGHTS_MAX : int = 13 ;
1448
+ pub static _SC_EXPR_NEST_MAX : int = 14 ;
1449
+ pub static _SC_LINE_MAX : int = 15 ;
1450
+ pub static _SC_RE_DUP_MAX : int = 16 ;
1451
+ pub static _SC_2_VERSION : int = 17 ;
1452
+ pub static _SC_2_C_BIND : int = 18 ;
1453
+ pub static _SC_2_C_DEV : int = 19 ;
1454
+ pub static _SC_2_CHAR_TERM : int = 20 ;
1455
+ pub static _SC_2_FORT_DEV : int = 21 ;
1456
+ pub static _SC_2_FORT_RUN : int = 22 ;
1457
+ pub static _SC_2_LOCALEDEF : int = 23 ;
1458
+ pub static _SC_2_SW_DEV : int = 24 ;
1459
+ pub static _SC_2_UPE : int = 25 ;
1460
+ pub static _SC_STREAM_MAX : int = 26 ;
1461
+ pub static _SC_TZNAME_MAX : int = 27 ;
1462
+ pub static _SC_ASYNCHRONOUS_IO : int = 28 ;
1463
+ pub static _SC_MAPPED_FILES : int = 29 ;
1464
+ pub static _SC_MEMLOCK : int = 30 ;
1465
+ pub static _SC_MEMLOCK_RANGE : int = 31 ;
1466
+ pub static _SC_MEMORY_PROTECTION : int = 32 ;
1467
+ pub static _SC_MESSAGE_PASSING : int = 33 ;
1468
+ pub static _SC_PRIORITIZED_IO : int = 34 ;
1469
+ pub static _SC_PRIORITY_SCHEDULING : int = 35 ;
1470
+ pub static _SC_REALTIME_SIGNALS : int = 36 ;
1471
+ pub static _SC_SEMAPHORES : int = 37 ;
1472
+ pub static _SC_FSYNC : int = 38 ;
1473
+ pub static _SC_SHARED_MEMORY_OBJECTS : int = 39 ;
1474
+ pub static _SC_SYNCHRONIZED_IO : int = 40 ;
1475
+ pub static _SC_TIMERS : int = 41 ;
1476
+ pub static _SC_AIO_LISTIO_MAX : int = 42 ;
1477
+ pub static _SC_AIO_MAX : int = 43 ;
1478
+ pub static _SC_AIO_PRIO_DELTA_MAX : int = 44 ;
1479
+ pub static _SC_DELAYTIMER_MAX : int = 45 ;
1480
+ pub static _SC_MQ_OPEN_MAX : int = 46 ;
1481
+ pub static _SC_PAGESIZE : int = 47 ;
1482
+ pub static _SC_RTSIG_MAX : int = 48 ;
1483
+ pub static _SC_SEM_NSEMS_MAX : int = 49 ;
1484
+ pub static _SC_SEM_VALUE_MAX : int = 50 ;
1485
+ pub static _SC_SIGQUEUE_MAX : int = 51 ;
1486
+ pub static _SC_TIMER_MAX : int = 52 ;
1348
1487
}
1349
1488
pub mod posix01 {
1350
1489
pub static SIGTRAP : int = 5 ;
@@ -1366,6 +1505,35 @@ pub mod consts {
1366
1505
pub static POSIX_MADV_SEQUENTIAL : int = 2 ;
1367
1506
pub static POSIX_MADV_WILLNEED : int = 3 ;
1368
1507
pub static POSIX_MADV_DONTNEED : int = 4 ;
1508
+
1509
+ pub static _SC_IOV_MAX : int = 56 ;
1510
+ pub static _SC_GETGR_R_SIZE_MAX : int = 70 ;
1511
+ pub static _SC_GETPW_R_SIZE_MAX : int = 71 ;
1512
+ pub static _SC_LOGIN_NAME_MAX : int = 73 ;
1513
+ pub static _SC_MQ_PRIO_MAX : int = 75 ;
1514
+ pub static _SC_THREAD_ATTR_STACKADDR : int = 82 ;
1515
+ pub static _SC_THREAD_ATTR_STACKSIZE : int = 83 ;
1516
+ pub static _SC_THREAD_DESTRUCTOR_ITERATIONS : int = 85 ;
1517
+ pub static _SC_THREAD_KEYS_MAX : int = 86 ;
1518
+ pub static _SC_THREAD_PRIO_INHERIT : int = 87 ;
1519
+ pub static _SC_THREAD_PRIO_PROTECT : int = 88 ;
1520
+ pub static _SC_THREAD_PRIORITY_SCHEDULING : int = 89 ;
1521
+ pub static _SC_THREAD_PROCESS_SHARED : int = 90 ;
1522
+ pub static _SC_THREAD_SAFE_FUNCTIONS : int = 91 ;
1523
+ pub static _SC_THREAD_STACK_MIN : int = 93 ;
1524
+ pub static _SC_THREAD_THREADS_MAX : int = 94 ;
1525
+ pub static _SC_THREADS : int = 96 ;
1526
+ pub static _SC_TTY_NAME_MAX : int = 101 ;
1527
+ pub static _SC_ATEXIT_MAX : int = 107 ;
1528
+ pub static _SC_XOPEN_CRYPT : int = 108 ;
1529
+ pub static _SC_XOPEN_ENH_I18N : int = 109 ;
1530
+ pub static _SC_XOPEN_LEGACY : int = 110 ;
1531
+ pub static _SC_XOPEN_REALTIME : int = 111 ;
1532
+ pub static _SC_XOPEN_REALTIME_THREADS : int = 112 ;
1533
+ pub static _SC_XOPEN_SHM : int = 113 ;
1534
+ pub static _SC_XOPEN_UNIX : int = 115 ;
1535
+ pub static _SC_XOPEN_VERSION : int = 116 ;
1536
+ pub static _SC_XOPEN_XCU_VERSION : int = 117 ;
1369
1537
}
1370
1538
pub mod posix08 {
1371
1539
}
@@ -1494,6 +1662,63 @@ pub mod consts {
1494
1662
1495
1663
pub static MS_KILLPAGES : int = 0x0004 ;
1496
1664
pub static MS_DEACTIVATE : int = 0x0008 ;
1665
+
1666
+ pub static _SC_ARG_MAX : int = 1 ;
1667
+ pub static _SC_CHILD_MAX : int = 2 ;
1668
+ pub static _SC_CLK_TCK : int = 3 ;
1669
+ pub static _SC_NGROUPS_MAX : int = 4 ;
1670
+ pub static _SC_OPEN_MAX : int = 5 ;
1671
+ pub static _SC_JOB_CONTROL : int = 6 ;
1672
+ pub static _SC_SAVED_IDS : int = 7 ;
1673
+ pub static _SC_VERSION : int = 8 ;
1674
+ pub static _SC_BC_BASE_MAX : int = 9 ;
1675
+ pub static _SC_BC_DIM_MAX : int = 10 ;
1676
+ pub static _SC_BC_SCALE_MAX : int = 11 ;
1677
+ pub static _SC_BC_STRING_MAX : int = 12 ;
1678
+ pub static _SC_COLL_WEIGHTS_MAX : int = 13 ;
1679
+ pub static _SC_EXPR_NEST_MAX : int = 14 ;
1680
+ pub static _SC_LINE_MAX : int = 15 ;
1681
+ pub static _SC_RE_DUP_MAX : int = 16 ;
1682
+ pub static _SC_2_VERSION : int = 17 ;
1683
+ pub static _SC_2_C_BIND : int = 18 ;
1684
+ pub static _SC_2_C_DEV : int = 19 ;
1685
+ pub static _SC_2_CHAR_TERM : int = 20 ;
1686
+ pub static _SC_2_FORT_DEV : int = 21 ;
1687
+ pub static _SC_2_FORT_RUN : int = 22 ;
1688
+ pub static _SC_2_LOCALEDEF : int = 23 ;
1689
+ pub static _SC_2_SW_DEV : int = 24 ;
1690
+ pub static _SC_2_UPE : int = 25 ;
1691
+ pub static _SC_STREAM_MAX : int = 26 ;
1692
+ pub static _SC_TZNAME_MAX : int = 27 ;
1693
+ pub static _SC_ASYNCHRONOUS_IO : int = 28 ;
1694
+ pub static _SC_PAGESIZE : int = 29 ;
1695
+ pub static _SC_MEMLOCK : int = 30 ;
1696
+ pub static _SC_MEMLOCK_RANGE : int = 31 ;
1697
+ pub static _SC_MEMORY_PROTECTION : int = 32 ;
1698
+ pub static _SC_MESSAGE_PASSING : int = 33 ;
1699
+ pub static _SC_PRIORITIZED_IO : int = 34 ;
1700
+ pub static _SC_PRIORITY_SCHEDULING : int = 35 ;
1701
+ pub static _SC_REALTIME_SIGNALS : int = 36 ;
1702
+ pub static _SC_SEMAPHORES : int = 37 ;
1703
+ pub static _SC_FSYNC : int = 38 ;
1704
+ pub static _SC_SHARED_MEMORY_OBJECTS : int = 39 ;
1705
+ pub static _SC_SYNCHRONIZED_IO : int = 40 ;
1706
+ pub static _SC_TIMERS : int = 41 ;
1707
+ pub static _SC_AIO_LISTIO_MAX : int = 42 ;
1708
+ pub static _SC_AIO_MAX : int = 43 ;
1709
+ pub static _SC_AIO_PRIO_DELTA_MAX : int = 44 ;
1710
+ pub static _SC_DELAYTIMER_MAX : int = 45 ;
1711
+ pub static _SC_MQ_OPEN_MAX : int = 46 ;
1712
+ pub static _SC_MAPPED_FILES : int = 47 ;
1713
+ pub static _SC_RTSIG_MAX : int = 48 ;
1714
+ pub static _SC_SEM_NSEMS_MAX : int = 49 ;
1715
+ pub static _SC_SEM_VALUE_MAX : int = 50 ;
1716
+ pub static _SC_SIGQUEUE_MAX : int = 51 ;
1717
+ pub static _SC_TIMER_MAX : int = 52 ;
1718
+ pub static _SC_XBS5_ILP32_OFF32 : int = 122 ;
1719
+ pub static _SC_XBS5_ILP32_OFFBIG : int = 123 ;
1720
+ pub static _SC_XBS5_LP64_OFF64 : int = 124 ;
1721
+ pub static _SC_XBS5_LPBIG_OFFBIG : int = 125 ;
1497
1722
}
1498
1723
pub mod posix01 {
1499
1724
pub static SIGTRAP : int = 5 ;
@@ -1515,6 +1740,35 @@ pub mod consts {
1515
1740
pub static POSIX_MADV_SEQUENTIAL : int = 2 ;
1516
1741
pub static POSIX_MADV_WILLNEED : int = 3 ;
1517
1742
pub static POSIX_MADV_DONTNEED : int = 4 ;
1743
+
1744
+ pub static _SC_IOV_MAX : int = 56 ;
1745
+ pub static _SC_GETGR_R_SIZE_MAX : int = 70 ;
1746
+ pub static _SC_GETPW_R_SIZE_MAX : int = 71 ;
1747
+ pub static _SC_LOGIN_NAME_MAX : int = 73 ;
1748
+ pub static _SC_MQ_PRIO_MAX : int = 75 ;
1749
+ pub static _SC_THREAD_ATTR_STACKADDR : int = 82 ;
1750
+ pub static _SC_THREAD_ATTR_STACKSIZE : int = 83 ;
1751
+ pub static _SC_THREAD_DESTRUCTOR_ITERATIONS : int = 85 ;
1752
+ pub static _SC_THREAD_KEYS_MAX : int = 86 ;
1753
+ pub static _SC_THREAD_PRIO_INHERIT : int = 87 ;
1754
+ pub static _SC_THREAD_PRIO_PROTECT : int = 88 ;
1755
+ pub static _SC_THREAD_PRIORITY_SCHEDULING : int = 89 ;
1756
+ pub static _SC_THREAD_PROCESS_SHARED : int = 90 ;
1757
+ pub static _SC_THREAD_SAFE_FUNCTIONS : int = 91 ;
1758
+ pub static _SC_THREAD_STACK_MIN : int = 93 ;
1759
+ pub static _SC_THREAD_THREADS_MAX : int = 94 ;
1760
+ pub static _SC_THREADS : int = 96 ;
1761
+ pub static _SC_TTY_NAME_MAX : int = 101 ;
1762
+ pub static _SC_ATEXIT_MAX : int = 107 ;
1763
+ pub static _SC_XOPEN_CRYPT : int = 108 ;
1764
+ pub static _SC_XOPEN_ENH_I18N : int = 109 ;
1765
+ pub static _SC_XOPEN_LEGACY : int = 110 ;
1766
+ pub static _SC_XOPEN_REALTIME : int = 111 ;
1767
+ pub static _SC_XOPEN_REALTIME_THREADS : int = 112 ;
1768
+ pub static _SC_XOPEN_SHM : int = 113 ;
1769
+ pub static _SC_XOPEN_UNIX : int = 115 ;
1770
+ pub static _SC_XOPEN_VERSION : int = 116 ;
1771
+ pub static _SC_XOPEN_XCU_VERSION : int = 121 ;
1518
1772
}
1519
1773
pub mod posix08 {
1520
1774
}
0 commit comments