summaryrefslogblamecommitdiffstats
path: root/posix1003-1/posix1003_1.rst
blob: 2dfbaea204210d050f46f47018f5fd326462c15e (plain) (tree)
1
2
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
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
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

                                                



























































                                                                                     
                          









































































































































































































































                                                                                          
                                                   


































































































































































































































































































































































































































































































                                                                   




















                                                               







































































































































                                                            














































































                                                                       




























































































































                                                                
                                                         























































































                                                                                                                                                                                                                                    
                                                          































































































































































































































































































































































                                                            
                                



                                   
                                       















                                     
                                 



                                      
                                
























                                  
                                    




                                    
                                 






































                                              
                                                                        
 
                                       
















                                    
                                                                            
 
                                     
















                                    
                                            










                                        
                                                                       




















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                      
.. comment SPDX-License-Identifier: CC-BY-SA-4.0

:orphan:



.. COMMENT: %**end of header

.. COMMENT: COPYRIGHT (c) 1989-2013.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

.. COMMENT: Master file for the POSIX 1003.1 Compliance Guide

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

.. COMMENT: The following determines which set of the tables and figures we will use.

.. COMMENT: We default to ASCII but if available TeX or HTML versions will

.. COMMENT: be used instead.

.. COMMENT: @clear use-html

.. COMMENT: @clear use-tex

.. COMMENT: The following variable says to use texinfo or html for the two column

.. COMMENT: texinfo tables.  For somethings the format does not look good in html.

.. COMMENT: With our adjustment to the left column in TeX, it nearly always looks

.. COMMENT: good printed.

.. COMMENT: Custom whitespace adjustments.  We could fiddle a bit more.

.. COMMENT: Title Page Stuff

.. COMMENT: I don't really like having a short title page.  -joel

.. COMMENT: @shorttitlepage RTEMS POSIX 1003.1 Compliance Guide

===================================
RTEMS POSIX 1003.1 Compliance Guide
===================================

.. COMMENT: COPYRIGHT (c) 1988-2015.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

.. COMMENT: The following puts a space somewhere on an otherwise empty page so we

.. COMMENT: can force the copyright description onto a left hand page.

COPYRIGHT (c) 1988 - 2015.

On-Line Applications Research Corporation (OAR).

The authors have used their best efforts in preparing
this material.  These efforts include the development, research,
and testing of the theories and programs to determine their
effectiveness.  No warranty of any kind, expressed or implied,
with regard to the software or the material contained in this
document is provided.  No liability arising out of the
application or use of any product described in this document is
assumed.  The authors reserve the right to revise this material
and to make changes from time to time in the content hereof
without obligation to notify anyone of such revision or changes.

The RTEMS Project is hosted at http://www.rtems.org.  Any
inquiries concerning RTEMS, its related support components, or its
documentation should be directed to the Community Project hosted athttp://www.rtems.org.

Any inquiries for commercial services including training, support, custom
development, application development assistance should be directed tohttp://www.rtems.com.

.. COMMENT: This prevents a black box from being printed on "overflow" lines.

.. COMMENT: The alternative is to rework a sentence to avoid this problem.

RTEMS POSIX 1003.1 Compliance Guide
###################################

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Preface
#######

This document lists the functions, constant, macros, feature flags,
and types defined in the POSIX 1003.1 standard.  Each section in
this document corresponds to a section in the 1003.1 standard
and the implementation status of the items required by the standard
are listed.

RTEMS supports a number of POSIX process, user, and group oriented
routines in what is referred to as a "SUSP" (Single-User, Single
Process) manner.  RTEMS supports a single process, multithreaded
POSIX 1003.1b environment.  In a pure world, there would be
no reason to even include routines like ``getpid()`` when there
can only be one process.  But providing routines like ``getpid()``
and making them work in a sensible fashion for an embedded environment
while not returning ENOSYS (for not implemented) makes it significantly
easier to port code from a UNIX environment without modifying it.

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

General
#######

Scope
=====

Normative References
====================

Conformance
===========

.. code:: c

    NGROUPS_MAX, Feature Flag,
    _POSIX_ASYNCHRONOUS_IO, Feature Flag,
    _POSIX_CHOWN_RESTRICTED, Feature Flag,
    _POSIX_FSYNC, Feature Flag,
    _POSIX_JOB_CONTROL, Feature Flag,
    _POSIX_MAPPED_FILES, Feature Flag,
    _POSIX_MEMLOCK, Feature Flag,
    _POSIX_MEMLOCK_RANGE, Feature Flag,
    _POSIX_MEMORY_PROTECTION, Feature Flag,
    _POSIX_MESSAGE_PASSING, Feature Flag,
    _POSIX_PRIORITIZED_IO, Feature Flag,
    _POSIX_PRIORITY_SCHEDULING, Feature Flag,
    _POSIX_REALTIME_SIGNALS, Feature Flag,
    _POSIX_SEMAPHORES, Feature Flag,
    _POSIX_SHARED_MEMORY_OBJECTS, Feature Flag,
    _POSIX_SYNCHRONIZED_IO, Feature Flag,
    _POSIX_TIMERS, Feature Flag,
    _POSIX_THREAD_PRIO_INHERIT, Feature Flag,
    _POSIX_THREAD_PRIORITY_SCHEDULING, Feature Flag,
    _POSIX_THREADS, Feature Flag,
    _POSIX_THREAD_SAFE_FUNCTIONS, Feature Flag,

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Terminology and General Requirements
####################################

Conventions
===========

Definitions
===========

General Concepts
================

Error Numbers
=============

.. code:: c

    E2BIG, Constant, Implemented
    EACCES, Constant, Implemented
    EAGAIN, Constant, Implemented
    EBADF, Constant, Implemented
    EBADMSG, Constant, Implemented
    EBUSY, Constant, Implemented
    ECANCELED, Constant, Unimplemented
    ECHILD, Constant, Implemented
    EDEADLK, Constant, Implemented
    EDOM, Constant, Implemented
    EEXIST, Constant, Implemented
    EFAULT, Constant, Implemented
    EFBIG, Constant, Implemented
    EINPROGRESS, Constant, Implemented
    EINTR, Constant, Implemented
    EINVAL, Constant, Implemented
    EIO, Constant, Implemented
    EISDIR, Constant, Implemented
    EMFILE, Constant, Implemented
    EMLINK, Constant, Implemented
    EMSGSIZE, Constant, Implemented
    ENAMETOOLONG, Constant, Implemented
    ENFILE, Constant, Implemented
    ENODEV, Constant, Implemented
    ENOENT, Constant, Implemented
    ENOEXEC, Constant, Implemented
    ENOLCK, Constant, Implemented
    ENOMEM, Constant, Implemented
    ENOSPC, Constant, Implemented
    ENOSYS, Constant, Implemented
    ENOTDIR, Constant, Implemented
    ENOTEMPTY, Constant, Implemented
    ENOTSUP, Constant, Implemented
    ENOTTY, Constant, Implemented
    ENXIO, Constant, Implemented
    EPERM, Constant, Implemented
    EPIPE, Constant, Implemented
    ERANGE, Constant, Implemented
    EROFS, Constant, Implemented
    ESPIPE, Constant, Implemented
    ESRCH, Constant, Implemented
    ETIMEDOUT, Constant, Implemented
    EXDEV, Constant, Implemented

Primitive System Types
======================

.. code:: c

    dev_t, Type, Implemented
    gid_t, Type, Implemented
    ino_t, Type, Implemented
    mode_t, Type, Implemented
    nlink_t, Type, Implemented
    off_t, Type, Implemented
    pid_t, Type, Implemented
    pthread_t, Type, Implemented
    pthread_attr_t, Type, Implemented
    pthread_mutex_t, Type, Implemented
    pthread_mutex_attr_t, Type, Implemented
    pthread_cond_t, Type, Implemented
    pthread_cond_attr_t, Type, Implemented
    pthread_key_t, Type, Implemented
    pthread_once_t, Type, Implemented
    size_t, Type, Implemented
    ssize_t, Type, Implemented
    time_t, Type, Implemented
    uid_t, Type, Implemented

NOTE: time_t is not listed in this section but is used by many functions.

Environment Description
=======================

C Language Definitions
======================

Symbols From the C Standard
---------------------------

.. code:: c

    NULL, Constant, Implemented

POSIX.1 Symbols
---------------

.. code:: c

    _POSIX_C_SOURCE, Feature Flag,

Numerical Limits
================

C Language Limits
=================

.. code:: c

    CHAR_BIT, Constant, Implemented
    CHAR_MAX, Constant, Implemented
    CHAR_MIN, Constant, Implemented
    INT_MAX, Constant, Implemented
    INT_MIN, Constant, Implemented
    LONG_MAX, Constant, Implemented
    LONG_MIN, Constant, Implemented
    MB_LEN_MAX, Constant, Implemented
    SCHAR_MAX, Constant, Implemented
    SCHAR_MIN, Constant, Implemented
    SHRT_MAX, Constant, Implemented
    SHRT_MIN, Constant, Implemented
    UCHAR_MAX, Constant, Implemented
    UINT_MAX, Constant, Implemented
    ULONG_MAX, Constant, Implemented
    USHRT_MAX, Constant, Implemented

NOTE: These are implemented in GCC's limits.h file.

Minimum Values
--------------

.. code:: c

    _POSIX_AIO_LISTIO_MAX, Constant, Implemented
    _POSIX_AIO_MAX, Constant, Implemented
    _POSIX_ARG_MAX, Constant, Implemented
    _POSIX_CHILD_MAX, Constant, Implemented
    _POSIX_DELAYTIMER_MAX, Constant, Implemented
    _POSIX_LINK_MAX, Constant, Implemented
    _POSIX_LOGIN_NAME_MAX, Constant, Implemented
    _POSIX_MAX_CANON, Constant, Implemented
    _POSIX_MAX_INPUT, Constant, Implemented
    _POSIX_MQ_OPEN_MAX, Constant, Implemented
    _POSIX_MQ_PRIO_MAX, Constant, Implemented
    _POSIX_NAME_MAX, Constant, Implemented
    _POSIX_NGROUPS_MAX, Constant, Implemented
    _POSIX_OPEN_MAX, Constant, Implemented
    _POSIX_PATH_MAX, Constant, Implemented
    _POSIX_PIPE_BUF, Constant, Implemented
    _POSIX_RTSIG_MAX, Constant, Implemented
    _POSIX_SEM_NSEMS_MAX, Constant, Implemented
    _POSIX_SEM_VALUE_MAX, Constant, Implemented
    _POSIX_SIGQUEUE_MAX, Constant, Implemented
    _POSIX_SSIZE_MAX, Constant, Implemented
    _POSIX_STREAM_MAX, Constant, Implemented
    _POSIX_THREAD_DESTRUCTOR_ITERATIONS, Constant, Implemented
    _POSIX_THREAD_KEYS_MAX, Constant, Implemented
    _POSIX_THREAD_THREADS_MAX, Constant, Implemented
    _POSIX_TTY_NAME_MAX, Constant, Implemented
    _POSIX_TIME_MAX, Constant, Unimplemented
    _POSIX_TZNAME_MAX, Constant, Implemented

Run-Time Increasable Values
---------------------------

.. code:: c

    _POSIX_NGROUPS_MAX, Constant, Implemented

Run-Time Invariant Values (Possible Indeterminate)
--------------------------------------------------

.. code:: c

    AIO_LISTIO_MAX, Constant, Implemented
    AIO_MAX, Constant, Implemented
    AIO_PRIO_DELTA_MAX, Constant, Implemented
    ARG_MAX, Constant, Implemented
    CHILD_MAX, Constant, Implemented
    DELAYTIMER_MAX, Constant, Implemented
    LOGIN_NAME_MAX, Constant, Implemented
    MQ_OPEN_MAX, Constant, Implemented
    OPEN_MAX, Constant, Implemented
    PAGESIZE, Constant, Implemented
    PTHREAD_DESTRUCTOR_ITERATIONS, Constant, Implemented
    PTHREAD_KEYS_MAX, Constant, Implemented
    PTHREAD_STACK_MIN, Constant, Implemented
    PTHJREAD_THREADS_MAX, Constant, Implemented
    RTSIG_MAX, Constant, Implemented
    SEM_NSEMS_MAX, Constant, Implemented
    SEM_VALUE_MAX, Constant, Implemented
    SIGQUEUE_MAX, Constant, Implemented
    STREAM_MAX, Constant, Implemented
    TIMER_MAX, Constant, Implemented
    TTY_NAME_MAX, Constant, Implemented
    TZNAME_MAX, Constant, Implemented

Pathname Variable Values
------------------------

.. code:: c

    LINK_MAX, Constant, Implemented
    MAX_CANON, Constant, Implemented
    MAX_INPUT, Constant, Implemented
    NAME_MAX, Constant, Implemented
    PATH_MAX, Constant, Implemented
    PIPE_BUF, Constant, Implemented

Invariant Values
----------------

.. code:: c

    SSIZE_MAX, Constant, Implemented

Maximum Values
--------------

.. code:: c

    _POSIX_CLOCKRES_MIN, Constant, Implemented

Symbolic Constants
==================

Symbolic Constants for the access Function
------------------------------------------

.. code:: c

    R_OK, Constant, Implemented
    W_OK, Constant, Implemented
    X_OK, Constant, Implemented
    F_OK, Constant, Implemented

Symbolic Constants for the lseek Function
-----------------------------------------

.. code:: c

    SEEK_SET, Constant, Implemented
    SEEK_CUR, Constant, Implemented
    SEEK_END, Constant, Implemented

Compile-Time Symbolic Constants for Portability Specifications
--------------------------------------------------------------

.. code:: c

    _POSIX_ASYNCHRONOUS_IO, Feature Flag,
    _POSIX_FSYNC, Feature Flag,
    _POSIX_JOB_CONTROL, Feature Flag,
    _POSIX_MAPPED_FILES, Feature Flag,
    _POSIX_MEMLOCK, Feature Flag,
    _POSIX_MEMLOCK_RANGE, Feature Flag,
    _POSIX_MEMORY_PROTECTION, Feature Flag,
    _POSIX_MESSAGE_PASSING, Feature Flag,
    _POSIX_PRIORITIZED_IO, Feature Flag,
    _POSIX_PRIORITY_SCHEDULING, Feature Flag,
    _POSIX_REALTIME_SIGNALS, Feature Flag,
    _POSIX_SAVED_IDS, Feature Flag,
    _POSIX_SEMAPHORES, Feature Flag,
    _POSIX_SHARED_MEMORY_OBJECTS, Feature Flag,
    _POSIX_SYNCHRONIZED_IO, Feature Flag,
    _POSIX_THREADS, Feature Flag,
    _POSIX_THREAD_ATTR_STACKADDR, Feature Flag,
    _POSIX_THREAD_ATTR_STACKSIZE, Feature Flag,
    _POSIX_THREAD_PRIORITY_SCHEDULING, Feature Flag,
    _POSIX_THREAD_PRIO_INHERIT, Feature Flag,
    _POSIX_THREAD_PRIO_CEILING, Feature Flag,
    _POSIX_THREAD_PROCESS_SHARED, Feature Flag,
    _POSIX_THREAD_SAFE_FUNCTIONS, Feature Flag,
    _POSIX_TIMERS, Feature Flag,
    _POSIX_VERSION, Feature Flag,

Execution-Time Symbolic Constants for Portability Specifications
----------------------------------------------------------------

.. code:: c

    _POSIX_ASYNC_IO, Feature Flag,
    _POSIX_CHOWN_RESTRICTED, Feature Flag,
    _POSIX_NO_TRUNC, Feature Flag,
    _POSIX_PRIO_IO, Feature Flag,
    _POSIX_SYNC_IO, Feature Flag,
    _POSIX_VDISABLE, Feature Flag,

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Process Primitives
##################

Process Creation and Execution
==============================

Process Creation
----------------

.. code:: c

    fork(), Function, Unimplementable, Requires Processes

Execute a File
--------------

.. code:: c

    execl(), Function, Unimplementable, Requires Processes
    execv(), Function, Unimplementable, Requires Processes
    execle(), Function, Unimplementable, Requires Processes
    execve(), Function, Unimplementable, Requires Processes
    execlp(), Function, Unimplementable, Requires Processes
    execvp(), Function, Unimplementable, Requires Processes

Register Fork Handlers
----------------------

.. code:: c

    pthread_atfork(), Function, Unimplementable, Requires Processes

Process Termination
===================

Wait for Process Termination
----------------------------

.. code:: c

    wait(), Function, Unimplementable, Requires Processes
    waitpid(), Function, Unimplementable, Requires Processes
    WNOHANG, Constant, Unimplementable, Requires Processes
    WUNTRACED, Constant, Unimplementable, Requires Processes
    WIFEXITED(), Function, Unimplementable, Requires Processes
    WEXITSTATUS(), Function, Unimplementable, Requires Processes
    WIFSIGNALED(), Function, Unimplementable, Requires Processes
    WTERMSIG(), Function, Unimplementable, Requires Processes
    WIFSTOPPED(), Function, Unimplementable, Requires Processes
    WSTOPSIG(), Function, Unimplementable, Requires Processes

Terminate a Process
-------------------

.. code:: c

    _exit(), Function, Implemented

Signals
=======

Signal Concepts
---------------

Signal Names
~~~~~~~~~~~~

.. code:: c

    sigset_t, Type, Implemented
    SIG_DFL, Constant, Implemented
    SIG_IGN, Constant, Implemented
    SIG_ERR, Constant, Implemented
    SIGABRT, Constant, Implemented
    SIGALRM, Constant, Implemented
    SIGFPE, Constant, Implemented
    SIGHUP, Constant, Implemented
    SIGILL, Constant, Implemented
    SIGINT, Constant, Implemented
    SIGKILL, Constant, Implemented
    SIGPIPE, Constant, Implemented
    SIGQUIT, Constant, Implemented
    SIGSEGV, Constant, Implemented
    SIGTERM, Constant, Implemented
    SIGUSR1, Constant, Implemented
    SIGUSR2, Constant, Implemented
    SIGCHLD, Constant, Unimplemented
    SIGCONT, Constant, Unimplemented
    SIGSTOP, Constant, Unimplemented
    SIGTSTP, Constant, Unimplemented
    SIGTTIN, Constant, Unimplemented
    SIGTTOU, Constant, Unimplemented
    SIGBUS, Constant, Implemented
    SIGRTMIN, Constant, Implemented
    SIGRTMAX, Constant, Implemented

NOTE: SIG_ERR is technically an extension to the C Library which is
not documented anywhere else according to the index.

Signal Generation and Delivery
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: c

    struct sigevent, Type, Implemented
    union sigval, Type, Implemented
    SIGEV_NONE, Constant, Implemented
    SIGEV_SIGNAL, Constant, Implemented
    SIGEV_THREAD, Constant, Implemented

Signal Actions
~~~~~~~~~~~~~~

.. code:: c

    siginfo_t, Type, Implemented
    SI_USER, Constant, Implemented
    SI_QUEUE, Constant, Implemented
    SI_TIMER, Constant, Implemented
    SI_ASYNCIO, Constant, Implemented
    SI_MESGQ, Constant, Implemented

Send a Signal to a Process
--------------------------

.. code:: c

    kill(), Function, Implemented

Manipulate Signal Sets
----------------------

.. code:: c

    sigemptyset(), Function, Implemented
    sigfillset(), Function, Implemented
    sigaddset(), Function, Implemented
    sigdelset(), Function, Implemented
    sigismember(), Function, Implemented

Examine and Change Signal Action
--------------------------------

.. code:: c

    sigaction(), Function, Implemented
    sigaction, Type, Implemented
    SA_NOCLDSTOP, Constant, Implemented
    SA_SIGINFO, Constant, Implemented

Examine and Change Blocked Signals
----------------------------------

.. code:: c

    pthread_sigmask(), Function, Implemented
    sigprocmask(), Function, Implemented
    SIG_BLOCK, Constant, Implemented
    SIG_UNBLOCK, Constant, Implemented
    SIG_SETMASK, Constant, Implemented

Examine Pending Signals
-----------------------

.. code:: c

    sigpending(), Function, Implemented

Wait for a Signal
-----------------

.. code:: c

    sigsuspend(), Function, Implemented

Synchronously Accept a Signal
-----------------------------

.. code:: c

    sigwait(), Function, Implemented
    sigwaitinfo(), Function, Implemented
    sigtimedwait(), Function, Implemented

Queue a Signal to a Process
---------------------------

.. code:: c

    sigqueue(), Function, Implemented

Send a Signal to a Thread
-------------------------

.. code:: c

    pthread_kill(), Function, Implemented

Timer Operations
================

Schedule Alarm
--------------

.. code:: c

    alarm(), Function, Implemented

Suspend Process Execution
-------------------------

.. code:: c

    pause(), Function, Implemented

Delay Process Execution
-----------------------

.. code:: c

    sleep(), Function, Implemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Process Environment
###################

Process Identification
======================

Get Process and Parent Process IDs
----------------------------------

.. code:: c

    getpid(), Function, Implemented, SUSP Functionality
    getppid(), Function, Implemented, SUSP Functionality

User Identification
===================

Get Real User Effective User Real Group and Effective Group IDs
---------------------------------------------------------------

.. code:: c

    getuid(), Function, Implemented, SUSP Functionality
    geteuid(), Function, Implemented, SUSP Functionality
    getgid(), Function, Implemented, SUSP Functionality
    getegid(), Function, Implemented, SUSP Functionality

Set User and Group IDs
----------------------

.. code:: c

    setuid(), Function, Implemented, SUSP Functionality
    setgid(), Function, Implemented, SUSP Functionality

Get Supplementary Group IDs
---------------------------

.. code:: c

    getgroups(), Function, Implemented, SUSP Functionality

Get User Name
-------------

.. code:: c

    getlogin(), Function, Implemented, SUSP Functionality
    getlogin_r(), Function, Implemented, SUSP Functionality

Process Groups
==============

Get Process Group ID
--------------------

.. code:: c

    getpgrp(), Function, Implemented, SUSP Functionality

Create Session and Set Process Group ID
---------------------------------------

.. code:: c

    setsid(), Function, Implemented, SUSP Functionality

Set Process Group ID for Job Control
------------------------------------

.. code:: c

    setpgid(), Function, Dummy Implementation

System Identification
=====================

Get System Name
---------------

.. code:: c

    struct utsname, Type, Implemented
    uname(), Function, Implemented

Time
====

Get System Time
---------------

.. code:: c

    time(), Function, Implemented

Get Process Times
-----------------

.. code:: c

    struct tms, Type, Implemented
    times(), Function, Implemented

NOTE: ``times`` always returns 0 for tms_stime, tms_cutime, and
tms_cstime fields of the ``struct tms`` returned.

Environment Variables
=====================

Environment Access
------------------

.. code:: c

    getenv(), Function, Implemented

Terminal Identification
=======================

Generate Terminal Pathname
--------------------------

.. code:: c

    ctermid(), Function, Implemented

Determine Terminal Device Name
------------------------------

.. code:: c

    ttyname(), Function, Implemented, untested
    ttyname_r(), Function, Implemented, untested
    isatty(), Function, Implemented

Configurable System Variables
=============================

Get Configurable System Variables
---------------------------------

.. code:: c

    sysconf(), Function, Dummy Implementation
    _SC_AIO_LISTIO_MAX, Constant, Implemented
    _SC_AIO_MAX, Constant, Implemented
    _SC_AIO_PRIO_DELTA_MAX, Constant, Implemented
    _SC_ARG_MAX, Constant, Implemented
    _SC_CHILD_MAX, Constant, Implemented
    _SC_CLK_TCK, Constant, Implemented
    CLK_TCK, Constant, Implemented
    _SC_DELAYTIMER_MAX, Constant, Implemented
    _SC_GETGR_R_SIZE_MAX, Constant, Implemented
    _SC_GETPW_R_SIZE_MAX, Constant, Implemented
    _SC_LOGIN_NAME_MAX, Constant, Implemented
    _SC_MQ_OPEN_MAX, Constant, Implemented
    _SC_MQ_PRIO_MAX, Constant, Implemented
    _SC_NGROUPS_MAX, Constant, Implemented
    _SC_OPEN_MAX, Constant, Implemented
    _SC_PAGESIZE, Constant, Implemented
    _SC_RTSIG_MAX, Constant, Implemented
    _SC_SEM_NSEMS_MAX, Constant, Implemented
    _SC_SEM_VALUE_MAX, Constant, Implemented
    _SC_SIGQUEUE_MAX, Constant, Implemented
    _SC_STREAM_MAX, Constant, Implemented
    _SC_THREAD_DESTRUCTOR_ITERATIONS, Constant, Implemented
    _SC_THREAD_KEYS_MAX, Constant, Implemented
    _SC_THREAD_STACK_MIN, Constant, Implemented
    _SC_THREAD_THREADS_MAX, Constant, Implemented
    _SC_TIMER_MAX, Constant, Implemented
    _SC_TTY_NAME_MAX, Constant, Implemented
    _SC_TZNAME_MAX, Constant, Implemented
    _SC_ASYNCHRONOUS_IO, Constant, Implemented
    _SC_FSYNC, Constant, Implemented
    _SC_JOB_CONROL, Constant, Implemented
    _SC_MAPPED_FILES, Constant, Implemented
    _SC_MEMLOCK, Constant, Implemented
    _SC_MEMLOCK_RANGE, Constant, Implemented
    _SC_MEMORY_PROTECTION, Constant, Implemented
    _SC_MESSAGE_PASSING, Constant, Implemented
    _SC_PRIORITIZED_IO, Constant, Implemented
    _SC_PRIORITY_SCHEDULING, Constant, Unimplemented
    _SC_REALTIME_SIGNALS, Constant, Implemented
    _SC_SAVED_IDS, Constant, Implemented
    _SC_SEMAPHORES, Constant, Implemented
    _SC_SHARED_MEMORY_OBJECTS, Constant, Implemented
    _SC_SYNCHRONIZED_IO, Constant, Implemented
    _SC_TIMERS, Constant, Implemented
    _SC_THREADS, Constant, Implemented
    _SC_THREAD_ATTR_STACKADDR, Constant, Implemented
    _SC_THREAD_ATTR_STACKSIZE, Constant, Implemented
    _SC_THREAD_PRIORITY_SCHEDULING, Constant, Implemented
    _SC_THREAD_PRIO_INHERIT, Constant, Implemented
    _SC_THREAD_PRIO_PROTECT, Constant, Unimplemented
    _SC_THREAD_PROCESS_SHARED, Constant, Implemented
    _SC_THREAD_SAFE_FUNCTIONS, Constant, Implemented
    _SC_VERSION, Constant, Implemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Files and Directories
#####################

Directories
===========

Format of Directory Entries
---------------------------

Directory Operations
--------------------

.. code:: c

    struct dirent, Type, Implemented
    opendir(), Function, Implemented
    readdir(), Function, Implemented
    readdir_r(), Function, Implemented
    rewinddir(), Function, Implemented
    closedir(), Function, Implemented

Working Directory
=================

Change Current Working Directory
--------------------------------

.. code:: c

    chdir(), Function, Implemented

Get Working Directory Pathname
------------------------------

.. code:: c

    getcwd(), Function, Implemented

General File Creation
=====================

Open a File
-----------

.. code:: c

    open(), Function, Implemented
    O_RDONLY, Constant, Implemented
    O_WRONLY, Constant, Implemented
    O_RDWR, Constant, Implemented
    O_APPEND, Constant, Implemented
    O_CREAT, Constant, Implemented
    O_DSYNC, Constant, Unimplemented
    O_EXCL, Constant, Implemented
    O_NOCTTY, Constant, Implemented
    O_NONBLOCK, Constant, Implemented
    O_RSYNC, Constant, Unimplemented
    O_SYNC, Constant, Implemented
    O_TRUNC, Constant, Implemented

NOTE: In the newlib fcntl.h, O_SYNC is defined only if _POSIX_SOURCE is
not defined.  This seems wrong.

Create a New File or Rewrite an Existing One
--------------------------------------------

.. code:: c

    creat(), Function, Implemented

Set File Creation Mask
----------------------

.. code:: c

    umask(), Function, Implemented

Link to a File
--------------

.. code:: c

    link(), Function, Implemented

Special File Creation
=====================

Make a Directory
----------------

.. code:: c

    mkdir(), Function, Implemented

Make a FIFO Special File
------------------------

.. code:: c

    mkfifo(), Function, Untested Implementation

NOTE: mkfifo() is implemented but no filesystem supports FIFOs.

File Removal
============

Remove Directory Entries
------------------------

.. code:: c

    unlink(), Function, Implemented

Remove a Directory
------------------

.. code:: c

    rmdir(), Function, Implemented

Rename a File
-------------

.. code:: c

    rename(), Function, Partial Implementation

File Characteristics
====================

File Characteristics Header and Data Structure
----------------------------------------------

.. code:: c

    struct stat, Type, Implemented

<sys/stat.h> File Types
~~~~~~~~~~~~~~~~~~~~~~~

.. code:: c

    S_ISBLK(), Function, Implemented
    S_ISCHR(), Function, Implemented
    S_ISDIR(), Function, Implemented
    S_ISFIFO(), Function, Implemented
    S_ISREG(), Function, Implemented
    S_TYPEISMQ(), Function, Unimplemented
    S_TYPEISSEM(), Function, Unimplemented
    S_TYPEISSHM(), Function, Unimplemented

<sys/stat.h> File Modes
~~~~~~~~~~~~~~~~~~~~~~~

.. code:: c

    S_IRWXU, Constant, Implemented
    S_IRUSR, Constant, Implemented
    S_IWUSR, Constant, Implemented
    S_IXUSR, Constant, Implemented
    S_IRWXG, Constant, Implemented
    S_IRGRP, Constant, Implemented
    S_IWGRP, Constant, Implemented
    S_IXGRP, Constant, Implemented
    S_IRWXO, Constant, Implemented
    S_IROTH, Constant, Implemented
    S_IWOTH, Constant, Implemented
    S_IXOTH, Constant, Implemented
    S_ISUID, Constant, Implemented
    S_ISGID, Constant, Implemented

<sys/stat.h> Time Entries
~~~~~~~~~~~~~~~~~~~~~~~~~

Get File Status
---------------

.. code:: c

    stat(), Function, Implemented
    fstat(), Function, Implemented

Check File Accessibility
------------------------

.. code:: c

    access(), Function, Implemented

Change File Modes
-----------------

.. code:: c

    chmod(), Function, Implemented
    fchmod(), Function, Implemented

Change Owner and Group of a File
--------------------------------

.. code:: c

    chown(), Function, Implemented

Set File Access and Modification Times
--------------------------------------

.. code:: c

    struct utimbuf, Type, Implemented
    utime(), Function, Implemented

Truncate a File to a Specified Length
-------------------------------------

.. code:: c

    ftruncate(), Function, Implemented

Configurable Pathname Variable
==============================

Get Configurable Pathname Variables
-----------------------------------

.. code:: c

    pathconf(), Function, Implemented
    fpathconf(), Function, Implemented
    _PC_LINK_MAX, Constant, Implemented
    _PC_MAX_CANON, Constant, Implemented
    _PC_MAX_INPUT, Constant, Implemented
    _PC_MAX_INPUT, Constant, Implemented
    _PC_NAME_MAX, Constant, Implemented
    _PC_PATH_MAX, Constant, Implemented
    _PC_PIPE_BUF, Constant, Implemented
    _PC_ASYNC_IO, Constant, Implemented
    _PC_CHOWN_RESTRICTED, Constant, Implemented
    _PC_NO_TRUNC, Constant, Implemented
    _PC_PRIO_IO, Constant, Implemented
    _PC_SYNC_IO, Constant, Implemented
    _PC_VDISABLE, Constant, Implemented

NOTE: The newlib unistd.h and sys/unistd.h are installed and the
include search patch is used to get the right one.  There are
conflicts between the newlib unistd.h and RTEMS' version.

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Input and Output Primitives
###########################

Pipes
=====

Create an Inter-Process Channel
-------------------------------

.. code:: c

    pipe(), Function, Dummy Implementation

NOTE: pipe() returns ENOSYS.

File Descriptor Manipulation
============================

Duplicate an Open File Descriptor
---------------------------------

.. code:: c

    dup(), Function, Implemented
    dup2(), Function, Implemented

File Descriptor Deassignment
============================

Close a File
------------

.. code:: c

    close(), Function, Implemented

Input and Output
================

Read from a File
----------------

.. code:: c

    read(), Function, Implemented

Write to a File
---------------

.. code:: c

    write(), Function, Implemented

Control Operations on Files
===========================

Data Definitions for File Control Operations
--------------------------------------------

File Control
------------

.. code:: c

    struct flock, Type, Implemented
    fcntl(), Function, Implemented
    F_DUPFD, Constant, Implemented
    F_GETFD, Constant, Implemented
    F_GETLK, Constant, Implemented
    F_SETFD, Constant, Implemented
    F_GETFL, Constant, Implemented
    F_SETFL, Constant, Implemented
    F_SETLK, Constant, Implemented
    F_SETLKW, Constant, Implemented
    FD_CLOEXEC, Constant, Implemented
    F_RDLCK, Constant, Implemented
    F_UNLCK, Constant, Implemented
    F_WRLCK, Constant, Implemented
    O_ACCMODE, Constant, Implemented

NOTE: A number of constants are used by both ``open`` and ``fcntl``.``O_CREAT``, ``O_EXCL``, ``O_NOCTTY``, ``O_TRUNC``,``O_APPEND``, ``O_DSYNC``, ``O_NONBLOCK``, ``O_RSYNC``,``O_SYNC``, ``O_RDONLY``, ``O_RDWR``, and ``O_WRONLY``
are also included in another section.  See `Open a File`_.

Reposition Read/Write File Offset
---------------------------------

.. code:: c

    lseek(), Function, Implemented
    SEEK_SET, Constant, Implemented
    SEEK_CUR, Constant, Implemented
    SEEK_END, Constant, Implemented

File Synchronization
====================

Synchronize the State of a File
-------------------------------

.. code:: c

    fsync(), Function, Implemented

Synchronize the Data of a File
------------------------------

.. code:: c

    fdatasync(), Function, Implemented

Asynchronous Input and Output
=============================

Data Definitions for Asynchronous Input and Output
--------------------------------------------------

Asynchronous I/O Control Block
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: c

    struct aiocb, Type, Untested Implementation

Asynchronous I/O Manifest Constants
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: c

    AIO_CANCELED, Constant, Implemented
    AIO_NOTCANCELED, Constant, Implemented
    AIO_ALLDONE, Constant, Implemented
    LIO_WAIT, Constant, Implemented
    LIO_NOWAIT, Constant, Implemented
    LIO_READ, Constant, Implemented
    LIO_WRITE, Constant, Implemented
    LIO_NOP, Constant, Implemented

Asynchronous Read
-----------------

.. code:: c

    aio_read(), Function, Dummy Implementation

Asynchronous Write
------------------

.. code:: c

    aio_write(), Function, Dummy Implementation

List Directed I/O
-----------------

.. code:: c

    lio_listio(), Function, Dummy Implementation

Retrieve Error Status of Asynchronous I/O Operation
---------------------------------------------------

.. code:: c

    aio_error(), Function, Dummy Implementation

Retrieve Return Status of Asynchronous I/O Operation
----------------------------------------------------

.. code:: c

    aio_return(), Function, Dummy Implementation

Cancel Asynchronous I/O Request
-------------------------------

.. code:: c

    aio_cancel(), Function, Dummy Implementation

Wait for Asynchronous I/O Request
---------------------------------

.. code:: c

    aio_suspend(), Function, Dummy Implementation

Asynchronous File Synchronization
---------------------------------

.. code:: c

    aio_fsync(), Function, Dummy Implementation

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Device- and Class-Specific Functions
####################################

General Terminal Interface
==========================

Interface Characteristics
-------------------------

Opening a Terminal Device File
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Process Groups (TTY)
~~~~~~~~~~~~~~~~~~~~

The Controlling Terminal
~~~~~~~~~~~~~~~~~~~~~~~~

Terminal Access Control
~~~~~~~~~~~~~~~~~~~~~~~

Input Processing and Reading Data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Canonical Mode Input Processing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Noncanonical Mode Input Processing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Case A - MIN > 0 and TIME > 0

- Case B - MIN > 0 and TIME = 0

- Case C - MIN = 0 and TIME > 0

- Case D - MIN = 0 and TIME = 0

Writing Data and Output Processing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Special Characters
~~~~~~~~~~~~~~~~~~

.. code:: c

    INTR, Constant, Implemented
    QUIT, Constant, Implemented
    ERASE, Constant, Implemented
    KILL, Constant, Implemented
    EOF, Constant, Implemented
    NL, Constant, Implemented
    EOL, Constant, Implemented
    SUSP, Constant, Implemented
    STOP, Constant, Implemented
    START, Constant, Implemented
    CR, Constant, Implemented

Modem Disconnect
~~~~~~~~~~~~~~~~

Closing a Terminal Device File
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Parameters That Can Be Set
--------------------------

termios Structure
~~~~~~~~~~~~~~~~~

.. code:: c

    tcflag_t, Type, Implemented
    cc_t, Type, Implemented
    struct termios, Type, Implemented

Input Modes
~~~~~~~~~~~

.. code:: c

    BRKINT, Constant, Implemented
    ICRNL, Constant, Implemented
    IGNBREAK, Constant, Unimplemented
    IGNCR, Constant, Implemented
    IGNPAR, Constant, Implemented
    INLCR, Constant, Implemented
    INPCK, Constant, Implemented
    ISTRIP, Constant, Implemented
    IXOFF, Constant, Implemented
    IXON, Constant, Implemented
    PARMRK, Constant, Implemented

Output Modes
~~~~~~~~~~~~

.. code:: c

    OPOST, Constant, Implemented

Control Modes
~~~~~~~~~~~~~

.. code:: c

    CLOCAL, Constant, Implemented
    CREAD, Constant, Implemented
    CSIZE, Constant, Implemented
    CS5, Constant, Implemented
    CS6, Constant, Implemented
    CS7, Constant, Implemented
    CS8, Constant, Implemented
    CSTOPB, Constant, Implemented
    HUPCL, Constant, Implemented
    PARENB, Constant, Implemented
    PARODD, Constant, Implemented

Local Modes
~~~~~~~~~~~

.. code:: c

    ECHO, Constant, Implemented
    ECHOE, Constant, Implemented
    ECHOK, Constant, Implemented
    ECHONL, Constant, Implemented
    ICANON, Constant, Implemented
    IEXTEN, Constant, Implemented
    ISIG, Constant, Implemented
    NOFLSH, Constant, Implemented
    TOSTOP, Constant, Implemented

Special Control Characters
~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: c

    VEOF, Constant, Implemented
    VEOL, Constant, Implemented
    VERASE, Constant, Implemented
    VINTR, Constant, Implemented
    VKILL, Constant, Implemented
    VQUIT, Constant, Implemented
    VSUSP, Constant, Implemented
    VSTART, Constant, Implemented
    VSTOP, Constant, Implemented
    VMIN, Constant, Implemented
    VTIME, Constant, Implemented

Baud Rate Values
----------------

.. code:: c

    B0, Constant, Implemented
    B50, Constant, Implemented
    B75, Constant, Implemented
    B110, Constant, Implemented
    B134, Constant, Implemented
    B150, Constant, Implemented
    B200, Constant, Implemented
    B300, Constant, Implemented
    B600, Constant, Implemented
    B1200, Constant, Implemented
    B1800, Constant, Implemented
    B2400, Constant, Implemented
    B4800, Constant, Implemented
    B9600, Constant, Implemented
    B19200, Constant, Implemented
    B38400, Constant, Implemented

Baud Rate Functions
~~~~~~~~~~~~~~~~~~~

.. code:: c

    cfgetospeed(), Function, Implemented
    cfsetospeed(), Function, Implemented
    cfgetispeed(), Function, Implemented
    cfsetispeed(), Function, Implemented
    TCIFLUSH, Constant, Implemented
    TCOFLUSH, Constant, Implemented
    TCIOFLUSH, Constant, Implemented
    TCOOFF, Constant, Implemented
    TCOON, Constant, Implemented
    TCIOOFF, Constant, Implemented
    TCIOON, Constant, Implemented

General Terminal Interface Control Functions
============================================

Get and Set State
-----------------

.. code:: c

    tcgetattr(), Function, Implemented
    tcsetattr(), Function, Implemented

Line Control Functions
----------------------

.. code:: c

    tcsendbreak(), Function, Dummy Implementation
    tcdrain(), Function, Implemented
    tcflush(), Function, Dummy Implementation
    tcflow(), Function, Dummy Implementation

Get Foreground Process Group ID
-------------------------------

.. code:: c

    tcgetprgrp(), Function, Implemented, SUSP

Set Foreground Process Group ID
-------------------------------

.. code:: c

    tcsetprgrp(), Function, Dummy Implementation

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Language-Specific Services for the C Programming Language
#########################################################

Referenced C Language Routines
==============================

ANSI C Section 4.2 - Diagnostics
.. code:: c

    assert(), Function, Implemented

ANSI C Section 4.3 - Character Handling
.. code:: c

    isalnum(), Function, Implemented
    isalpha(), Function, Implemented
    iscntrl(), Function, Implemented
    isdigit(), Function, Implemented
    isgraph(), Function, Implemented
    islower(), Function, Implemented
    isprint(), Function, Implemented
    ispunct(), Function, Implemented
    isspace(), Function, Implemented
    isupper(), Function, Implemented
    isxdigit(), Function, Implemented
    tolower(), Function, Implemented
    toupper(), Function, Implemented

ANSI C Section 4.4 - Localization
.. code:: c

    setlocale(), Function, Implemented

ANSI C Section 4.5 - Mathematics
.. code:: c

    acos(), Function, Implemented
    asin(), Function, Implemented
    atan(), Function, Implemented
    atan2(), Function, Implemented
    cos(), Function, Implemented
    sin(), Function, Implemented
    tan(), Function, Implemented
    cosh(), Function, Implemented
    sinh(), Function, Implemented
    tanh(), Function, Implemented
    exp(), Function, Implemented
    frexp(), Function, Implemented
    ldexp(), Function, Implemented
    log(), Function, Implemented
    log10(), Function, Implemented
    modf(), Function, Implemented
    pow(), Function, Implemented
    sqrt(), Function, Implemented
    ceil(), Function, Implemented
    fabs(), Function, Implemented
    floor(), Function, Implemented
    fmod(), Function, Implemented

ANSI C Section 4.6 - Non-Local Jumps
.. code:: c

    setjmp(), Function, Implemented
    longjmp(), Function, Implemented

ANSI C Section 4.9 - Input/Output
.. code:: c

    FILE, Type, Implemented
    clearerr(), Function, Implemented
    fclose(), Function, Implemented
    feof(), Function, Implemented
    ferror(), Function, Implemented
    fflush(), Function, Implemented
    fgetc(), Function, Implemented
    fgets(), Function, Implemented
    fopen(), Function, Implemented
    fputc(), Function, Implemented
    fputs(), Function, Implemented
    fread(), Function, Implemented
    freopen(), Function, Implemented
    fseek(), Function, Implemented
    ftell(), Function, Implemented
    fwrite(), Function, Implemented
    getc(), Function, Implemented
    getchar(), Function, Implemented
    gets(), Function, Implemented
    perror(), Function, Implemented
    printf(), Function, Implemented
    fprintf(), Function, Implemented
    sprintf(), Function, Implemented
    putc(), Function, Implemented
    putchar(), Function, Implemented
    puts(), Function, Implemented
    remove(), Function, Implemented
    rename(), Function, Partial Implementation
    rewind(), Function, Implemented
    scanf(), Function, Implemented
    fscanf(), Function, Implemented
    sscanf(), Function, Implemented
    setbuf(), Function, Implemented
    tmpfile(), Function, Implemented
    tmpnam(), Function, Implemented
    ungetc(), Function, Implemented

NOTE: ``rename`` is also included in another section.  `Rename a File`_.

ANSI C Section 4.10 - General Utilities
.. code:: c

    abs(), Function, Implemented
    atof(), Function, Implemented
    atoi(), Function, Implemented
    atol(), Function, Implemented
    rand(), Function, Implemented
    srand(), Function, Implemented
    calloc(), Function, Implemented
    free(), Function, Implemented
    malloc(), Function, Implemented
    realloc(), Function, Implemented
    abort(), Function, Implemented
    exit(), Function, Implemented
    bsearch(), Function, Implemented
    qsort(), Function, Implemented

NOTE: ``getenv`` is also included in another section. `Environment Access`_.

ANSI C Section 4.11 - String Handling
.. code:: c

    strcpy(), Function, Implemented
    strncpy(), Function, Implemented
    strcat(), Function, Implemented
    strncat(), Function, Implemented
    strcmp(), Function, Implemented
    strncmp(), Function, Implemented
    strchr(), Function, Implemented
    strcspn(), Function, Implemented
    strpbrk(), Function, Implemented
    strrchr(), Function, Implemented
    strspn(), Function, Implemented
    strstr(), Function, Implemented
    strtok(), Function, Implemented
    strlen(), Function, Implemented

ANSI C Section 4.12 - Date and Time Handling
.. code:: c

    asctime(), Function, Implemented
    ctime(), Function, Implemented
    gmtime(), Function, Implemented
    localtime(), Function, Implemented
    mktime(), Function, Implemented
    strftime(), Function, Implemented

NOTE: RTEMS has no notion of time zones.

NOTE: ``time`` is also included in another section. `Get System Time`_.

From Surrounding Text
.. code:: c

    EXIT_SUCCESS, Constant, Implemented
    EXIT_FAILURE, Constant, Implemented

Extensions to Time Functions
----------------------------

Extensions to setlocale Function
--------------------------------

.. code:: c

    LC_CTYPE, Constant, Implemented
    LC_COLLATE, Constant, Implemented
    LC_TIME, Constant, Implemented
    LC_NUMERIC, Constant, Implemented
    LC_MONETARY, Constant, Implemented
    LC_ALL, Constant, Implemented

C Language Input/Output Functions
=================================

Map a Stream Pointer to a File Descriptor
-----------------------------------------

.. code:: c

    fileno(), Function, Implemented
    STDIN_FILENO, Constant, Implemented
    STDOUT_FILENO, Constant, Implemented
    STDERR_FILENO, Constant, Implemented

Open a Stream on a File Descriptor
----------------------------------

.. code:: c

    fdopen(), Function, Implemented

Interactions of Other FILE-Type C Functions
-------------------------------------------

Operations on Files - the remove Function
-----------------------------------------

Temporary File Name - the tmpnam Function
-----------------------------------------

Stdio Locking Functions
-----------------------

.. code:: c

    flockfile(), Function, Unimplemented
    ftrylockfile(), Function, Unimplemented
    funlockfile(), Function, Unimplemented

Stdio With Explicit Client Locking
----------------------------------

.. code:: c

    getc_unlocked(), Function, Unimplemented
    getchar_unlocked(), Function, Unimplemented
    putc_unlocked(), Function, Unimplemented
    putchar_unlocked(), Function, Unimplemented

Other C Language Functions
==========================

Nonlocal Jumps
--------------

.. code:: c

    sigjmp_buf, Type, Implemented
    sigsetjmp(), Function, Implemented
    siglongjmp(), Function, Implemented

Set Time Zone
-------------

.. code:: c

    tzset(), Function, Unimplemented

Find String Token
-----------------

.. code:: c

    strtok_r(), Function, Implemented

ASCII Time Representation
-------------------------

.. code:: c

    asctime_r(), Function, Implemented

Current Time Representation
---------------------------

.. code:: c

    ctime_r(), Function, Implemented

Coordinated Universal Time
--------------------------

.. code:: c

    gmtime_r(), Function, Implemented

Local Time
----------

.. code:: c

    localtime_r(), Function, Implemented

Pseudo-Random Sequence Generation Functions
-------------------------------------------

.. code:: c

    rand_r(), Function, Implemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

System Databases
################

System Databases Section
========================

Database Access
===============

Group Database Access
---------------------

.. code:: c

    struct group, Type, Implemented
    getgrgid(), Function, Implemented
    getgrgid_r(), Function, Implemented
    getgrname(), Function, Implemented
    getgrnam_r(), Function, Implemented

NOTE: Creates /etc/group if none exists.

User Database Access
--------------------

.. code:: c

    struct passwd, Type, Implemented
    getpwuid(), Function, Implemented
    getpwuid_r(), Function, Implemented
    getpwnam(), Function, Implemented
    getpwnam_r(), Function, Implemented

NOTE: Creates /etc/passwd if none exists.

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Data Interchange Format
#######################

Archive/Interchange File Format
===============================

Extended tar Format
-------------------

.. code:: c

    tar format, Type, Unimplemented
    TMAGIC, Constant, Unimplemented
    TMAGLEN, Constant, Unimplemented
    TVERSION, Constant, Unimplemented
    TVERSLEN, Constant, Unimplemented
    REGTYPE, Constant, Unimplemented
    AREGTYPE, Constant, Unimplemented
    LNKTYPE, Constant, Unimplemented
    SYMTYPE, Constant, Unimplemented
    CHRTYPE, Constant, Unimplemented
    BLKTYPE, Constant, Unimplemented
    DIRTYPE, Constant, Unimplemented
    FIFOTYPE, Constant, Unimplemented
    CONTTYPE, Constant, Unimplemented
    TSUID, Constant, Unimplemented
    TSGID, Constant, Unimplemented
    TSVTX, Constant, Unimplemented
    TUREAD, Constant, Unimplemented
    TUWRITE, Constant, Unimplemented
    TUEXEC, Constant, Unimplemented
    TGREAD, Constant, Unimplemented
    TGWRITE, Constant, Unimplemented
    TGEXEC, Constant, Unimplemented
    TOREAD, Constant, Unimplemented
    TOWRITE, Constant, Unimplemented
    TOEXEC, Constant, Unimplemented

NOTE: Requires <tar.h> which is not in newlib.

Extended cpio Format
--------------------

.. code:: c

    cpio format, Type, Unimplemented
    C_IRUSER, Constant, Unimplemented
    C_IWUSER, Constant, Unimplemented
    C_IXUSER, Constant, Unimplemented
    C_IRGRP, Constant, Unimplemented
    C_IWGRP, Constant, Unimplemented
    C_IXGRP, Constant, Unimplemented
    C_IROTH, Constant, Unimplemented
    C_IWOTH, Constant, Unimplemented
    C_IXOTH, Constant, Unimplemented
    C_ISUID, Constant, Unimplemented
    C_ISGID, Constant, Unimplemented
    C_ISVTX, Constant, Unimplemented

NOTE: POSIX does not require a header file or structure.  RedHat Linux
5.0 does not have a <cpio.h> although Solaris 2.6 does.

Multiple Volumes
----------------

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Synchronization
###############

Semaphore Characteristics
=========================

NOTE: Semaphores are implemented but only unnamed semaphores
are currently tested.
.. code:: c

    sem_t, Type, Implemented

Semaphore Functions
===================

Initialize an Unnamed Semaphore
-------------------------------

.. code:: c

    sem_init(), Function, Implemented
    SEM_FAILED, Constant, Implemented

Destroy an Unnamed Semaphore
----------------------------

.. code:: c

    sem_destroy(), Function, Implemented

Initialize/Open a Named Semaphore
---------------------------------

.. code:: c

    sem_open(), Function, Implemented

Close a Named Semaphore
-----------------------

.. code:: c

    sem_close(), Function, Implemented

Remove a Named Semaphore
------------------------

.. code:: c

    sem_unlink(), Function, Implemented

Lock a Semaphore
----------------

.. code:: c

    sem_wait(), Function, Implemented
    sem_trywait(), Function, Implemented

Unlock a Semaphore
------------------

.. code:: c

    sem_post(), Function, Implemented

Get the Value of a Semaphore
----------------------------

.. code:: c

    sem_getvalue(), Function, Implemented

Mutexes
=======

Mutex Initialization Attributes
-------------------------------

.. code:: c

    pthread_mutexattr_init(), Function, Implemented
    pthread_mutexattr_destroy(), Function, Implemented
    pthread_mutexattr_getpshared(), Function, Implemented
    pthread_mutexattr_setpshared(), Function, Implemented
    PTHREAD_PROCESS_SHARED, Constant, Implemented
    PTHREAD_PROCESS_PRIVATE, Constant, Implemented

Initializing and Destroying a Mutex
-----------------------------------

.. code:: c

    pthread_mutex_init(), Function, Implemented
    pthread_mutex_destroy(), Function, Implemented
    PTHREAD_MUTEX_INITIALIZER, Constant, Implemented

Locking and Unlocking a Mutex
-----------------------------

.. code:: c

    pthread_mutex_lock(), Function, Implemented
    pthread_mutex_trylock(), Function, Implemented
    pthread_mutex_unlock(), Function, Implemented

Condition Variables
===================

Condition Variable Initialization Attributes
--------------------------------------------

.. code:: c

    pthread_condattr_init(), Function, Implemented
    pthread_condattr_destroy(), Function, Implemented
    pthread_condattr_getpshared(), Function, Implemented
    pthread_condattr_setpshared(), Function, Implemented

Initialization and Destroying Condition Variables
-------------------------------------------------

.. code:: c

    pthread_cond_init(), Function, Implemented
    pthread_cond_destroy(), Function, Implemented
    PTHREAD_COND_INITIALIZER, Constant, Implemented

Broadcasting and Signaling a Condition
--------------------------------------

.. code:: c

    pthread_cond_signal(), Function, Implemented
    pthread_cond_broadcast(), Function, Implemented

Waiting on a Condition
----------------------

.. code:: c

    pthread_cond_wait(), Function, Implemented
    pthread_cond_timedwait(), Function, Implemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Memory Management
#################

Memory Locking Functions
========================

Lock/Unlock the Address Space of a Process
------------------------------------------

.. code:: c

    mlockall(), Function, Unimplemented
    munlockall(), Function, Unimplemented
    MCL_CURRENT, Constant, Unimplemented
    MCL_FUTURE, Constant,  Unimplemented

Lock/Unlock a Rand of Process Address Space
-------------------------------------------

.. code:: c

    mlock(), Function, Unimplemented
    munlock(), Function, Unimplemented

Memory Mapping Functions
========================

Map Process Addresses to a Memory Object
----------------------------------------

.. code:: c

    mmap(), Function, Unimplemented
    PROT_READ, Constant,  Unimplemented
    PROT_WRITE, Constant,  Unimplemented
    PROT_EXEC, Constant,  Unimplemented
    PROT_NONE, Constant,  Unimplemented
    MAP_SHARED, Constant,  Unimplemented
    MAP_PRIVATE, Constant,  Unimplemented
    MAP_FIXED, Constant,  Unimplemented

Unmap Previously Mapped Addresses
---------------------------------

.. code:: c

    munmap(), Function, Unimplemented

Change Memory Protection
------------------------

.. code:: c

    mprotect(), Function, Unimplemented

Memory Object Synchronization
-----------------------------

.. code:: c

    msync(), Function, Unimplemented, Unimplemented
    MS_ASYNC, Constant, Unimplemented
    MS_SYNC, Constant,  Unimplemented
    MS_INVALIDATE, Constant,  Unimplemented

Shared Memory Functions
=======================

Open a Shared Memory Object
---------------------------

.. code:: c

    shm_open(), Function, Unimplemented

Remove a Shared Memory Object
-----------------------------

.. code:: c

    shm_unlink(), Function, Unimplemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Execution Scheduling
####################

Scheduling Parameters
=====================

.. code:: c

    struct sched_param, Type, Implemented

Scheduling Policies
===================

.. code:: c

    SCHED_FIFO, Constant, Implemented
    SCHED_RR, Constant, Implemented
    SCHED_OTHER, Constant, Implemented

NOTE: RTEMS adds SCHED_SPORADIC.

SCHED_FIFO
----------

SCHED_RR
--------

SCHED_OTHER
-----------

Process Scheduling Functions
============================

Set Scheduling Parameters
-------------------------

.. code:: c

    sched_setparam(), Function, Dummy Implementation

Get Scheduling Parameters
-------------------------

.. code:: c

    sched_getparam(), Function, Dummy Implementation

Set Scheduling Policy and Scheduling Parameters
-----------------------------------------------

.. code:: c

    sched_setscheduler(), Function, Dummy Implementation

Get Scheduling Policy
---------------------

.. code:: c

    sched_getscheduler(), Function, Dummy Implementation

Yield Processor
---------------

.. code:: c

    sched_yield(), Function, Implemented

Get Scheduling Parameter Limits
-------------------------------

.. code:: c

    sched_get_priority_max(), Function, Implemented
    sched_get_priority_min(), Function, Implemented
    sched_get_priority_rr_get_interval(), Function, Implemented

Thread Scheduling
=================

Thread Scheduling Attributes
----------------------------

.. code:: c

    PTHREAD_SCOPE_PROCESS, Constant, Implemented
    PTHREAD_SCOPE_SYSTEM, Constant, Implemented

Scheduling Contention Scope
---------------------------

Scheduling Allocation Domain
----------------------------

Scheduling Documentation
------------------------

Thread Scheduling Functions
===========================

Thread Creation Scheduling Attributes
-------------------------------------

.. code:: c

    pthread_attr_setscope(), Function, Implemented
    pthread_attr_getscope(), Function, Implemented
    pthread_attr_setinheritsched(), Function, Implemented
    pthread_attr_getinheritsched(), Function, Implemented
    pthread_attr_setschedpolicy(), Function, Implemented
    pthread_attr_getschedpolicy(), Function, Implemented
    pthread_attr_setschedparam(), Function, Implemented
    pthread_attr_getschedparam(), Function, Implemented
    PTHREAD_INHERIT_SCHED, Constant, Implemented
    PTHREAD_EXPLICIT_SCHED, Constant, Implemented

Dynamic Thread Scheduling Parameters Access
-------------------------------------------

.. code:: c

    pthread_setschedparam(), Function, Implemented
    pthread_getschedparam(), Function, Implemented

Synchronization Scheduling
==========================

Mutex Initialization Scheduling Attributes
------------------------------------------

.. code:: c

    pthread_mutexattr_setprotocol(), Function, Implemented
    pthread_mutexattr_getprotocol(), Function, Implemented
    pthread_mutexattr_setprioceiling(), Function, Implemented
    pthread_mutexattr_getprioceiling(), Function, Implemented
    PTHREAD_PRIO_NONE, Constant, Implemented
    PTHREAD_PRIO_INHERIT, Constant, Implemented
    PTHREAD_PRIO_PROTECT, Constant, Implemented

Change the Priority Ceiling of a Mutex
--------------------------------------

.. code:: c

    pthread_mutex_setprioceiling(), Function, Implemented
    pthread_mutex_getprioceiling(), Function, Implemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Clocks and Timers
#################

Data Definitions for Clocks and Timers
======================================

Time Value Specification Structures
-----------------------------------

.. code:: c

    struct timespec, Type, Implemented
    struct itimerspec, Type, Implemented

Timer Event Notification Control Block
--------------------------------------

Type Definitions
----------------

.. code:: c

    clockid_t, Type, Implemented
    timerid_t, Type, Implemented

Timer Event Notification Manifest Constants
-------------------------------------------

.. code:: c

    CLOCK_REALTIME, Constant, Implemented
    TIMER_ABSTIME, Constant, Implemented

Clock and Timer Functions
=========================

Clocks
------

.. code:: c

    clock_settime(), Function, Partial Implementation
    clock_gettime(), Function, Partial Implementation
    clock_getres(), Function, Implemented

Create a Per-Process Timer
--------------------------

.. code:: c

    timer_create(), Function, Implemented

Delete a Per-Process Timer
--------------------------

.. code:: c

    timer_delete(), Function, Implemented

Per-Process Timers
------------------

.. code:: c

    timer_settime(), Function, Implemented
    timer_gettime(), Function, Implemented
    timer_getoverrun(), Function, Implemented

High Resolution Sleep
---------------------

.. code:: c

    nanosleep(), Function, Implemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Message Passing
###############

Data Definitions for Message Queues
===================================

Data Structures
---------------

NOTE: Semaphores are implemented but only unnamed semaphores
are currently tested.
.. code:: c

    mqd_t, Type, Implemented
    struct mq_attr, Type, Implemented

Message Passing Functions
=========================

Open a Message Queue
--------------------

.. code:: c

    mq_open(), Function, Implemented

Close a Message Queue
---------------------

.. code:: c

    mq_close(), Function, Implemented

Remove a Message Queue
----------------------

.. code:: c

    mq_unlink(), Function, Implemented

Send a Message to a Message Queue
---------------------------------

.. code:: c

    mq_send(), Function, Implemented

Receive a Message From a Message Queue
--------------------------------------

.. code:: c

    mq_receive(), Function, Implemented

Notify Process That a Message is Available on a Queue
-----------------------------------------------------

.. code:: c

    mq_notify(), Function, Implemented

Set Message Queue Attributes
----------------------------

.. code:: c

    mq_setattr(), Function, Implemented

Get Message Queue Attributes
----------------------------

.. code:: c

    mq_getattr(), Function, Implemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Thread Management
#################

Threads
=======

Thread Functions
================

Thread Creation Attributes
--------------------------

.. code:: c

    pthread_attr_init(), Function, Implemented
    pthread_attr_destroy(), Function, Implemented
    pthread_attr_setstacksize(), Function, Implemented
    pthread_attr_getstacksize(), Function, Implemented
    pthread_attr_setstackaddr(), Function, Implemented
    pthread_attr_getstackaddr(), Function, Implemented
    pthread_attr_setdetachstate(), Function, Implemented
    pthread_attr_getdetachstate(), Function, Implemented
    PTHREAD_CREATE_JOINABLE, Constant, Implemented
    PTHREAD_CREATE_DETACHED, Constant, Implemented

Thread Creation
---------------

.. code:: c

    pthread_create(), Function, Implemented

Wait for Thread Termination
---------------------------

.. code:: c

    pthread_join(), Function, Implemented

Detaching a Thread
------------------

.. code:: c

    pthread_detach(), Function, Implemented

Thread Termination
------------------

.. code:: c

    pthread_exit(), Function, Implemented

Get Thread ID
-------------

.. code:: c

    pthread_self(), Function, Implemented

Compare Thread IDs
------------------

.. code:: c

    pthread_equal(), Function, Implemented

Dynamic Package Initialization
------------------------------

.. code:: c

    pthread_once(), Function, Implemented
    PTHREAD_ONCE_INIT, Constant, Implemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Thread-Specific Data
####################

Thread-Specific Data Functions
==============================

Thread-Specific Data Key Creation
---------------------------------

.. code:: c

    pthread_key_create(), Function, Implemented

Thread-Specific Data Management
-------------------------------

.. code:: c

    pthread_key_setspecific(), Function, Implemented
    pthread_key_getspecific(), Function, Implemented

Thread-Specific Data Key Deletion
---------------------------------

.. code:: c

    pthread_key_delete(), Function, Implemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.

Thread Cancellation
###################

Thread Cancellation Overview
============================

Cancelability States
--------------------

.. code:: c

    PTHREAD_CANCEL_DISABLE, Constant, Implemented
    PTHREAD_CANCEL_ENABLE, Constant, Implemented
    PTHREAD_CANCEL_ASYNCHRONOUS, Constant, Implemented
    PTHREAD_CANCEL_DEFERRED, Constant, Implemented

Cancellation Points
-------------------

Thread Cancellation Cleanup Handlers
------------------------------------

.. code:: c

    PTHREAD_CANCELED, Constant, Unimplemented

Async-Cancel Safety
-------------------

Thread Cancellation Functions
=============================

Canceling Execution of a Thread
-------------------------------

.. code:: c

    pthread_cancel(), Function, Implemented

Setting Cancelability State
---------------------------

.. code:: c

    pthread_setcancelstate(), Function, Implemented
    pthread_setcanceltype(), Function, Implemented
    pthread_testcancel(), Function, Implemented

Establishing Cancellation Handlers
----------------------------------

.. code:: c

    pthread_cleanup_push(), Function, Implemented
    pthread_cleanup_pop(), Function, Implemented

Language-Independent Cancellation Functionality
===============================================

Requesting Cancellation
-----------------------

Associating Cleanup Code With Scopes
------------------------------------

Controlling Cancellation Within Scopes
--------------------------------------

Defined Cancellation Sequence
-----------------------------

List of Cancellation Points
---------------------------

.. COMMENT: DO NOT EDIT - AUTOMATICALLY GENERATED!!!

Compliance Summary
##################

General Chapter
===============

.. code:: c

    Functions:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :       21
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

*FEATURE FLAG COUNTS DO NOT ADD UP!!*
.. code:: c

    Constants:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Terminology and General Requirements Chapter
============================================

.. code:: c

    Functions:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :       19
    Implemented     :       19
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :       32
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

*FEATURE FLAG COUNTS DO NOT ADD UP!!*
.. code:: c

    Constants:
    Total Number    :      126
    Implemented     :      124
    Unimplemented   :        2
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Process Primitives Chapter
==========================

.. code:: c

    Functions:
    Total Number    :       36
    Implemented     :       20
    Unimplemented   :        0
    Unimplementable :       16
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        5
    Implemented     :        5
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :       40
    Implemented     :       32
    Unimplemented   :        6
    Unimplementable :        2
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Process Environment Chapter
===========================

.. code:: c

    Functions:
    Total Number    :       23
    Implemented     :       21
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        2
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        2
    Implemented     :        2
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :       53
    Implemented     :       51
    Unimplemented   :        2
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Files and Directories Chapter
=============================

.. code:: c

    Functions:
    Total Number    :       35
    Implemented     :       29
    Unimplemented   :        3
    Unimplementable :        0
    Partial         :        1
    Dummy           :        0
    Untested        :        1

*FUNCTION COUNTS DO NOT ADD UP!!*
.. code:: c

    Data Types:
    Total Number    :        3
    Implemented     :        3
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :       39
    Implemented     :       37
    Unimplemented   :        2
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Input and Output Primitives Chapter
===================================

.. code:: c

    Functions:
    Total Number    :       19
    Implemented     :        9
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        9
    Untested        :        0

*FUNCTION COUNTS DO NOT ADD UP!!*
.. code:: c

    Data Types:
    Total Number    :        2
    Implemented     :        1
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        1

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :       24
    Implemented     :       24
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Device- and Class-Specific Functions Chapter
============================================

.. code:: c

    Functions:
    Total Number    :       12
    Implemented     :        8
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        4
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        3
    Implemented     :        3
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :       77
    Implemented     :       76
    Unimplemented   :        1
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Language-Specific Services for the C Programming Language Chapter
=================================================================

.. code:: c

    Functions:
    Total Number    :      126
    Implemented     :      117
    Unimplemented   :        8
    Unimplementable :        0
    Partial         :        1
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        2
    Implemented     :        2
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :       11
    Implemented     :       11
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

System Databases Chapter
========================

.. code:: c

    Functions:
    Total Number    :        8
    Implemented     :        8
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        2
    Implemented     :        2
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Data Interchange Format Chapter
===============================

.. code:: c

    Functions:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        2
    Implemented     :        0
    Unimplemented   :        2
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :       37
    Implemented     :        0
    Unimplemented   :       37
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Synchronization Chapter
=======================

.. code:: c

    Functions:
    Total Number    :       28
    Implemented     :       28
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        1
    Implemented     :        1
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :        5
    Implemented     :        5
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Memory Management Chapter
=========================

.. code:: c

    Functions:
    Total Number    :       10
    Implemented     :        0
    Unimplemented   :       10
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :       12
    Implemented     :        0
    Unimplemented   :       12
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Execution Scheduling Chapter
============================

.. code:: c

    Functions:
    Total Number    :       24
    Implemented     :       20
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        4
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        1
    Implemented     :        1
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :       10
    Implemented     :       10
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Clocks and Timers Chapter
=========================

.. code:: c

    Functions:
    Total Number    :        9
    Implemented     :        7
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        2
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        4
    Implemented     :        4
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :        2
    Implemented     :        2
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Message Passing Chapter
=======================

.. code:: c

    Functions:
    Total Number    :        8
    Implemented     :        8
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        2
    Implemented     :        2
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Thread Management Chapter
=========================

.. code:: c

    Functions:
    Total Number    :       15
    Implemented     :       15
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :        3
    Implemented     :        3
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Thread-Specific Data Chapter
============================

.. code:: c

    Functions:
    Total Number    :        4
    Implemented     :        4
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Thread Cancellation Chapter
===========================

.. code:: c

    Functions:
    Total Number    :        6
    Implemented     :        6
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Data Types:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Feature Flags:
    Total Number    :        0
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

.. code:: c

    Constants:
    Total Number    :        5
    Implemented     :        4
    Unimplemented   :        1
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Overall Summary
===============

.. code:: c

    Functions:
    Total Number    :      363
    Implemented     :      300
    Unimplemented   :       21
    Unimplementable :       16
    Partial         :        4
    Dummy           :       19
    Untested        :        1

*FUNCTION COUNTS DO NOT ADD UP!!*
.. code:: c

    Data Types:
    Total Number    :       48
    Implemented     :       45
    Unimplemented   :        2
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        1

.. code:: c

    Feature Flags:
    Total Number    :       53
    Implemented     :        0
    Unimplemented   :        0
    Unimplementable :        0
    Partial         :        0
    Dummy           :        0
    Untested        :        0

*FEATURE FLAG COUNTS DO NOT ADD UP!!*
.. code:: c

    Constants:
    Total Number    :      444
    Implemented     :      379
    Unimplemented   :       63
    Unimplementable :        2
    Partial         :        0
    Dummy           :        0
    Untested        :        0

Command and Variable Index
##########################

There are currently no Command and Variable Index entries.

.. COMMENT: @printindex fn

Concept Index
#############

There are currently no Concept Index entries.

.. COMMENT: @printindex cp