1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<fpdoc-descriptions>
<package name="rtl">
<!--
====================================================================
BaseUnix
====================================================================
-->
<module name="BaseUnix">
<short>Basic unix functionality</short>
<descr>
<p>
The <file>BaseUnix</file> unit was implemented by Marco Van de Voort.
It contains basic unix functionality. It supersedes the Linux unit of
version 1.0.X of the compiler, but does not implement all functionality of
the linux unit.
</p>
<p>
People that have code which heavily uses the old <file>Linux</file> unit,
can simply change <file>linux</file> by <file>oldlinux</file> in the
<var>uses</var> clause of their projects, but they should really consider
moving to the <file>Unix</file> and <file>BaseUnix</file> units.
</p>
<p>
For porting FPC to new unix-like platforms, it should be sufficient to
implement the functionality in this unit for the new platform.
</p>
</descr>
<!-- unresolved type reference Visibility: default -->
<element name="UnixType">
<short>Basic unix types.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cInt8">
<short>C type: 8 bits sized, signed integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cUInt8">
<short>C type: 8 bits sized, unsigned integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cUInt16">
<short>C type: 16 bits sized, unsigned integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cInt16">
<short>C type: 16 bits sized, signed integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cInt32">
<short>C type: 32 bits sized, signed integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cUInt32">
<short>C type: 32 bits sized, unsigned integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cInt64">
<short>C type: 64 bits sized, signed integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cUInt64">
<short>C type: 64 bits sized, unsigned integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cuchar">
<short>C type: unsigned character</short>
</element>
<!-- alias type Visibility: default -->
<element name="cInt">
<short>C type: integer (natural size)</short>
</element>
<!-- alias type Visibility: default -->
<element name="cUInt">
<short>C type: unsigned integer (natural size)</short>
</element>
<!-- alias type Visibility: default -->
<element name="cLong">
<short>C type: long signed integer (double sized)</short>
</element>
<!-- alias type Visibility: default -->
<element name="cuLong">
<short>C type: long unsigned integer (double sized)</short>
</element>
<!-- alias type Visibility: default -->
<element name="cshort">
<short>C type: short signed integer (half sized)</short>
</element>
<!-- alias type Visibility: default -->
<element name="cushort">
<short>C type: short unsigned integer (half sized)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcInt">
<short>Pointer to <link id="cInt"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcUInt">
<short>Pointer to <link id="cUInt"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcLong">
<short>Pointer to <link id="cLong"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pculong">
<short>Pointer to <link id="cuLong"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcshort">
<short>Pointer to <link id="cShort"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcushort">
<short>Pointer to <link id="cuShort"/> type.</short>
</element>
<element name="cchar">
<short>Alias for <link id="#rtl.UnixType.cchar"/></short>
</element>
<element name="cuchar">
<short>Alias for <link id="#rtl.UnixType.cuchar"/></short>
</element>
<element name="cunsigned">
<short>Alias for <link id="#rtl.unixtype.cunsigned"/></short>
</element>
<element name="pcchar">
<short>Alias for <link id="#rtl.UnixType.pcchar"/></short>
</element>
<element name="pcuchar">
<short>Alias for <link id="#rtl.UnixType.pcuchar"/></short>
</element>
<element name="pcunsigned">
<short>Alias for <link id="#rtl.unixtype.pcunsigned"/></short>
</element>
<!-- pointer type Visibility: default -->
<element name="pcint8">
<short>Pointer to 8-bits signed integer type</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pcuint8">
<short>Pointer to 8-bits unsigned integer type</short>
</element>
<!-- alias type Visibility: default -->
<element name="cschar">
<short>Signed character type</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pcschar">
<short>Pointer to signed character type</short>
<descr>
Pointer to character type <link id="cschar"/>.
</descr>
</element>
<!-- pointer type Visibility: default -->
<element name="pcint16">
<short>Pointer to 16-bit signed integer type</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pcuint16">
<short>Pointer to 16-bit unsigned integer type</short>
</element>
<!-- alias type Visibility: default -->
<element name="csshort">
<short>Short signed integer type </short>
</element>
<!-- pointer type Visibility: default -->
<element name="pcsshort">
<short>Pointer to short signed integer type</short>
<descr>
Pointer to short signed integer type <link id="csshort"/>
</descr>
</element>
<!-- pointer type Visibility: default -->
<element name="pcint32">
<short>Pointer to signed 32-bit integer type</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pcuint32">
<short>Pointer to unsigned 32-bit integer type</short>
</element>
<!-- alias type Visibility: default -->
<element name="csint">
<short>Signed integer</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pcsint">
<short>Pointer to signed integer</short>
<descr>
Pointer to signed integer type <link id="csint"/>
</descr>
</element>
<!-- alias type Visibility: default -->
<element name="csigned">
<short>Signed integer</short>
<descr>
<var>csigned</var> is an alias for <link id="cint"/>.
</descr>
</element>
<!-- pointer type Visibility: default -->
<element name="pcsigned">
<short>Pointer to signed integer</short>
<descr>
Pointer to signed integer type <link id="csigned"/>.
</descr>
</element>
<!-- pointer type Visibility: default -->
<element name="pcint64">
<short>Pointer to signed 64-bit integer type</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pcuint64">
<short>Pointer to unsigned 64-bit integer type</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pclonglong">
<short>Pointer to longlong type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cslonglong">
<short>Signed longlong type</short>
<descr>
<var>cslonglong</var> is an alias for <link id="clonglong"/>.
</descr>
</element>
<!-- pointer type Visibility: default -->
<element name="pcslonglong">
<short>Pointer to Signed longlong type</short>
<descr>
Pointer to Signed longlong type <link id="cslonglong"/>
</descr>
</element>
<!-- pointer type Visibility: default -->
<element name="pculonglong">
<short>Unsigned longlong type</short>
</element>
<!-- alias type Visibility: default -->
<element name="clonglong">
<short>C type: 64-bit (double long) signed integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="culonglong">
<short>C type: 64-bit (double long) unsigned integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cbool">
<short>Boolean type</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pcbool">
<short>Pointer to boolean type</short>
<descr>
Pointer to boolean type <link id="cbool"/>
</descr>
</element>
<!-- alias type Visibility: default -->
<element name="cslong">
<short>Signed long</short>
<descr>
The size is CPU dependent.
</descr>
</element>
<!-- pointer type Visibility: default -->
<element name="pcslong">
<short>Pointer to signed long</short>
<descr>
Pointer ot the signed long <link id="cslong"/>
</descr>
</element>
<!-- alias type Visibility: default -->
<element name="clongdouble">
<short>Long double</short>
<descr>
Usually translates to an extended, but is CPU dependent.
</descr>
</element>
<!-- pointer type Visibility: default -->
<element name="pclongdouble">
<short>Pointer to long double</short>
<descr>
Pointer to the long double type <link id="clongdouble"/>
</descr>
<seealso>
</seealso>
</element>
<!-- alias type Visibility: default -->
<element name="dev_t">
<short>Device descriptor type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TDev">
<short>Alias for <link id="dev_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pDev">
<short>Pointer to <link id="TDev"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="gid_t">
<short>Group ID type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TGid">
<short>Alias for <link id="gid_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pGid">
<short>Pointer to <link id="TGid"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="ino_t">
<short>Inode type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TIno">
<short>Alias for <link id="ino_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pIno">
<short>Pointer to <link id="TIno"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="mode_t">
<short>Inode mode type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TMode">
<short>Alias for <link id="mode_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pMode">
<short>Pointer to <link id="TMode"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="nlink_t">
<short>Number of links type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TnLink">
<short>Alias for <link id="nlink_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pnLink">
<short>Pointer to <link id="TnLink"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="off_t">
<short>Offset type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TOff">
<short>Alias for <link id="off_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pOff">
<short>Pointer to <link id="TOff"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pid_t">
<short>Process ID type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TPid">
<short>Alias for <link id="pid_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pPid">
<short>Pointer to <link id="TPid"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="size_t">
<short>Size specification type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TSize">
<short>Alias for <link id="size_t"/> type</short>
</element>
<!-- alias type Visibility: default -->
<element name="pSize">
<short>Pointer to <link id="TSize"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="ssize_t">
<short>Small size type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TsSize">
<short>Alias for <link id="ssize_t"/> type</short>
</element>
<!-- alias type Visibility: default -->
<element name="psSize">
<short>Pointer to <link id="TsSize"/> type</short>
</element>
<!-- alias type Visibility: default -->
<element name="uid_t">
<short>User ID type</short>
</element>
<!-- alias type Visibility: default -->
<element name="TUid">
<short>Alias for <link id="uid_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pUid">
<short>Pointer to <link id="TUid"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="clock_t">
<short>Clock ticks type</short>
</element>
<!-- alias type Visibility: default -->
<element name="TClock">
<short>Alias for <link id="clock_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pClock">
<short>Pointer to <link id="TClock"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="time_t">
<short>Time span type</short>
</element>
<!-- alias type Visibility: default -->
<element name="TTime">
<short>Alias for <link id="TTime"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pTime">
<short>Pointer to <link id="TTime"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="ptime_t">
<short>Pointer to <link id="time_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="socklen_t">
<short>Socket address length type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TSocklen">
<short>Alias for <link id="socklen_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pSocklen">
<short>Pointer to <link id="TSockLen"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="timeval">
<short>Time specification type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="ptimeval">
<short>Pointer to <link id="timeval"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TTimeVal">
<short>Alias for <link id="timeval"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="timespec">
<short>Short time specification type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="ptimespec">
<short>Pointer to <link id="timespec"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="Ttimespec">
<short>Alias for <link id="TimeSpec"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pthread_mutex_t">
<short>Thread mutex type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pthread_cond_t">
<short>Thread conditional variable type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pthread_t">
<short>Posix thread type.</short>
</element>
<!-- constant Visibility: default -->
<element name="ARG_MAX">
<short>Maximum number of arguments to a program.</short>
</element>
<!-- constant Visibility: default -->
<element name="NAME_MAX">
<short>Maximum filename length.</short>
</element>
<!-- constant Visibility: default -->
<element name="PATH_MAX">
<short>Maximum pathname length.</short>
</element>
<!-- constant Visibility: default -->
<element name="SYS_NMLN">
<short>Max system name length.</short>
</element>
<!-- constant Visibility: default -->
<element name="SIG_MAXSIG">
<short>Maximum system signal number.</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEPERM">
<short>System error: Operation not permitted.</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOENT">
<short>System error: No such file or directory</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysESRCH">
<short>System error: No such process</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEINTR">
<short>System error: Interrupted system call</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEIO">
<short>System error: I/O error</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENXIO">
<short>System error: No such device or address</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysE2BIG">
<short>System error: Argument list too long</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOEXEC">
<short>System error: Exec format error</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEBADF">
<short>System error: Bad file number</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysECHILD">
<short>System error: No child processes</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEAGAIN">
<short>System error: Try again</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOMEM">
<short>System error: Out of memory</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEACCES">
<short>System error: Permission denied</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEFAULT">
<short>System error: Bad address</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOTBLK">
<short>System error: Block device required</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEBUSY">
<short>System error: Device or resource busy</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEEXIST">
<short>System error: File exists</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEXDEV">
<short>System error: Cross-device link</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENODEV">
<short>System error: No such device</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOTDIR">
<short>System error: Not a directory</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEISDIR">
<short>System error: Is a directory</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEINVAL">
<short>System error: Invalid argument</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENFILE">
<short>System error: File table overflow</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEMFILE">
<short>System error: Too many open files</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOTTY">
<short>System error: Not a typewriter</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysETXTBSY">
<short>System error: Text (code segment) file busy</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEFBIG">
<short>System error: File too large</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOSPC">
<short>System error: No space left on device</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysESPIPE">
<short>System error: Illegal seek</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEROFS">
<short>System error: Read-only file system</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEMLINK">
<short>System error: Too many links</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEPIPE">
<short>System error: Broken pipe</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEDOM">
<short>System error: Math argument out of domain of func</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysERANGE">
<short>System error: Math result not representable</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEDEADLK">
<short>System error: Resource deadlock would occur</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENAMETOOLONG">
<short>System error: File name too long</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOLCK">
<short>System error: No record locks available</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOSYS">
<short>System error: Function not implemented</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOTEMPTY">
<short>System error: Directory not empty</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysELOOP">
<short>System error: Too many symbolic links encountered</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEWOULDBLOCK">
<short>System error: Operation would block</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOMSG">
<short>System error: No message of desired type</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEIDRM">
<short>System error: Identifier removed</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysECHRNG">
<short>System error: Channel number out of range</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEL2NSYNC">
<short>System error: Level 2 not synchronized</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEL3HLT">
<short>System error: Level 3 halted</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEL3RST">
<short>System error: Level 3 reset</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysELNRNG">
<short>System error: Link number out of range</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEUNATCH">
<short>System error: Protocol driver not attached</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOCSI">
<short>System error: No CSI structure available</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEL2HLT">
<short>System error: Level 2 halted</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEBADE">
<short>System error: Invalid exchange</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEBADR">
<short>System error: Invalid request descriptor</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEXFULL">
<short>System error: Exchange full</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOANO">
<short>System error: No anode</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEBADRQC">
<short>System error: Invalid request code</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEBADSLT">
<short>System error: Invalid slot</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEDEADLOCK">
<short>System error: File locking deadlock error</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEBFONT">
<short>System error: Bad font file format</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOSTR">
<short>System error: Device not a stream</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENODATA">
<short>System error: No data available</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysETIME">
<short>System error: Timer expired</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOSR">
<short>System error: Out of streams resources</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENONET">
<short>System error: Machine is not on the network</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOPKG">
<short>System error: Package not installed</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEREMOTE">
<short>System error: Object is remote</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOLINK">
<short>System error: Link has been severed</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEADV">
<short>System error: Advertise error</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysESRMNT">
<short>System error: Srmount error</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysECOMM">
<short>System error: Communication error on send</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEPROTO">
<short>System error: Protocol error</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEMULTIHOP">
<short>System error: Multihop attempted</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEDOTDOT">
<short>System error: RFS specific error</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEBADMSG">
<short>System error: Not a data message</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEOVERFLOW">
<short>System error: Value too large for defined data type</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOTUNIQ">
<short>System error: Name not unique on network</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEBADFD">
<short>System error: File descriptor in bad state</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEREMCHG">
<short>System error: Remote address changed</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysELIBACC">
<short>System error: Can not access a needed shared library</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysELIBBAD">
<short>System error: Accessing a corrupted shared library</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysELIBSCN">
<short>System error: .lib section in a.out corrupted</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysELIBMAX">
<short>System error: Attempting to link in too many shared libraries</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysELIBEXEC">
<short>System error: Cannot exec a shared library directly</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEILSEQ">
<short>System error: Illegal byte sequence</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysERESTART">
<short>System error: Interrupted system call should be restarted</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysESTRPIPE">
<short>System error: Streams pipe error</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEUSERS">
<short>System error: Too many users</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOTSOCK">
<short>System error: Socket operation on non-socket</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEDESTADDRREQ">
<short>System error: Destination address required</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEMSGSIZE">
<short>System error: Message too long</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEPROTOTYPE">
<short>System error: Protocol wrong type for socket</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOPROTOOPT">
<short>System error: Protocol not available</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEPROTONOSUPPORT">
<short>System error: Protocol not supported</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysESOCKTNOSUPPORT">
<short>System error: Socket type not supported</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEOPNOTSUPP">
<short>System error: Operation not supported on transport endpoint</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEPFNOSUPPORT">
<short>System error: Protocol family not supported</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEAFNOSUPPORT">
<short>System error: Address family not supported by protocol</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEADDRINUSE">
<short>System error: Address already in use</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEADDRNOTAVAIL">
<short>System error: Cannot assign requested address</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENETDOWN">
<short>System error: Network is down</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENETUNREACH">
<short>System error: Network is unreachable</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENETRESET">
<short>System error: Network dropped connection because of reset</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysECONNABORTED">
<short>System error: Software caused connection abort</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysECONNRESET">
<short>System error: Connection reset by peer</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOBUFS">
<short>System error: No buffer space available</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEISCONN">
<short>System error: Transport endpoint is already connected</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOTCONN">
<short>System error: Transport endpoint is not connected</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysESHUTDOWN">
<short>System error: Cannot send after transport endpoint shutdown</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysETOOMANYREFS">
<short>System error: Too many references: cannot splice</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysETIMEDOUT">
<short>System error: Connection timed out</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysECONNREFUSED">
<short>System error: Connection refused</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEHOSTDOWN">
<short>System error: Host is down</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEHOSTUNREACH">
<short>System error: No route to host</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEALREADY">
<short>System error: Operation already in progress</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEINPROGRESS">
<short>System error: Operation now in progress</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysESTALE">
<short>System error: Stale NFS file handle</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEUCLEAN">
<short>System error: Structure needs cleaning</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENOTNAM">
<short>System error: Not a XENIX named type file</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysENAVAIL">
<short>System error: No XENIX semaphores available</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEISNAM">
<short>System error: Is a named type file</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEREMOTEIO">
<short>System error: Remote I/O error</short>
</element>
<!-- constant Visibility: default -->
<element name="ESysEDQUOT">
<short>System error: Quota exceeded</short>
</element>
<!-- constant Visibility: default -->
<element name="UTSNAME_LENGTH">
<short>Max length of <link id="utsname"/> system name, release, version, machine.</short>
</element>
<!-- constant Visibility: default -->
<element name="UTSNAME_NODENAME_LENGTH">
<short>Max length of <link id="utsname"/> node name.</short>
</element>
<!-- constant Visibility: default -->
<element name="UTSNAME_DOMAIN_LENGTH">
<short>Max length of <link id="utsname"/> domain name.</short>
</element>
<!-- constant Visibility: default -->
<element name="FD_MAXFDSET">
<short>Maximum elements in a <link id="TFDSet"/> array.</short>
</element>
<!-- constant Visibility: default -->
<element name="BITSINWORD">
<short>Number of bits in a word.</short>
</element>
<!-- constant Visibility: default -->
<element name="wordsinsigset">
<short>Number of words in a signal set.</short>
</element>
<!-- constant Visibility: default -->
<element name="wordsinfdset">
<short>Number of words in a <link id="TFDSet"/> array</short>
</element>
<!-- constant Visibility: default -->
<element name="ln2bitsinword">
<short>Power of 2 number of bits in word.</short>
</element>
<!-- constant Visibility: default -->
<element name="ln2bitmask">
<short>Last bit in word.</short>
</element>
<!-- alias type Visibility: default -->
<element name="Blksize_t">
<short>Block size type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="Blkcnt_t">
<short>Block count type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="Ino64_t">
<short>64-bit inode type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="Off64_t">
<short>64-bit offset type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TBlkSize">
<short>Alias for <link id="blksize_t"/> type.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="PBlkSize">
<short>Pointer to <link id="TBlkSize"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TBlkCnt">
<short>Alias for <link id="Blkcnt_t"/> type.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="PBlkCnt">
<short>pointer to <link id="TBlkCnt"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TIno64">
<short>Alias for <link id="Ino64_t"/> type.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="PIno64">
<short>Pointer to <link id="TIno64"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TOff64">
<short>Alias for <link id="Ino64_t"/> type.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="POff64">
<short>Pointer to <link id="TOff64"/> type.</short>
</element>
<!-- record type Visibility: default -->
<element name="timezone">
<short>Record describing a timezone</short>
</element>
<!-- variable Visibility: default -->
<element name="timezone.minuteswest">
<short>Minutes west of GMT</short>
</element>
<!-- variable Visibility: default -->
<element name="timezone.dsttime">
<short>Daylight savings time</short>
</element>
<!-- pointer type Visibility: default -->
<element name="ptimezone">
<short>Pointer to <link id="TimeZone"/> record.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TTimeZone">
<short>Alias for <link id="TimeZone"/> record.</short>
</element>
<element name="S_IFMT">
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: File type bit mask</short>
</element>
<element name="S_IFSOCK">
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Socket</short>
</element>
<element name="S_IFLNK">
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Link</short>
</element>
<element name="S_IFREG">
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Regular file</short>
</element>
<element name="S_IFBLK">
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Block device</short>
</element>
<element name="S_IFDIR">
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Directory</short>
</element>
<element name="S_IFCHR">
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Character device</short>
</element>
<element name="S_IFIFO">
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: FIFO</short>
</element>
<element name="SigActionHandler">
<short>Callback prototype for a <link id="#rtl.baseunix.SigActionRec"/> record.</short>
<descr>
When installing a signal handler, the actual signal handler must be of type
<var>SigActionHandler</var>.
</descr>
</element>
<element name="PSigContext">
<short>Pointer to <link id="#rtl.baseunix.TSigContext"/> record type.</short>
</element>
<element name="TSigContext">
<short>Record describing the CPU context when a signal occurs.</short>
<descr>
This type is CPU dependent. Cross-platform code should not use the contents
of this record.
</descr>
</element>
<element name="PSigInfo">
<short>Pointer to <link id="#rtl.baseunix.TSigInfo"/> record type.</short>
</element>
<element name="TSigInfo">
<short>Record describing the signal when a signal occurs.</short>
<descr>
This type describes the signal that occurred.
</descr>
</element>
<element name="TSigInfo.si_signo">
<short>Signal number</short>
</element>
<element name="TSigInfo.si_errno">
<short>Error code</short>
</element>
<element name="TSigInfo.si_code">
<short>Extra code (?)</short>
</element>
<element name="TStatFS">
<short>Record describing a file system in the <link id="baseunix.fpstatfs"/> call.</short>
</element>
<element name="TStatFS.fstype">
<short>File system type</short>
</element>
<element name="TStatFS.bsize">
<short>Block size</short>
</element>
<element name="TStatFS.blocks">
<short>Total number of blocks</short>
</element>
<element name="TStatFS.bfree">
<short>Number of free blocks</short>
</element>
<element name="TStatFS.bavail">
<short>Number of available blocks</short>
</element>
<element name="TStatFS.files">
<short>Number of files</short>
</element>
<element name="TStatFS.ffree">
<short>?</short>
</element>
<element name="TStatFS.fsid">
<short>?</short>
</element>
<element name="TStatFS.namelen">
<short>Max name length for files.</short>
</element>
<element name="TStatFS.spare">
<short>Pad bytes. Do not use.</short>
</element>
<element name="TSigInfo.si_fields">
<short>Extra fields, content depends on the signal.</short>
</element>
<element name="MAP_PRIVATE">
<short><link id="FpMMap"/> map type: Changes are private</short>
</element>
<element name="MAP_ANONYMOUS">
<short><link id="FpMMap"/> map type: Don't use a file</short>
</element>
<element name="MAP_GROWSDOWN">
<short><link id="FpMMap"/> option: Memory grows downward (like a stack)</short>
</element>
<element name="MAP_DENYWRITE">
<short><link id="FpMMap"/> option: Ignored.</short>
</element>
<element name="MAP_EXECUTABLE">
<short><link id="FpMMap"/> option: Ignored.</short>
</element>
<element name="MAP_LOCKED">
<short><link id="FpMMap"/> option: lock the pages in memory.</short>
</element>
<element name="MAP_NORESERVE">
<short><link id="FpMMap"/> option: Do not reserve swap pages for this memory.</short>
</element>
<element name="MAP_SHARED">
<short><link id="FpMMap"/> map type: Share changes</short>
</element>
<element name="MAP_TYPE">
<short><link id="FpMMap"/> map type: Bitmask for type of mapping</short>
</element>
<element name="MAP_FIXED">
<short><link id="FpMMap"/> map type: Interpret addr exactly</short>
</element>
<element name="PROT_READ">
<short><link id="FpMMap"/> memory access: page can be read</short>
</element>
<element name="PROT_WRITE">
<short><link id="FpMMap"/> memory access: page can be written</short>
</element>
<element name="PROT_EXEC">
<short><link id="FpMMap"/> memory access: page can be executed</short>
</element>
<element name="PROT_NONE">
<short><link id="FpMMap"/> memory access: page can not be accessed</short>
</element>
<element name="utsname">
<short>Record used to return kernel information in <link id="fpUName"/> function.</short>
<descr>
The elements of this record are null-terminated C style strings, you cannot access them
directly. Note that the <var>Domain</var> field is a GNU extension, and may
not be available on all platforms.
</descr>
</element>
<element name="utsname.sysname">
<short>System name</short>
</element>
<element name="utsname.nodename">
<short>Computer name</short>
</element>
<element name="utsname.release">
<short>Release number</short>
</element>
<element name="utsname.version">
<short>Version number</short>
</element>
<element name="utsname.machine">
<short>Machine type</short>
</element>
<element name="utsname.domain">
<short>Domain name</short>
</element>
<element name="utsname.domainname">
<short>Domain name</short>
</element>
<!-- alias type Visibility: default -->
<element name="TUtsName">
<short>Alias for <link id="UtsName"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="PUtsName">
<short>Pointer to <link id="TUtsName"/> type.</short>
</element>
<element name="stat">
<short>Record describing an inode (file) in the <link id="FPFstat"/> call.</short>
</element>
<element name="stat.dev">
<short>Device number</short>
</element>
<element name="stat.pad1">
<short>Pad byte. Do not use</short>
</element>
<element name="stat.ino">
<short>Inode number of file</short>
</element>
<element name="stat.mode">
<short>File mode</short>
</element>
<element name="stat.nlink">
<short>Number of links to file.</short>
</element>
<element name="stat.uid">
<short>File owner UID</short>
</element>
<element name="stat.gid">
<short>File owner GID</short>
</element>
<element name="stat.rdev">
<short></short>
</element>
<element name="stat.pad2">
<short>Pad byte. Do not use</short>
</element>
<element name="stat.size">
<short>File size</short>
</element>
<element name="stat.blksize">
<short>Block size</short>
</element>
<element name="stat.blocks">
<short>Number of blocks used</short>
</element>
<element name="stat.atime">
<short>Last access time</short>
</element>
<element name="stat.unused1">
<short>Pad byte. Do not use</short>
</element>
<element name="stat.mtime">
<short>Last modification time.</short>
</element>
<element name="stat.unused2">
<short>Pad byte. Do not use</short>
</element>
<element name="stat.ctime">
<short>Creation time</short>
</element>
<element name="stat.unused3">
<short>Pad byte. Do not use</short>
</element>
<element name="stat.unused4">
<short>Pad byte. Do not use</short>
</element>
<element name="stat.unused5">
<short>Pad byte. Do not use</short>
</element>
<!-- alias type Visibility: default -->
<element name="TStat">
<short>Alias for <link id="Stat"/> type.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="PStat">
<short>Pointer to <link id="TStat"/> type.</short>
</element>
<element name="PDirEnt">
<short>Pointer to <link id="TDirent"/> record.</short>
</element>
<element name="Dirent">
<short>Record used in the <link id="fpReadDir"/> function to return files in a directory.</short>
</element>
<element name="Dirent.d_fileno">
<short>Inode number of file</short>
</element>
<element name="Dirent.d_off">
<short>Offset in directory.</short>
</element>
<element name="Dirent.d_reclen">
<short>Record length</short>
</element>
<element name="Dirent.d_name">
<short>Name of file</short>
</element>
<!-- alias type Visibility: default -->
<element name="TDirent">
<short>Alias for <link id="Dirent"/> type.</short>
</element>
<element name="PDir">
<short>Pointer to <link id="TDir"/> record</short>
</element>
<element name="Dir">
<short>Record used in <link id="fpOpenDir"/> and <link id="fpReadDir"/> calls </short>
</element>
<element name="Dir.dd_fd">
<short>File descriptor. Do not use.</short>
</element>
<element name="Dir.dd_loc">
<short>Location in directory listing</short>
</element>
<element name="Dir.dd_size">
<short>File size</short>
</element>
<element name="Dir.dd_buf">
<short>Pointer to <link id="Dir"/> records</short>
</element>
<element name="Dir.dd_nextoff">
<short>?</short>
</element>
<element name="Dir.dd_max">
<short>?</short>
</element>
<element name="Dir.dd_lock">
<short>?</short>
</element>
<!-- alias type Visibility: default -->
<element name="TDir">
<short>Alias for <link id="Dir"/> type.</short>
</element>
<element name="Utimbuf">
<short>Record used in <link id="fpUtime"/> to set file access and modificaton times.</short>
</element>
<element name="Utimbuf.actime">
<short>Access time</short>
</element>
<element name="Utimbuf.modtime">
<short>Modification time</short>
</element>
<!-- alias type Visibility: default -->
<element name="TUtimBuf">
<short>Alias for <link id="UtimBuf"/> type.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pUtimBuf">
<short>Pointer to <link id="TUTimBuf"/> type.</short>
</element>
<!-- record type Visibility: default -->
<element name="FLock">
<short>Lock description type for <link id="fpFCntl"/> lock call.</short>
</element>
<!-- variable Visibility: default -->
<element name="FLock.l_type">
<short>Type of lock.</short>
</element>
<!-- variable Visibility: default -->
<element name="FLock.l_whence">
<short>Where to measure start of lock from</short>
</element>
<!-- variable Visibility: default -->
<element name="FLock.l_start">
<short>Start of lock</short>
</element>
<!-- variable Visibility: default -->
<element name="FLock.l_len">
<short>Length of locked area</short>
</element>
<!-- variable Visibility: default -->
<element name="FLock.l_pid">
<short>Process ID of process holding the lock</short>
</element>
<!-- record type Visibility: default -->
<element name="tms">
<short>Record containing timings for <link id="fpTimes"/> call.</short>
</element>
<!-- variable Visibility: default -->
<element name="tms.tms_utime">
<short>User time.</short>
</element>
<!-- variable Visibility: default -->
<element name="tms.tms_stime">
<short>System time.</short>
</element>
<!-- variable Visibility: default -->
<element name="tms.tms_cutime">
<short>Children's user time.</short>
</element>
<!-- variable Visibility: default -->
<element name="tms.tms_cstime">
<short>Children's system time.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TTms">
<short>Alias for <link id="Tms"/> record type.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="PTms">
<short>Pointer to <link id="TTms"/> type.</short>
</element>
<!-- array type Visibility: default -->
<element name="TFDSet">
<short>File descriptor set for <link id="fpSelect"/> call.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pFDSet">
<short>Pointer to <link id="TFDSet"/> type.</short>
</element>
<element name="R_OK">
<short><link id="fpAccess"/> call test: read allowed </short>
</element>
<element name="W_OK">
<short><link id="fpAccess"/> call test: write allowed </short>
</element>
<element name="X_OK">
<short><link id="fpAccess"/> call test: execute allowed </short>
</element>
<element name="F_OK">
<short><link id="fpAccess"/> call test: file exists.</short>
</element>
<element name="Seek_set">
<short><link id="fpLSeek"/> option: Set absolute position.</short>
</element>
<!-- constant Visibility: default -->
<element name="Seek_Cur">
<short><link id="fpLSeek"/> option: Set position relative to current position.</short>
</element>
<!-- constant Visibility: default -->
<element name="Seek_End">
<short><link id="fpLSeek"/> option: Set position relative to end of file.</short>
</element>
<!-- constant Visibility: default -->
<element name="O_RdOnly">
<short><link id="fpOpen"/> file open mode: Read only</short>
</element>
<!-- constant Visibility: default -->
<element name="O_WrOnly">
<short><link id="fpOpen"/> file open mode: Write only</short>
</element>
<!-- constant Visibility: default -->
<element name="O_RdWr">
<short><link id="fpOpen"/> file open mode: Read/Write</short>
</element>
<!-- constant Visibility: default -->
<element name="O_Creat">
<short><link id="fpOpen"/> file open mode: Create if file does not yet exist.</short>
</element>
<!-- constant Visibility: default -->
<element name="O_Excl">
<short><link id="fpOpen"/> file open mode: Open exclusively</short>
</element>
<!-- constant Visibility: default -->
<element name="O_NoCtty">
<short><link id="fpOpen"/> file open mode: No TTY control.</short>
</element>
<!-- constant Visibility: default -->
<element name="O_Trunc">
<short><link id="fpOpen"/> file open mode: Truncate file to length 0</short>
</element>
<!-- constant Visibility: default -->
<element name="O_Append">
<short><link id="fpOpen"/> file open mode: Append to file</short>
</element>
<!-- constant Visibility: default -->
<element name="O_NonBlock">
<short><link id="fpOpen"/> file open mode: Open in non-blocking mode</short>
</element>
<!-- constant Visibility: default -->
<element name="O_NDelay">
<short><link id="fpOpen"/> file open mode: Alias for <link id="O_NonBlock"/></short>
</element>
<!-- constant Visibility: default -->
<element name="O_Sync">
<short><link id="fpOpen"/> file open mode: Write to disc at once</short>
</element>
<!-- constant Visibility: default -->
<element name="O_Direct">
<short><link id="fpOpen"/> file open mode: Minimize caching effects</short>
</element>
<!-- constant Visibility: default -->
<element name="O_LargeFile">
<short><link id="fpOpen"/> file open mode: Open for 64-bit I/O</short>
</element>
<!-- constant Visibility: default -->
<element name="O_Directory">
<short><link id="fpOpen"/> file open mode: File must be directory.</short>
</element>
<!-- constant Visibility: default -->
<element name="O_NoFollow">
<short><link id="fpOpen"/> file open mode: Fail if file is symbolic link.</short>
</element>
<element name="S_ISUID">
<short>Mode flag: Set user ID on execution.</short>
</element>
<element name="S_ISGID">
<short>Mode flag: Set Group ID on execution.</short>
</element>
<element name="S_ISVTX">
<short>Mode flag: Set sticky bit.</short>
</element>
<element name="S_IRUSR">
<short>Mode flag: Read by owner.</short>
</element>
<element name="S_IWUSR">
<short>Mode flag: Write by owner.</short>
</element>
<element name="S_IXUSR">
<short>Mode flag: Execute by owner.</short>
</element>
<element name="S_IRGRP">
<short>Mode flag: Read by group.</short>
</element>
<element name="S_IWGRP">
<short>Mode flag: Write by group.</short>
</element>
<element name="S_IXGRP">
<short>Mode flag: Execute by group.</short>
</element>
<element name="S_IROTH">
<short>Mode flag: Read by others.</short>
</element>
<element name="S_IWOTH">
<short>Mode flag: Write by others.</short>
</element>
<element name="S_IXOTH">
<short>Mode flag: Execute by others.</short>
</element>
<element name="S_IRWXO">
<short>Mode flag: Read, write, execute by others.</short>
</element>
<element name="S_IRWXG">
<short>Mode flag: Read, write, execute by groups.</short>
</element>
<element name="S_IRWXU">
<short>Mode flag: Read, write, execute by user.</short>
</element>
<!-- constant Visibility: default -->
<element name="WNOHANG">
<short><link id="#rtl.baseunix.fpWaitpid"/> option: Do not wait for processes to terminate.</short>
</element>
<!-- constant Visibility: default -->
<element name="WUNTRACED">
<short><link id="#rtl.baseunix.fpWaitpid"/> option: Also report children wich were stopped but not yet reported</short>
</element>
<element name="F_GetFd">
<short><link id="fpFCntl"/> command: Get close-on-exec flag</short>
</element>
<element name="F_SetFd">
<short><link id="fpFCntl"/> command: Set close-on-exec flag</short>
</element>
<element name="F_GetFl">
<short><link id="fpFCntl"/> command: Get filedescriptor flags</short>
</element>
<element name="F_SetFl">
<short><link id="fpFCntl"/> command: Set filedescriptor flags</short>
</element>
<element name="F_GetLk">
<short><link id="fpFCntl"/> command: Get lock</short>
</element>
<element name="F_SetLk">
<short><link id="fpFCntl"/> command: Set lock</short>
</element>
<element name="F_SetLkW">
<short><link id="fpFCntl"/> command: Test lock</short>
</element>
<element name="F_GetOwn">
<short><link id="fpFCntl"/> command: get owner of filedescriptor events</short>
</element>
<element name="F_SetOwn">
<short><link id="fpFCntl"/> command: Set owner of filedescriptor events</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_NOCLDSTOP">
<short>Sigaction options: Do not receive notification when child processes stop</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_NOCLDWAIT">
<short>Sigaction options: ?</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_SIGINFO">
<short>Sigaction options: The signal handler takes 3 arguments, not one.</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_SHIRQ">
<short>Sigaction options: ?</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_STACK">
<short>Sigaction options: Call the signal handler on an alternate signal stack.</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_RESTART">
<short>Sigaction options: Provide behaviour compatible with BSD signal semantics</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_INTERRUPT">
<short>Sigaction options: ?</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_NOMASK">
<short>Sigaction options: Do not prevent the signal from being received when it is handled.</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_NODEFER">
<short>Sigaction options: Do not mask signal in its own signal handler</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_RESETHAND">
<short>Sigaction options: Restore signal action to default state when signal handler exits.</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_ONESHOT">
<short>Sigaction options: Restore the signal action to the default state.</short>
</element>
<element name="SIG_BLOCK">
<short>Sigprocmask flags: Add signals to the set of blocked signals.</short>
</element>
<element name="SIG_UNBLOCK">
<short>Sigprocmask flags: Remove signals from the set set of blocked signals.</short>
</element>
<element name="SIG_SETMASK">
<short>Sigprocmask flags: Set of blocked signals is given.</short>
</element>
<element name="SIG_DFL">
<short>Signal handler: Default signal handler</short>
</element>
<element name="SIG_IGN">
<short>Signal handler: Ignore signal</short>
</element>
<element name="SIG_ERR">
<short>Signal handler: error</short>
</element>
<element name="SIGHUP">
<short>Signal: HUP (Hangup)</short>
</element>
<element name="SIGINT">
<short>Signal: INT (Interrupt)</short>
</element>
<element name="SIGQUIT">
<short>Signal: QUIT</short>
</element>
<element name="SIGILL">
<short>Signal: ILL (Illegal instruction)</short>
</element>
<element name="SIGTRAP">
<short>Signal: TRAP (Trace trap)</short>
</element>
<element name="SIGABRT">
<short>Signal: ABRT (Abort)</short>
</element>
<element name="SIGIOT">
<short>Signal: IOT (IOT trap)</short>
</element>
<element name="SIGBUS">
<short>Signal: BUS (bus error)</short>
</element>
<element name="SIGFPE">
<short>Signal: FPE (Floating point error)</short>
</element>
<element name="SIGKILL">
<short>Signal: KILL (unblockable)</short>
</element>
<element name="SIGUSR1">
<short>Signal: USR1 (User-defined signal 1)</short>
</element>
<element name="SIGSEGV">
<short>Signal: SEGV (Segmentation violation)</short>
</element>
<element name="SIGUSR2">
<short>Signal: USR2 (User-defined signal 2)</short>
</element>
<element name="SIGPIPE">
<short>Signal: PIPE (Broken pipe</short>
</element>
<element name="SIGALRM">
<short>Signal: ALRM (Alarm clock)</short>
</element>
<element name="SIGTERM">
<short>Signal: TERM (Terminate)</short>
</element>
<element name="SIGSTKFLT">
<short>Signal: STKFLT (Stack Fault)</short>
</element>
<element name="SIGCHLD">
<short>Signal: CHLD (child status changed)</short>
</element>
<element name="SIGCONT">
<short>Signal: CONT (Continue)</short>
</element>
<element name="SIGSTOP">
<short>Signal: STOP (Stop, unblockable)</short>
</element>
<element name="SIGTSTP">
<short>Signal: TSTP (keyboard stop)</short>
</element>
<element name="SIGTTIN">
<short>Signal: TTIN (Terminal input, background)</short>
</element>
<element name="SIGTTOU">
<short>Signal: TTOU (Terminal output, background)</short>
</element>
<element name="SIGURG">
<short>Signal: URG (Socket urgent condition)</short>
</element>
<element name="SIGXCPU">
<short>Signal: XCPU (CPU limit exceeded)</short>
</element>
<element name="SIGXFSZ">
<short>Signal: XFSZ (File size limit exceeded)</short>
</element>
<element name="SIGVTALRM">
<short>Signal: VTALRM (Virtual alarm clock)</short>
</element>
<element name="SIGPROF">
<short>Signal: PROF (Profiling alarm)</short>
</element>
<element name="SIGWINCH">
<short>Signal: WINCH (Window/Terminal size change)</short>
</element>
<element name="SIGIO">
<short>Signal: IO (I/O operation possible)</short>
</element>
<element name="SIGPOLL">
<short>Signal: POLL (Pollable event) </short>
</element>
<element name="SIGPWR">
<short>Signal: PWR (power failure restart)</short>
</element>
<element name="SIGUNUSED">
<short>Signal: Unused</short>
</element>
<!-- constant Visibility: default -->
<element name="SI_PAD_SIZE">
<short>Signal information pad size.</short>
</element>
<element name="tfpreg">
<short>Record describing floating point register in signal handler.</short>
</element>
<element name="tfpreg.significand">
<short>Decimal part of floating point value</short>
</element>
<element name="tfpreg.exponent">
<short>Exponent of floating point value</short>
</element>
<element name="pfpstate">
<short>Pointer to <link id="tfpstate"/> record.</short>
</element>
<element name="tfpstate">
<short>Record describing floating point unit in signal handler.</short>
</element>
<element name="tfpstate.cw">
<short></short>
</element>
<element name="tfpstate.sw">
<short></short>
</element>
<element name="tfpstate.tag">
<short></short>
</element>
<element name="tfpstate.ipoff">
<short></short>
</element>
<element name="tfpstate.cssel">
<short></short>
</element>
<element name="tfpstate.dataoff">
<short></short>
</element>
<element name="tfpstate.datasel">
<short></short>
</element>
<element name="tfpstate.st">
<short></short>
</element>
<element name="tfpstate.status">
<short></short>
</element>
<!-- array type Visibility: default -->
<!-- alias type Visibility: default -->
<element name="SigSet">
<short>Signal set type</short>
</element>
<!-- alias type Visibility: default -->
<element name="sigset_t">
<short>Signal set type</short>
</element>
<!-- pointer type Visibility: default -->
<element name="PSigSet">
<short>Pointer to <link id="SigSet"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="psigset_t">
<short>Pointer to <link id="sigset_t"/> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="TSigSet">
<short>Alias for <link id="SigSet"/> type.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="PSigInfoRec">
<short>Pointer to <link id="SigInfoRec"/> record type.</short>
</element>
<!-- record type Visibility: default -->
<element name="SigInfoRec">
<short>Record containing signal information.</short>
</element>
<!-- variable Visibility: default -->
<element name="SigInfoRec.si_signo">
<short>Signal number.</short>
</element>
<!-- variable Visibility: default -->
<element name="SigInfoRec.si_errno">
<short>?</short>
</element>
<!-- variable Visibility: default -->
<element name="SigInfoRec.si_code">
<short>?</short>
</element>
<!-- procedure type Visibility: default -->
<element name="SignalHandler">
<short>Simple signal handler prototype</short>
</element>
<!-- pointer type Visibility: default -->
<element name="PSignalHandler">
<short>Pointer to <link id="SignalHandler"/> type.</short>
</element>
<element name="SignalRestorer">
<short>Signal restorer function prototype</short>
</element>
<element name="PSignalrestorer">
<short>Pointer to <link id="SignalRestorer"/> type</short>
</element>
<!-- procedure type Visibility: default -->
<element name="TSigAction">
<short>Extended signal handler prototype.</short>
</element>
<!-- record type Visibility: default -->
<element name="SigActionRec">
<short>Record used in <link id="fpSigAction"/> call.</short>
</element>
<element name="SigActionRec.sa_handler">
<short>Funcion called when signal is triggered.</short>
</element>
<element name="SigActionRec.Sa_Mask">
<short>Signal mask.</short>
</element>
<element name="SigActionRec.SA_FLAGS">
<short>Flags for SigAction</short>
</element>
<element name="SigActionRec.SA_RESTORER">
<short>Obsolete, don't use</short>
</element>
<!-- alias type Visibility: default -->
<element name="TSigActionRec">
<short>Alias for <link id="SigActionRec"/> record type.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="PSigActionRec">
<short>Pointer to <link id="SigActionRec"/> record type.</short>
</element>
<!-- array type Visibility: default -->
<element name="TGrpArr">
<short>Array of <link id="gid_t"/> IDs</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pGrpArr">
<short>Pointer to <link id="TGrpArr"/> array.</short>
</element>
<!-- array type Visibility: default -->
<element name="TFilDes">
<short>Array of file descriptors as used in <link id="fpPipe"/> call.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pFilDes">
<short>Pointer to <link id="TFilDes"/> type.</short>
</element>
<!-- function Visibility: default -->
<element name="FpSigProcMask">
<short>Set list of blocked signals</short>
<descr>
<p>
Changes the list of currently blocked signals. The behaviour of the call
depends on <var>How</var> :
</p>
<dl>
<dt>SIG_BLOCK</dt>
<dd>The set of blocked signals is the union of the current set
and the <var>nset</var> argument.</dd>
<dt>SIG_UNBLOCK</dt>
<dd>The signals in <var>nset</var> are removed from the set of
currently blocked signals.</dd>
<dt>SIG_SETMASK</dt>
<dd>The list of blocked signals is set so <var>nset</var>.
</dd>
</dl>
<p>
If <var>oset</var> is non-nil, then the old set is stored in it.
</p>
</descr>
<errors>
<p>
<var>Errno</var> is used to report errors.
</p>
<dl>
<dt>sys_efault</dt>
<dd><var>oset</var> or <var>nset</var> point to an adress outside
the range of the process.</dd>
<dt>sys_eintr</dt>
<dd> System call was interrupted.</dd>
</dl>
</errors>
<seealso>
<link id="fpSigAction"/>
<link id="fpSigPending"/>
<link id="fpSigSuspend"/>
<link id="fpKill"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpSigPending">
<short>Return set of currently pending signals</short>
<descr>
<var>fpSigpending</var> allows the examination of pending signals (which have been raised
while blocked.) The signal mask of pending signals is returned.
</descr>
<errors>
None
</errors>
<seealso>
<link id="fpSigAction"/>
<link id="fpSigProcMask"/>
<link id="fpSigSuspend"/>
<link id="fpSignal"/>
<link id="fpKill"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpSigSuspend">
<short>Set signal mask and suspend process till signal is received</short>
<descr>
<var>fpSigSuspend</var> temporarily replaces the signal mask for the process with the one
given in <var>SigMask</var>, and then suspends the process until a signal is received.
</descr>
<errors>
None
</errors>
<seealso>
<link id="fpSigAction"/>
<link id="fpSigProcMask"/>
<link id="fpSigPending"/>
<link id="fpSignal"/>
<link id="fpKill"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpUmask">
<short>Set file creation mask.</short>
<descr>
<var>fpUmask</var> changes the file creation mask for the current user to
<var>cmask</var>. The current mask is returned.
</descr>
<seealso>
<link id="fpChmod"/>
</seealso>
<example file="bunixex/ex27"/>
</element>
<!-- function Visibility: default -->
<element name="FpLink">
<short>Create a hard link to a file</short>
<descr>
<var>fpLink</var> makes <var>NewOne</var> point to the same file als
<var>Existing</var>. The two files
then have the same inode number. This is known as a 'hard' link.
The function returns <var>zero</var> if the call was succesfull, and returns
a <var>non-zero</var> value if the call failed.
</descr>
<errors>
<p>
The following error codes are returned:
</p>
<dl>
<dt>sys_exdev</dt>
<dd> <var>Existing</var> and <var>NewOne</var> are not on the same filesystem.</dd>
<dt>sys_eperm</dt><dd> The filesystem containing <var>Existing</var> and
<var>NewOne</var> doesn't support linking files.</dd>
<dt>sys_eaccess</dt>
<dd>Write access for the directory containing <var>NewOne</var>
is disallowed, or one of the directories in <var>Existing</var> or <var>NewOne</var> has no
search (=execute) permission.</dd>
<dt>sys_enoent</dt>
<dd>A directory entry in <var>Existing</var> or <var>NewOne</var> does
not exist or is a symbolic link pointing to a non-existent directory.</dd>
<dt>sys_enotdir</dt>
<dd> A directory entry in <var>Existing</var> or <var>NewOne</var> is
nor a directory.</dd>
<dt>sys_enomem</dt><dd> Insufficient kernel memory.</dd>
<dt>sys_erofs</dt><dd> The files are on a read-only filesystem.</dd>
<dt>sys_eexist</dt><dd> <var>NewOne</var> already exists.</dd>
<dt>sys_emlink</dt><dd> <var>Existing</var> has reached maximal link count.</dd>
<dt>sys_eloop</dt>
<dd><var>existing</var> or <var>NewOne</var> has a reference to a circular
symbolic link, i.e. a symbolic link, whose expansion points to itself.</dd>
<dt>sys_enospc</dt>
<dd> The device containing <var>NewOne</var> has no room for another
entry.</dd>
<dt>sys_eperm</dt>
<dd><var>Existing</var> points to . or .. of a directory.</dd>
</dl>
</errors>
<seealso>
<link id="fpSymLink"/>
<link id="fpUnLink"/>
</seealso>
<example file="bunixex/ex21"/>
</element>
<!-- function Visibility: default -->
<element name="FpMkfifo">
<short>Create FIFO (named pipe) in file system</short>
<descr>
<p>
<var>fpMkFifo</var> creates named a named pipe in the filesystem, with name
<var>Path</var> and mode <var>Mode</var>.
</p>
<p>
The function returns zero if the command was succesful, and nonzero if it
failed.
</p>
</descr>
<errors>
<p>
The error codes include:
</p>
<dl>
<dt>sys_emfile</dt><dd> Too many file descriptors for this process.</dd>
<dt>sys_enfile</dt><dd> The system file table is full.</dd>
</dl>
</errors>
</element>
<!-- function Visibility: default -->
<element name="FpChmod">
<short>Change file permission bits</short>
<descr>
<p>
<var>fpChmod</var>
sets the Mode bits of the file in <var>Path</var> to <var>Mode</var>.
<var>Mode</var> can be specified by 'or'-ing the following values:
</p>
<dl>
<dt>S_ISUID</dt><dd> Set user ID on execution.</dd>
<dt>S_ISGID</dt><dd> Set Group ID on execution.</dd>
<dt>S_ISVTX</dt><dd> Set sticky bit.</dd>
<dt>S_IRUSR</dt><dd> Read by owner.</dd>
<dt>S_IWUSR</dt><dd> Write by owner.</dd>
<dt>S_IXUSR</dt><dd> Execute by owner.</dd>
<dt>S_IRGRP</dt><dd> Read by group.</dd>
<dt>S_IWGRP</dt><dd> Write by group.</dd>
<dt>S_IXGRP</dt><dd> Execute by group.</dd>
<dt>S_IROTH</dt><dd> Read by others.</dd>
<dt>S_IWOTH</dt><dd> Write by others.</dd>
<dt>S_IXOTH</dt><dd> Execute by others.</dd>
<dt>S_IRWXO</dt><dd> Read, write, execute by others.</dd>
<dt>S_IRWXG</dt><dd> Read, write, execute by groups.</dd>
<dt>S_IRWXU</dt><dd> Read, write, execute by user.</dd>
</dl>
<p>
If the function is successful, zero is returned. A nonzero return value
indicates an error.
</p>
</descr>
<errors>
<p>
The following error codes are returned:
</p>
<dl>
<dt>sys_eperm</dt>
<dd> The effective UID doesn't match the ownership of the file,
and is not zero. Owner or group were not specified correctly.</dd>
<dt>sys_eaccess</dt>
<dd> One of the directories in <var>Path</var> has no
search (=execute) permission.</dd>
<dt>sys_enoent</dt>
<dd> A directory entry in <var>Path</var> does
not exist or is a symbolic link pointing to a non-existent directory.</dd>
<dt>sys_enomem</dt>
<dd> Insufficient kernel memory.</dd>
<dt>sys_erofs</dt>
<dd> The file is on a read-only filesystem.</dd>
<dt>sys_eloop</dt>
<dd> <var>Path</var> has a reference to a circular
symbolic link, i.e. a symbolic link, whose expansion points to itself.</dd>
</dl>
</errors>
<seealso>
<link id="fpChown"/>
<link id="fpAccess"/>
</seealso>
<example file="bunixex/ex23"/>
</element>
<!-- function Visibility: default -->
<element name="FpChown">
<short>Change owner of file</short>
<descr>
<p>
<var>fpChown</var> sets the User ID and Group ID of the file in <var>Path</var> to
<var>Owner</var>,<var>Group</var>.
</p>
<p>
The function returns zero if the call was succesfull, a nonzero return value
indicates an error.
</p>
</descr>
<errors>
<p>
The following error codes are returned:
</p>
<dl>
<dt>sys_eperm</dt>
<dd> The effective UID doesn't match the ownership of the file,
and is not zero. Owner or group were not specified correctly.</dd>
<dt>sys_eaccess</dt>
<dd> One of the directories in <var>Path</var> has no
search (=execute) permission.</dd>
<dt>sys_enoent</dt>
<dd> A directory entry in <var>Path</var> does
not exist or is a symbolic link pointing to a non-existent directory.</dd>
<dt>sys_enomem</dt>
<dd> Insufficient kernel memory.</dd>
<dt>sys_erofs</dt>
<dd> The file is on a read-only filesystem.</dd>
<dt>sys_eloop</dt>
<dd> <var>Path</var> has a reference to a circular
symbolic link, i.e. a symbolic link, whose expansion points to itself.</dd>
</dl>
</errors>
<seealso>
<link id="fpChmod"/>
<link id="fpAccess"/>
</seealso>
<example file="bunixex/ex24"/>
</element>
<!-- function Visibility: default -->
<element name="FpUtime">
<short>Set access and modification times of a file (touch).</short>
<descr>
<var>FpUtime</var> sets the access and modification times of a file.
the <var>times</var> record contains 2 fields, <var>actime</var>, and <var>modtime</var>,
both of type Longint. They should be filled with an epoch-like time,
specifying, respectively, the last access time, and the last modification
time.
For some filesystem (most notably, FAT), these times are the same.
</descr>
<errors>
<p>
Errors are returned in <link id="fpErrNo"/>
</p>
<dl>
<dt>sys_eaccess</dt>
<dd> One of the directories in <var>Path</var> has no
search (=execute) permission.</dd>
<dt>sys_enoent</dt>
<dd> A directory entry in <var>Path</var> does
not exist or is a symbolic link pointing to a non-existent directory.
</dd>
</dl>
<p>
Other errors may occur, but aren't documented.
</p>
</errors>
<seealso>
<link id="fpChown"/>
<link id="fpAccess"/>
</seealso>
<example file="bunixex/ex25"/>
</element>
<!-- function Visibility: default -->
<element name="FpPipe">
<short>Create a set of pipe file handlers</short>
<descr>
<p>
<var>FpPipe</var> creates a pipe, i.e. two file objects, one for input,
one for output. The filehandles are returned in the array <var>fildes</var>.
The input handle is in the 0-th element of the array, the output handle is
in the 1-st element.
</p>
<p>
The function returns zero if everything went succesfully,
a nonzero return value indicates an error.
</p>
</descr>
<errors>
<p>
In case the function fails, the following return values are possible:
</p>
<dl>
<dt>sys_emfile</dt>
<dd> Too many file descriptors for this process.</dd>
<dt>sys_enfile</dt>
<dd> The system file table is full.</dd>
</dl>
</errors>
<seealso>
<link id="#rtl.unix.POpen"/>
<link id="fpMkFifo"/>
</seealso>
<example file="bunixex/ex36"/>
</element>
<!-- function Visibility: default -->
<element name="FpDup">
<short>Duplicate a file handle</short>
<descr>
<p>
<var>FpDup</var> returns a file descriptor that is a duplicate of the file
descriptor <var>fildes</var>.
</p>
<p>The second and third forms make <var>NewFile</var> an exact copy of <var>OldFile</var>,
after having flushed the buffer of <var>OldFile</var> in case it is a Text file
or untyped file.
Due to the buffering mechanism of Pascal, these calls do not have the same functionality
as the <var>dup</var> call in C. The internal Pascal buffers are not the same
after this call, but when the buffers are flushed (e.g. after output),
the output is sent to the same file.
Doing an lseek will, however, work as in C, i.e. doing a lseek will change
the fileposition in both files.
</p>
<p>
The function returns a negative value in case of an error, a positive value
is a file handle, and indicates succes.
</p>
</descr>
<errors>
<p>
A negative value can be one of the following error codes:
</p>
<dl>
<dt>sys_ebadf</dt><dd> <var>OldFile</var> hasn't been assigned.</dd>
<dt>sys_emfile</dt><dd> Maximum number of open files for the process is reached.</dd>
</dl>
</errors>
<seealso>
<link id="fpDup2"/>
</seealso>
<example file="bunixex/ex31"/>
</element>
<!-- function Visibility: default -->
<element name="FpDup2">
<short>Duplicate one filehandle to another</short>
<descr>
<p>
Makes <var>fildes2</var> or <var>NewFile</var> an exact copy of
<var>fildes</var> or <var>OldFile</var>, after having flushed the
buffer of <var>OldFile</var> in the case of text or untyped files.
</p>
<p>
After a call to fdup2, the 2 file descriptors point to the same physical
device (a file, socket, or a terminal).
</p>
<p>
<var>NewFile</var> can be an assigned file. If <var>newfile</var> or
<var>fildes</var> was open, it is closed first.
Due to the buffering mechanism of Pascal, this has not the same functionality
as the <var>dup2</var> call in C. The internal Pascal buffers are not the same
after this call, but when the buffers are flushed (e.g. after output), the output
is sent to the same file. Doing an lseek will, however, work as in C, i.e. doing
a lseek will change the fileposition in both files.
</p>
<p>
The function returns zero if succesful, a nonzero return value means the
call failed.
</p>
</descr>
<errors>
<p>
In case of error, the following error codes can be reported:
</p>
<dl>
<dt>sys_ebadf</dt><dd> <var>OldFile</var> (or <var>fildes</var>) hasn't been assigned.</dd>
<dt>sys_emfile</dt><dd> Maximum number of open files for the process is reached.</dd>
</dl>
</errors>
<seealso>
<link id="fpDup"/>
</seealso>
<example file="bunixex/ex32"/>
</element>
<!-- function Visibility: default -->
<element name="FpTimes">
<short>Return execution times for the current process</short>
<descr>
<p>
<var>fpTimes</var> stores the execution time of the current process and
child processes in <var>buffer</var>.
</p>
<p>
The return value (on linux) is the number of clock ticks since boot time. On
error, -1 is returned, and extended error information can be retrieved with
<link id="fpGetErrno"/>.
</p>
</descr>
<seealso>
<link id="fpUTime"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpAlarm">
<short>Schedule an alarm signal to be delivered</short>
<descr>
<p>
<var>FpAlarm</var> schedules an alarm signal to be delivered to your process in
<var>Seconds</var> seconds. When <var>Seconds</var> seconds have elapsed,
the system will send a <var>SIGALRM</var> signal to the current process.
If <var>Seconds</var> is zero, then no new alarm will
be set. Whatever the value of <var>Seconds</var>, any previous alarm is cancelled.
</p>
<p>
The function returns the number of seconds till the previously scheduled
alarm was due to be delivered, or zero if there was none. A negative value
indicates an error.
</p>
</descr>
<seealso>
<link id="fpSigAction"/>
<link id="fpPause"/>
</seealso>
<example file="bunixex/ex59"/>
</element>
<!-- function Visibility: default -->
<element name="FpPause">
<short>Wait for a signal to arrive</short>
<descr>
<p>
<var>FpPause</var> puts the process to sleep and waits until the application
receives a signal. If a signal handler is installed for the received
sigal, the handler will be called and after that pause will return
control to the process.
</p>
<p>
For an example, see <link id="fpAlarm"/>.
</p>
</descr>
<link id="FpAlarm"/>
<link id="FpSigAction"/>
</element>
<!-- function Visibility: default -->
<element name="FpSleep">
<short>Suspend process for several seconds</short>
<descr>
<p>
<var>FpSleep</var> suspends the process till a time period as specified
in <var>seconds</var> has passed, then the function returns. If the
call was interrupted (e.g. by some signal) then the function may
return earlier, and the return value is the remaining time till the
end of the intended period.
</p>
<p>
If the function returns without error, the return value is zero.
</p>
</descr>
<seealso>
<link id="fpPause"/>
<link id="fpAlarm"/>
<link id="fpNanoSleep"/>
</seealso>
<example file="bunixex/ex73"/>
</element>
<!-- function Visibility: default -->
<element name="FpGetpid">
<short>Return current process ID</short>
<descr>
<p>
<var>FpGetpid</var> returns the process ID of the currently running process.
</p><p>
Note: There exist a portable alterative to fpGetpid: system.GetProcessID. Please use fpGetpid only if
you are writing Unix specific code. System.GetProcessID will work on all operating systems.
</p>
</descr>
<errors>
None.
</errors>
<seealso>
<link id="FpGetPPid"/>
</seealso>
<example file="bunixex/ex16"/>
</element>
<!-- function Visibility: default -->
<element name="FpGetppid">
<short>Return parent process ID</short>
<descr>
<var>FpGetppid</var> returns the Process ID of the parent process.
</descr>
<errors>
None.
</errors>
<seealso>
<link id="FpGetPid"/>
</seealso>
<example file="bunixex/ex16"/>
</element>
<!-- function Visibility: default -->
<element name="FpGetuid">
<short>Return current user ID</short>
<descr>
<var>FpGetuid</var> returns the real user ID of the currently running process.
</descr>
<errors>
None.
</errors>
<seealso>
<link id="FpGetGid"/>
<link id="FpGetEUid"/>
<link id="FpGetEGid"/>
<link id="FpGetPid"/>
<link id="FpGetPPid"/>
<link id="fpSetUID"/>
</seealso>
<example file="bunixex/ex17"/>
</element>
<!-- function Visibility: default -->
<element name="FpGeteuid">
<short>Return effective user ID</short>
<descr>
<var>FpGeteuid</var> returns the effective user ID of the currently running process.
</descr>
<errors>
None.
</errors>
<seealso>
<link id="FpGetUid"/>
<link id="FpGetGid"/>
<link id="FpGetEGid"/>
<link id="FpGetPid"/>
<link id="FpGetPPid"/>
<link id="fpSetUID"/>
<link id="FpSetGid"/>
</seealso>
<example file="bunixex/ex17"/>
</element>
<!-- function Visibility: default -->
<element name="FpGetgid">
<short>Return real group ID</short>
<descr>
<var>FpGetgid</var> returns the real group ID of the currently running process.
</descr>
<errors>
None.
</errors>
<seealso>
<link id="FpGetEGid"/>
<link id="FpGetUid"/>
<link id="FpGetEUid"/>
<link id="FpGetPid"/>
<link id="FpGetPPid"/>
<link id="fpSetUID"/>
<link id="FpSetGid"/>
</seealso>
<example file="bunixex/ex18"/>
</element>
<!-- function Visibility: default -->
<element name="FpGetegid">
<short>Return effective group ID</short>
<descr>
<var>FpGetegid</var> returns the effective group ID of the currently running process.
</descr>
<errors>
None.
</errors>
<seealso>
<link id="FpGetGid"/>
<link id="FpGetUid"/>
<link id="FpGetEUid"/>
<link id="FpGetPid"/>
<link id="FpGetPPid"/>
<link id="fpSetUID"/>
<link id="FpSetGid"/>
</seealso>
<example file="bunixex/ex18"/>
</element>
<!-- function Visibility: default -->
<element name="FpSetuid">
<short>Set the current user ID</short>
<descr>
<p>
<var>fpSetUID</var> sets the user ID of the current process. This call will
only work if it is executed as root, or the program is setuid root.
</p>
<p>
On success, zero is returned, on error -1 is returned.
</p>
</descr>
<errors>
Extended error information can be retrieved with <link id="fpGetErrNo"/>.
</errors>
<seealso>
<link id="FpGetGid"/>
<link id="FpGetUid"/>
<link id="FpGetEUid"/>
<link id="FpGetEGid"/>
<link id="FpGetPid"/>
<link id="FpGetPPid"/>
<link id="FpSetGid"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpSetgid">
<short>Set the current group ID</short>
<descr>
<p>
<var>fpSetUID</var> sets the group ID of the current process. This call will
only work if it is executed as root, or the program is setgid root.
</p>
<p>
On success, zero is returned, on error -1 is returned.
</p>
</descr>
<errors>
Extended error information can be retrieved with <link id="fpGetErrNo"/>.
</errors>
<seealso>
<link id="FpSetUid"/>
<link id="FpGetGid"/>
<link id="FpGetUid"/>
<link id="FpGetEUid"/>
<link id="FpGetEGid"/>
<link id="FpGetPid"/>
<link id="FpGetPPid"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpGetgroups">
<short>Get the list of supplementary groups.</short>
<descr>
<p>
<var>FpGetgroups</var> returns up to <var>gidsetsize</var> groups in
<var>GroupList</var>
</p>
<p>
If the function is successful, then number of groups that were stored is
returned. On error, -1 is returned.
</p>
</descr>
<errors>
On error, -1 is returned. Extended error information can be retrieved with
<link id="fpGetErrNo"/>
</errors>
<seealso>
<link id="FpGetpgrp"/>
<link id="FpGetGID"/>
<link id="FpGetEGID"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpGetpgrp">
<short>Get process group ID</short>
<descr>
<var>FpGetpgrp</var> returns the process group ID of the current process.
</descr>
<errors>
None.
</errors>
<seealso>
<link id="fpGetPID"/>
<link id="fpGetPPID"/>
<link id="FpGetGID"/>
<link id="FpGetUID"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpSetsid">
<short>Create a new session.</short>
<descr>
<var>FpSetsid</var> creates a new session (process group). It returns the
new process group id (as returned by <link id="FpGetpgrp"/>. This call will
fail if the current process is already the process group leader.
</descr>
<errors>
On error, -1 is returned. Extended error information can be retrieved with
<link id="fpGetErrNo"/>
</errors>
<seealso>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpFcntl">
<short>File control operations.</short>
<descr>
<p>
Read/set a file's attributes. <var>Fildes</var> a valid file descriptor.
<var>Cmd</var> speciefies what to do, and is one of the following:
</p>
<dl>
<dt>F_GetFd</dt>
<dd>Read the close_on_exec flag. If the low-order bit is 0, then
the file will remain open across execve calls.</dd>
<dt>F_GetFl</dt><dd>Read the descriptor's flags.</dd>
<dt>F_GetOwn</dt><dd>Get the Process ID of the owner of a socket.</dd>
<dt>F_SetFd</dt>
<dd>Set the close_on_exec flag of <var>fildes</var>. (only the least
siginificant bit is used).
</dd>
<dt>F_GetLk</dt>
<dd>Return the <var>flock</var> record that prevents this process from
obtaining the lock, or set the <var>l_type</var> field of the lock of there is no
obstruction. <var>Arg</var> is the flock record.
</dd>
<dt>F_SetLk</dt>
<dd> Set the lock or clear it (depending on <var>l_type</var> in the
<var>flock</var> structure). if the lock is held by another process, an error
occurs.
</dd>
<dt>F_GetLkw</dt>
<dd> Same as for <b>F_Setlk</b>, but wait until the lock is
released.
</dd>
<dt>F_SetOwn</dt>
<dd> Set the Process or process group that owns a socket.
</dd>
</dl>
<p>
The function returns 0 if successful, -1 otherwise.
</p>
</descr>
<errors>
<p>
On error, -1 is returned. Use <link id="fpGetErrno"/> for extended error information.
</p>
<dl>
<dt>sys_ebadf</dt><dd> <var>Fd</var> has a bad file descriptor.</dd>
<dt>sys_eagain or sys_eaccess</dt><dd> For \textbf{F_SetLk}, if the lock is
held by another process.</dd>
</dl>
</errors>
</element>
<!-- function Visibility: default -->
<element name="FpGetcwd">
<short>Retrieve the current working directory.</short>
<descr>
<p>
<var>fpgetCWD</var> returns the current working directory of the running
process. It is returned in <var>Path</var>, which points to a memory
location of at least <var>siz</var> bytes.
</p>
<p>
If the function is succesful, a pointer to <var>Path</var> is returned, or a
string with the result. On error <var>Nil</var> or an empty string are
returned.
</p>
</descr>
<errors>
On error <var>Nil</var> or an empty string are returned.
</errors>
<seealso>
<link id="FpGetPID"/>
<link id="FpGetUID"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpFork">
<short>Create child process</short>
<descr>
<var>FpFork</var> creates a child process which is a copy of the parent process.
<var>FpFork</var> returns the process ID in the parent process, and zero in the child's
process. (you can get the parent's PID with <link id="fpGetPPid"/>).
</descr>
<errors>
<p>
On error, -1 is returned to the parent, and no child is created.
</p>
<dl>
<dt>sys_eagain</dt><dd> Not enough memory to create child process.
</dd>
</dl>
</errors>
<seealso>
<link id="fpExecve"/>
<link id="#rtl.linux.Clone"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpExecve">
<short>Execute process using environment</short>
<descr>
Replaces the currently running program with the program, specified in
<var>path</var>.
It gives the program the options in <var>argv</var>, and the environment in
<var>envp</var>. They are pointers to an array of pointers to null-terminated
strings. The last pointer in this array should be <var>nil</var>.
On success, <var>execve</var> does not return.
</descr>
<errors>
<p>
Extended error information can be retrieved with <link id="fpGetErrno"/>,
and includes the following:
</p>
<dl>
<dt>sys_eacces</dt>
<dd> File is not a regular file, or has no execute permission.
A compononent of the path has no search permission.</dd>
<dt>sys_eperm</dt><dd> The file system is mounted \textit{noexec}.</dd>
<dt>sys_e2big</dt><dd> Argument list too big.</dd>
<dt>sys_enoexec</dt><dd> The magic number in the file is incorrect.</dd>
<dt>sys_enoent</dt><dd> The file does not exist.</dd>
<dt>sys_enomem</dt><dd> Not enough memory for kernel.</dd>
<dt>sys_enotdir</dt><dd> A component of the path is not a directory.</dd>
<dt>sys_eloop</dt><dd> The path contains a circular reference (via symlinks).</dd>
</dl>
</errors>
<seealso>
<link id="fpExecv"/>
<link id="fpFork"/>
</seealso>
<example file="bunixex/ex7"/>
</element>
<!-- function Visibility: default -->
<element name="FpExecv">
<short>Execute process</short>
<descr>
Replaces the currently running program with the program, specified in
<var>path</var>.
It gives the program the options in <var>argvp</var>.
This is a pointer to an array of pointers to null-terminated
strings. The last pointer in this array should be nil.
The current environment is passed to the program.
On success, <var>execv</var> does not return.
</descr>
<errors>
<p>
Errors are reported in <link id="fpErrno"/>:
</p>
<dl>
<dt>sys_eacces</dt>
<dd> File is not a regular file, or has no execute permission.
A compononent of the path has no search permission.</dd>
<dt>sys_eperm</dt><dd> The file system is mounted \textit{noexec}.</dd>
<dt>sys_e2big</dt><dd> Argument list too big.</dd>
<dt>sys_enoexec</dt><dd> The magic number in the file is incorrect.</dd>
<dt>sys_enoent</dt><dd> The file does not exist.</dd>
<dt>sys_enomem</dt><dd> Not enough memory for kernel.</dd>
<dt>sys_enotdir</dt><dd> A component of the path is not a directory.</dd>
<dt>sys_eloop</dt><dd> The path contains a circular reference (via symlinks).</dd>
</dl>
</errors>
<seealso>
<link id="fpExecve"/>
<link id="fpFork"/>
</seealso>
<example file="bunixex/ex8"/>
</element>
<!-- function Visibility: default -->
<element name="FpWaitpid">
<short>Wait for a process to terminate</short>
<descr>
<p>
<var>fpWaitPid</var> waits for a child process with process ID <var>Pid</var> to exit. The
value of <var>Pid</var> can be one of the following:
</p>
<dl>
<dt>Pid < -1</dt>
<dd> Causes <var>fpWaitPid</var> to wait for any child process whose
process group ID equals the absolute value of <var>pid</var>.</dd>
<dt>Pid = -1</dt>
<dd>Causes <var>fpWaitPid</var> to wait for any child process.</dd>
<dt>Pid = 0</dt>
<dd>Causes <var>fpWaitPid</var> to wait for any child process whose
process group ID equals the one of the calling process.</dd>
<dt>Pid > 0</dt>
<dd> Causes <var>fpWaitPid</var> to wait for the child whose process ID
equals the value of <var>Pid</var>.</dd>
</dl>
<p>
The <var>Options</var> parameter can be used to specify further how <var>fpWaitPid</var>
behaves:
</p>
<dl>
<dt>WNOHANG</dt>
<dd> Causes <var>fpWaitpid</var> to return immediately if no child hasexited.</dd>
<dt>WUNTRACED</dt>
<dd> Causes <var>fpWaitPid</var> to return also for children which are
stopped, but whose status has not yet been reported.</dd>
<dt>__WCLONE</dt>
<dd> Causes <var>fpWaitPid</var> also to wait for threads created by
the <link id="#rtl.linux.Clone"/> call.</dd>
</dl>
<p>
The exit status of the process that caused <var>fpWaitPID</var> is reported
in <var>stat_loc</var> or <var>Status</var>.
</p>
<p>
Upon return, it returns the process id of the process that exited, 0 if no
process exited, or -1 in case of failure.
</p>
<p>
For an example, see <link id="fpFork"/>.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpgetErrno"/>.
</errors>
<seealso>
<link id="fpFork"/>
<link id="fpExecve"/>
<link id="fpWait"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpWait">
<short>Wait for a child to exit.</short>
<descr>
<p>
<var>fpWait</var> suspends the current process and
waits for any child to exit or stop due to a signal.
It reports the exit status of the exited child
in <var>stat_loc</var>.
</p>
<p>
The return value of the function is the process ID of the child that
exited, or -1 on error.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpgetErrno"/>.
</errors>
<seealso>
<link id="fpFork"/>
<link id="fpExecve"/>
<link id="fpWaitPid"/>
</seealso>
</element>
<!-- procedure Visibility: default -->
<element name="FpExit">
<short>Exit the current process</short>
<descr>
<p>
<var>FpExit</var> exits the currently running process, and report
<var>Status</var> as the exit status.
</p>
<remark>
If this call is executed, the normal unit finalization code will not be
executed. This may lead to unexpected errors and stray files on your system.
It is therefore recommended to use the <var>Halt</var> call instead.
</remark>
</descr>
<errors>
None.
</errors>
<seealso>
<link id="FpFork"/>
<link id="FpExecve"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpKill">
<short>Send a signal to a process</short>
<descr>
<p>
<var>fpKill</var> sends a signal <var>Sig</var> to a process or process group. If <var>Pid</var>>0 then
the signal is sent to <var>Pid</var>, if it equals -1, then the signal is sent to
all processes except process 1. If <var>Pid</var><-1 then the signal is sent to
process group -Pid.
</p>
<p>
The return value is zero, except in case three, where the return value is the
number of processes to which the signal was sent.
</p>
</descr>
<errors>
<p>
Extended error information can be retrieved using <link id="fpGetErrno"/>:
</p>
<dl>
<dt>sys_einval</dt><dd> An invalid signal is sent.</dd>
<dt>sys_esrch</dt><dd> The <var>Pid</var> or process group don't exist.</dd>
<dt>sys_eperm</dt><dd> The effective userid of the current process doesn't math
the one of process <var>Pid</var>.</dd>
</dl>
</errors>
<seealso>
<link id="FpSigAction"/>
<link id="FpSignal"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpUname">
<short>Return system name.</short>
<descr>
<p>
<var>Uname</var> gets the name and configuration of the current linux kernel,
and returns it in the <var>name</var> record.
</p>
<p>
On success, 0 is returned, on error, -1 is returned.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpUTime"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpOpendir">
<short>Open a directory for reading</short>
<descr>
<var>FpOpenDir</var> opens the directory <var>DirName</var>, and returns a
<var>pdir</var> pointer to a <link id="Dir"/> record, which can be used to
read the directory structure. If the directory cannot be opened, <var>nil
</var> is returned.
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpCloseDir"/>
<link id="FpReadDir"/>
</seealso>
<example file="bunixex/ex35"/>
</element>
<!-- function Visibility: default -->
<element name="FpReaddir">
<short>Read entry from directory</short>
<descr>
<p>
<var>FpReadDir</var> reads the next entry in the directory pointed to by
<var>dirp</var>.
It returns a <var>pdirent</var> pointer to a <link id="dirent"/> record describing the entry.
If the next entry can't be read, <var>Nil</var> is returned.
</p>
<p>
For an example, see <link id="FpOpenDir"/>.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpCloseDir"/>
<link id="FpOpenDir"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpClosedir">
<short>Close directory file descriptor</short>
<descr>
<p>
<var>FpCloseDir</var> closes the directory pointed to by <var>dirp</var>.
It returns zero if the directory was closed succesfully, -1 otherwise.
</p>
<p>
For an example, see <link id="fpOpenDir"/>.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpOpenDir"/>
<link id="FpReadDir"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpChdir">
<short>Change current working directory.</short>
<descr>
<p>
<var>fpChDir</var> sets the current working directory to <var>Path</var>.
</p>
<p>
It returns zero if the call was succesful, -1 on error.
</p><p>
Note: There exist a portable alterative to fpChDir: system.chdir. Please use fpChDir only if
you are writing Unix specific code. System.chdir will work on all operating systems.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="fpGetCwd"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpOpen">
<short>Open file and return file descriptor</short>
<descr>
<p>
<var>FpOpen</var> opens a file in <var>Path</var> with flags <var>flags</var>
and mode <var>Mode</var>
One of the following:
</p>
<dl>
<dt>O_RdOnly</dt><dd>File is opened Read-only</dd>
<dt>O_WrOnly</dt><dd>File is opened Write-only</dd>
<dt>O_RdWr</dt><dd>File is opened Read-Write</dd>
</dl>
<p>
The flags may be<var>OR</var>-ed with one of the following constants:
</p>
<dl>
<dt>O_Creat</dt><dd> File is created if it doesn't exist.</dd>
<dt>O_Excl</dt><dd> If the file is opened with <var>O_Creat</var> and it
already exists, the call wil fail.</dd>
<dt>O_NoCtty</dt><dd> If the file is a terminal device, it will NOT become
the process' controlling terminal.</dd>
<dt>O_Trunc</dt><dd> If the file exists, it will be truncated.</dd>
<dt>O_Append</dt><dd> the file is opened in append mode. <em>Before each
write</em>, the file pointer is positioned at the end of the file.</dd>
<dt>O_NonBlock</dt><dd> The file is opened in non-blocking mode. No operation
on the file descriptor will cause the calling process to wait till.</dd>
<dt>O_NDelay</dt><dd> Idem as <var>O_NonBlock</var></dd>
<dt>O_Sync</dt><dd> The file is opened for synchronous IO. Any write
operation on the file will not return untill the data is physically written
to disk.</dd>
<dt>O_NoFollow</dt><dd> if the file is a symbolic link, the open fails.
(linux 2.1.126 and higher only)</dd>
<dt>O_Directory</dt><dd> if the file is not a directory, the open fails.
(linux 2.1.126 and higher only)</dd>
</dl>
<p>
<var>Path</var> can be of type <var>PChar</var> or <var>String</var>.
The optional <var>mode</var> argument specifies the permissions to set when opening
the file. This is modified by the umask setting. The real permissions are
<var>Mode and not umask</var>.
The return value of the function is the filedescriptor, or a negative
value if there was an error.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpClose"/>
<link id="FpRead"/>
<link id="FpWrite"/>
<link id="FpFTruncate"/>
<link id="FpLSeek"/>
</seealso>
<example file="bunixex/ex19"/>
</element>
<!-- function Visibility: default -->
<element name="FpMkdir">
<short>Create a new directory</short>
<descr>
<p>
<var>FpMkDir</var> creates a new directory <var>Path</var>, and sets the new
directory's mode to <var>Mode</var>. Path can be an absolute path or a
relative path. Note that only the last element of the directory will be
created, higher level directories must already exist, and must be writeable
by the current user.
</p>
<p>
On succes, 0 is returned. if the function fails, -1 is returned.
</p><p>
Note: There exist a portable alterative to fpMkDir: system.mkdir. Please use fpMkDir only if
you are writing Unix specific code. System.mkdir will work on all operating systems.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="fpGetCWD"/>
<link id="fpChDir"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpUnlink">
<short>Unlink (i.e. remove) a file.</short>
<descr>
<p>
<var>FpUnlink</var> decreases the link count on file <var>Path</var>. <var>Path</var> can be
of type <var>AnsiString</var> or <var>PChar</var>. If the link count is zero, the
file is removed from the disk.
</p>
<p>
The function returns zero if the call was succesfull, a nonzero value
indicates failure.
</p><p>
Note: There exist a portable alterative to erase files: system.erase. Please use fpUnlink only if
you are writing Unix specific code. System.erase will work on all operating systems.
</p>
<p>
For an example, see <link id="FpLink"/>.
</p>
</descr>
<errors>
<p>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</p>
<dl>
<dt>sys_eaccess</dt>
<dd>You have no write access right in the directory containing <var>Path</var>,
or you have no search permission in one of the directory components of
<var>Path</var>.</dd>
<dt>sys_eperm</dt>
<dd>The directory containing pathname has the sticky-bit set and the process's
effective uid is neither the uid of the file to be deleted nor that of the
directory containing it.</dd>
<dt>sys_enoent</dt><dd>A component of the path doesn't exist.</dd>
<dt>sys_enotdir</dt><dd>A directory component of the path is not a directory.</dd>
<dt>sys_eisdir</dt><dd><var>Path</var> refers to a directory.</dd>
<dt>sys_enomem</dt><dd>Insufficient kernel memory.</dd>
<dt>sys_erofs</dt><dd><var>Path</var> is on a read-only filesystem.</dd>
</dl>
</errors>
<seealso>
<link id="FpLink"/>
<link id="FpSymLink"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpRmdir">
<short>Remove a directory.</short>
<descr>
<p>
<var>FpRmdir</var> removes the directory <var>Path</var> from the system.
The directory must be empty for this call to succeed, and the user must have
the necessary permissions in the parent directory. Only the last component
of the directory is removed, i.e. higher-lying directories are not removed.
</p>
<p>
On success, zero is returned. A nonzero return value indicates failure.
</p><p>
Note: There exist a portable alterative to fpRmDir: system.rmdir. Please use fpRmDir only if
you are writing Unix specific code. System.rmdir will work on all operating systems.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpRename">
<short>Rename file</short>
<descr>
<p>
<var>FpRename</var> renames the file <var>Old</var> to <var>NewPath</var>.
<var>NewPath</var> can be in a different directory than <var>Old</var>, but it cannot be on
another partition (device). Any existing file on the new location will be replaced.
</p>
<p>
If the operation fails, then the <var>Old</var> file will be preserved.
</p>
<p>
The function returns zero on succes, a nonzero value indicates failure.
</p><p>
Note: There exist a portable alterative to fpRename: system.rename. Please use fpRename only if
you are writing Unix specific code. System.rename will work on all operating systems.
</p>
</descr>
<errors>
<p>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</p>
<dl>
<dt>sys_eisdir</dt>
<dd><var>NewPath</var> exists and is a directory, but <var>Old</var> is not a directory.</dd>
<dt>sys_exdev</dt>
<dd><var>NewPath</var> and <var>Old</var> are on different devices.</dd>
<dt>sys_enotempty or sys_eexist</dt>
<dd><var>NewPath</var> is an existing, non-empty directory. </dd>
<dt>sys_ebusy</dt>
<dd><var>Old</var> or <var>NewPath</var> is a directory and is in use by another process.</dd>
<dt>sys_einval</dt>
<dd><var>NewPath</var> is part of <var>Old</var>.</dd>
<dt>sys_emlink</dt>
<dd><var>OldPath</var> or <var>NewPath</var> already have tha maximum
amount of links pointing to them.</dd>
<dt>sys_enotdir</dt>
<dd>part of <var>Old</var> or <var>NewPath</var> is not directory.</dd>
<dt>sys_efault</dt>
<dd>For the <var>pchar</var> case: One of the pointers points to
an invalid address.</dd>
<dt>sys_eaccess</dt>
<dd>access is denied when attempting to move the file.</dd>
<dt>sys_enametoolong</dt>
<dd> Either <var>Old</var> or <var>NewPath</var> is too long.</dd>
<dt>sys_enoent</dt>
<dd>a directory component in <var>Old</var> or <var>NewPath</var>
didn't exist.</dd>
<dt>sys_enomem</dt>
<dd>not enough kernel memory.</dd>
<dt>sys_erofs</dt>
<dd><var>NewPath</var> or <var>Old</var> is on a read-only file system.</dd>
<dt>sys_eloop</dt>
<dd> too many symbolic links were encountered trying to expand
<var>Old</var> or <var>NewPath</var></dd>
<dt>sys_enospc</dt>
<dd> the filesystem has no room for the new directory entry.</dd>
</dl>
</errors>
<seealso>
<link id="FpUnLink"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpFStat">
<short>Retrieve file information about a file descriptor.</short>
<descr>
<p>
<var>FpFStat</var> gets information about the file specified in one of the
following:
</p>
<dl>
<dt>Fd</dt><dd> a valid file descriptor.</dd>
<dt>F</dt><dd> an opened text file or untyped file.</dd>
</dl>
<p>
and stores it in <var>Info</var>, which is of type <link id="stat"/>.
The function returns zero if the call was succesfull,
a nonzero return value indicates failure.
</p>
</descr>
<errors>
<p>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</p>
<dl>
<dt>sys_enoent</dt><dd> <var>Path</var> does not exist.</dd>
</dl>
</errors>
<seealso>
<link id="FpStat"/>
<link id="FpLStat"/>
</seealso>
<example file="bunixex/ex28"/>
</element>
<!-- function Visibility: default -->
<element name="FpStat">
<short>Retrieve file information about a file descriptor.</short>
<descr>
<p>
<var>FpFStat</var> gets information about the file specified in
<var>Path</var>, and stores it in <var>Info</var>, which is of
type <link id="stat"/>.
The function returns zero if the call was succesfull,
a nonzero return value indicates failure.
</p>
</descr>
<errors>
<p>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</p>
<dl>
<dt>sys_enoent</dt><dd> <var>Path</var> does not exist.</dd>
</dl>
</errors>
<seealso>
<link id="FpStat"/>
<link id="FpLStat"/>
</seealso>
<example file="bunixex/ex28"/>
</element>
<!-- function Visibility: default -->
<element name="FpAccess">
<short>Check file access</short>
<descr>
<p>
<var>FpAccess</var> tests user's access rights on the specified file.
<var>Mode</var> is a mask existing of one or more of the following:
</p>
<dl>
<dt>R_OK</dt><dd>User has read rights.</dd>
<dt>W_OK</dt><dd>User has write rights.</dd>
<dt>X_OK</dt><dd>User has execute rights.</dd>
<dt>F_OK</dt><dd>File exists.</dd>
</dl>
<p>
The test is done with the real user ID, instead of the effective user ID.
If the user has the requested rights, zero is returned. If access is denied,
or an error occurred, a nonzero value is returned.
</p>
</descr>
<errors>
<p>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</p>
<dl>
<dt>sys_eaccess</dt>
<dd> The requested access is denied, either to the file or one
of the directories in its path.</dd>
<dt>sys_einval</dt>
<dd><var>Mode</var> was incorrect.</dd>
<dt>sys_enoent</dt>
<dd>A directory component in <var>Path</var> doesn't exist or is a
dangling symbolic link.</dd>
<dt>sys_enotdir</dt>
<dd> A directory component in <var>Path</var> is not a directory.</dd>
<dt>sys_enomem</dt>
<dd> Insufficient kernel memory.</dd>
<dt>sys_eloop</dt>
<dd> <var>Path</var> has a circular symbolic link.</dd>
</dl>
</errors>
<seealso>
<link id="FpChown"/>
<link id="FpChmod"/>
</seealso>
<example file="bunixex/ex26"/>
</element>
<!-- function Visibility: default -->
<element name="FpClose">
<short>Close file descriptor</short>
<descr>
<p>
<var>FpClose</var> closes a file with file descriptor <var>Fd</var>. The function
returns zero if the file was closed successfully, a nonzero return value
indicates an error.
</p>
<p>
For an example, see <link id="FpOpen"/>.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpOpen"/>
<link id="FpRead"/>
<link id="FpWrite"/>
<link id="FpFTruncate"/>
<link id="FpLSeek"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpRead">
<short>Read data from file descriptor</short>
<descr>
<p>
<var>FpdRead</var> reads at most <var>nbytes</var> bytes from the file descriptor
<var>fd</var>, and stores them in <var>buf</var>.
</p>
<p>
The function returns the number of bytes actually read, or -1 if
an error occurred.
No checking on the length of <var>buf</var> is done.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpOpen"/>
<link id="FpClose"/>
<link id="FpWrite"/>
<link id="FpFTruncate"/>
<link id="FpLSeek"/>
</seealso>
<example file="bunixex/ex20"/>
</element>
<!-- function Visibility: default -->
<element name="FpWrite">
<short>Write data to file descriptor</short>
<descr>
<p>
<var>FpWrite</var> writes at most <var>nbytes</var> bytes from <var>buf</var> to
file descriptor <var>fd</var>.
</p>
<p>
The function returns the number of bytes actually written, or -1 if an error
occurred.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpOpen"/>
<link id="FpClose"/>
<link id="FpRead"/>
<link id="FpFTruncate"/>
<link id="FpLSeek"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpLseek">
<short>Set file pointer position.</short>
<descr>
<p>
<var>FpLSeek</var> sets the current fileposition of file <var>fd</var> to
<var>Offset</var>, starting from <var>Whence</var>, which can be one of the following:
</p>
<dl>
<dt>Seek_Set</dt><dd><var>Offset</var> is the absolute position in the file.</dd>
<dt>Seek_Cur</dt><dd><var>Offset</var> is relative to the current position.</dd>
<dt>Seek_end</dt><dd><var>Offset</var> is relative to the end of the file.</dd>
</dl>
<p>
The function returns the new fileposition, or -1 of an error occurred.
</p>
<p>
For an example, see <link id="FpOpen"/>.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpOpen"/>
<link id="FpWrite"/>
<link id="FpClose"/>
<link id="FpRead"/>
<link id="FpFTruncate"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpTime">
<short>Return the current unix time</short>
<descr>
<p>
<var>FpTime</var> returns the number of seconds since 00:00:00 GMT, january 1, 1970.
it is adjusted to the local time zone, but not to DST. The result is also
stored in <var>tloc</var>, if it is specified.
</p>
</descr>
<errors>
On error, -1 is returned. Extended error information can be retrieved using
<link id="fpGetErrno"/>.
</errors>
<example file="bunixex/ex1"/>
</element>
<!-- function Visibility: default -->
<element name="FpFtruncate">
<short>Truncate file on certain size.</short>
<descr>
<p>
<var>FpFTruncate</var> sets the length of a file in <var>fd</var> on
<var>flength</var>
bytes, where <var>flength</var> must be less than or equal to the current length of
the file in <var>fd</var>.
</p>
<p>
The function returns zero if the call was successful, a nonzero return value
indicates that an error occurred.
</p>
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpOpen"/>
<link id="FpClose"/>
<link id="FpRead"/>
<link id="FpWrite"/>
<link id="FpLSeek"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FPSigaction">
<short>Install signal handler</short>
<descr>
<p>
<var>FPSigaction</var> changes the action to take upon receipt of a signal.
<var>Act</var> and
<var>Oact</var> are pointers to a <link id="SigActionRec"/> record.
<var>Sig</var> specifies the signal, and can be any signal except
<b>SIGKILL</b> or <b>SIGSTOP</b>.
</p>
<p>
If <var>Act</var> is non-nil, then the new action for signal <var>Sig</var> is taken
from it. If <var>OAct</var> is non-nil, the old action is stored there.
<var>Sa_Handler</var> may be <var>SIG_DFL</var> for the default action or
<var>SIG_IGN</var> to ignore the signal.
<var>Sa_Mask</var> Specifies which signals should be ignord during the execution
of the signal handler.
<var>Sa_Flags</var> Speciefies a series of flags which modify the behaviour of
the signal handler. You can 'or' none or more of the following :
</p>
<dl>
<dt>SA_NOCLDSTOP</dt>
<dd>If <var>sig</var> is <b>SIGCHLD</b> do not receive notification when child processes stop.
</dd>
<dt>SA_ONESHOT or SA_RESETHAND</dt>
<dd>Restore the signal action to the default
state once the signal handler has been called.
</dd>
<dt>SA_RESTART</dt>
<dd>For compatibility with BSD signals.</dd>
<dt>SA_NOMASK or SA_NODEFER</dt>
<dd>Do not prevent the signal from being received from within its own signal handler.
</dd>
</dl>
</descr>
<errors>
<p>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</p>
<dl>
<dt>sys_einval</dt>
<dd>an invalid signal was specified, or it was <b>SIGKILL</b> or <b>SIGSTOP</b>. </dd>
<dt>sys_efault</dt>
<dd><var>Act,OldAct</var> point outside this process address space </dd>
<dt>sys_eintr</dt><dd> System call was interrupted.</dd>
</dl>
</errors>
<seealso>
<link id="FpSigProcMask"/>
<link id="FpSigPending"/>
<link id="FpSigSuspend"/>
<link id="FpKill"/>
</seealso>
<example file="bunixex/ex57"/>
</element>
<!-- function Visibility: default -->
<element name="FPSelect">
<short>Wait for events on file descriptors</short>
<descr>
<p>
<var>FpSelect</var> checks one of the file descriptors in the <var>FDSets</var> to see if
the following I/O operation on the file descriptors will block.
</p>
<p>
<var>readfds, writefds</var> and <var>exceptfds</var> are pointers to arrays of 256
bits. If you want a file descriptor to be checked, you set the
corresponding element in the array to 1. The other elements in the array
must be set to zero. Three arrays are passed : The entries in <var>readfds</var>
are checked to see if the following read operation will block. The entries
in <var>writefds</var> are checked to see if the following write operation
will block, while entries in <var>exceptfds</var> are cheked to see if an
exception occorred on them.
</p>
<p>
You can use the functions <link id="fpFD_ZERO"/>, <link id="fpFD_Clr"/>,
<link id="fpFD_Set"/> or <link id="fpFD_IsSet"/> to manipulate the individual
elements of a set.
</p>
<p>
The pointers can be <var>Nil</var>.
</p>
<p>
N is the value of the largest file descriptor in one of the sets, + 1.
In other words, it is the position of the last bit which is set in the array of
bits.
</p>
<p>
<var>TimeOut</var> can be used to set a time limit.
If <var>TimeOut</var> can be two types :
</p>
<ol>
<li><var>TimeOut</var> is of type <var>ptimeval</var> and contains a
zero time, the call returns immediately. If <var>TimeOut</var> is <var>Nil</var>, the
kernel will wait forever, or until a status changed. </li>
<li><var>TimeOut</var> is of type <var>cint</var>. If it is -1, this has the same
effect as a <var>Timeout</var> of type <var>PTime</var> which is <var>Nil</var>.
Otherwise, <var>TimeOut</var> contains a time in milliseconds.</li>
</ol>
<p>
When the TimeOut is reached, or one of the file descriptors has changed,
the <var>Select</var> call returns. On return, it will have modified the entries
in the array which have actually changed, and it returns the number of
entries that have been changed. If the timout was reached, and no decsriptor
changed, zero is returned; The arrays of indexes are undefined after that.
On error, -1 is returned.
</p>
<p>
The variant with the text file will execute the <var>FpSelect</var> call on
the file descriptor associated with the text file <var>T</var>
</p>
</descr>
<errors>
<p>
On error, the function returns -1.
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</p>
<dl>
<dt>SYS_EBADF</dt>
<dd>An invalid descriptor was specified in one of the sets.</dd>
<dt>SYS_EINTR</dt>
<dd>A non blocked signal was caught.</dd>
<dt>SYS_EINVAL</dt>
<dd><var>N</var> is negative or too big.</dd>
<dt>SYS_ENOMEM</dt>
<dd><var>Select</var> was unable to allocate memory for its internal tables.</dd>
</dl>
</errors>
<seealso>
<link id="fpFD_ZERO"/>
<link id="fpFD_Clr"/>
<link id="fpFD_Set"/>
<link id="fpFD_IsSet"/>
</seealso>
<example file="bunixex/ex33"/>
</element>
<!-- function Visibility: default -->
<element name="FpIOCtl">
<short>General kernel IOCTL call.</short>
<descr>
This is a general interface to the Unix/ linux ioctl call.
It performs various operations on the filedescriptor <var>Handle</var>.
<var>Ndx</var> describes the operation to perform.
<var>Data</var> points to data needed for the <var>Ndx</var> function.
The structure of this data is function-dependent, so we don't elaborate on
this here.
For more information on this, see various manual pages under linux.
</descr>
<errors>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<example file="bunixex/ex54"/>
</element>
<!-- function Visibility: default -->
<element name="FpNanoSleep">
<short>Suspend process for a short time</short>
<descr>
<p>
<var>FpNanoSleep</var> suspends the process till a time period as specified
in <var>req</var> has passed. Then the function returns. If the
call was interrupted (e.g. by some signal) then the function may
return earlier, and <var>rem</var> will contain the remaining time till the
end of the intended period. In this case the return value will be
-1, and <var>fpErrNo</var> will be set to <var>EINTR</var>
</p>
<p>
If the function returns without error, the return value is zero.
</p>
</descr>
<errors>
If an error occurred or the call was interrupted, -1 is returned.
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</errors>
<seealso>
<link id="FpPause"/>
<link id="FpAlarm"/>
</seealso>
<example file="bunixex/ex72"/>
</element>
<!-- function Visibility: default -->
<element name="FpGetEnv">
<short>Return value of environment variable.</short>
<descr>
<p>
<var>FPGetEnv</var> returns the value of the environment variable in
<var>Name</var>. If the variable is
not defined, nil is returned. The value of the environment variable may be
the empty string.
A PChar is returned to accomodate for strings longer than 255 bytes,
<var>TERMCAP</var> and <var>LS_COLORS</var>, for instance.
</p>
</descr>
<errors>
None.
</errors>
<example file="bunixex/ex41"/>
</element>
<!-- function Visibility: default -->
<element name="FpUtime">
<short>Set access and modification times of a file (touch).</short>
<descr>
<p>
<var>FpUtime</var> sets the access and modification times of the file
specified in <var>Path</var>.
the <var>times</var> record contains 2 fields, <var>actime</var>, and <var>modtime</var>,
both of type <var>time_t</var> (commonly a longint). They should be filled with an epoch-like time,
specifying, respectively, the last access time, and the last modification
time.
For some filesystem (most notably, FAT), these times are the same.
</p>
<p>
The function returns zero on success, a nonzero return value indicates
failure.
</p>
</descr>
<errors>
<p>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</p>
<dl>
<dt>sys_eaccess</dt>
<dd> One of the directories in <var>Path</var> has no
search (=execute) permission.</dd>
<dt>sys_enoent</dt>
<dd> A directory entry in <var>Path</var> does
not exist or is a symbolic link pointing to a non-existent directory.
</dd>
</dl>
<p>
Other errors may occur, but aren't documented.
</p>
</errors>
<seealso>
<link id="FpTime"/>
<link id="FpChown"/>
<link id="FpAccess"/>
</seealso>
<example file="bunixex/ex25"/>
</element>
<!-- function Visibility: default -->
<element name="FpSignal">
<short>Install signal handler (deprecated)</short>
<descr>
<p>
<var>FPSignal</var> installs a new signal handler (specified by
<var>Handler</var>) for signal <var>SigNum</var>.
</p>
<p>
This call has a subset of the functionality provided by the <link id="FpSigAction"/> call.
The return value for <var>FpSignal</var> is the old signal handler, or nil on error.
</p>
</descr>
<errors>
<p>
Extended error information can be retrieved using <link id="fpGetErrno"/>.
</p>
<dl>
<dt>SIG_ERR</dt>
<dd>An error occurred.</dd>
</dl>
</errors>
<seealso>
<link id="FpSigAction"/>
<link id="FpKill"/>
</seealso>
<example file="bunixex/ex58"/>
</element>
<!-- function Visibility: default -->
<element name="fpFD_SET">
<short>Set a filedescriptor in a set</short>
<descr>
<p>
<var>FpFD_Set</var> sets file descriptor <var>fdno</var> in filedescriptor set
<var>nset</var>.
</p>
<p>
For an example, see <link id="FpSelect"/>.
</p>
</descr>
<errors>
None.
</errors>
<seealso>
<link id="FpSelect"/>
<link id="FpFD_ZERO"/>
<link id="FpFD_Clr"/>
<link id="FpFD_IsSet"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpFD_CLR">
<short>Clears a filedescriptor in a set</short>
<descr>
<p>
<var>FpFD_Clr</var> clears file descriptor <var>fdno</var> in filedescriptor set
<var>nset</var>.
</p>
<p>
For an example, see <link id="FpSelect"/>.
</p>
</descr>
<errors>
None.
</errors>
<seealso>
<link id="FpSelect"/>,
<link id="FpFD_ZERO"/>
<link id="FpFD_Set"/>
<link id="FpFD_IsSet"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpFD_ZERO">
<short>Clear all file descriptors in set</short>
<descr>
<p>
<var>FpFD_ZERO</var> clears all the filedescriptors in the file descriptor
set <var>nset</var>.
</p>
<p>
For an example, see <link id="FpSelect"/>.
</p>
</descr>
<errors>
None.
</errors>
<seealso>
<link id="FpSelect"/>
<link id="FpFD_Clr"/>
<link id="FpFD_Set"/>
<link id="FpFD_IsSet"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpFD_ISSET">
<short>Check whether a filedescriptor is set</short>
<descr>
<p>
<var>FpFD_Set</var> Checks whether file descriptor <var>fdNo</var> in filedescriptor set <var>fds</var>
is set. It returns zero if the descriptor is not set, 1 if it is set. If the
number of the filedescriptor it wrong, -1 is returned.
</p>
<p>
For an example, see <link id="FpSelect"/>.
</p>
</descr>
<errors>
If an invald file descriptor number is passed, -1 is returned.
</errors>
<seealso>
<link id="FpSelect"/>
<link id="FpFD_ZERO"/>
<link id="FpFD_Clr"/>
<link id="FpFD_Set"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpfdfillset">
<short>Set all filedescriptors in the set.</short>
<descr>
<var>fpfdfillset</var> sets all filedescriptors in <var>nset</var>.
</descr>
<seealso>
<link id="FpSelect"/>
<link id="FpFD_ZERO"/>
<link id="FpFD_IsSet"/>
<link id="FpFD_Clr"/>
<link id="FpFD_Set"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpSigEmptySet">
<short>Clear all signals from signal set.</short>
<descr>
<var>FpSigEmptySet</var> clears all signals from the signal set
<var>nset</var>.
</descr>
<errors>
None. This function always returns zero.
</errors>
<seealso>
<link id="FpSigFillSet"/>
<link id="FpSigAddSet"/>
<link id="FpSigDelSet"/>
<link id="FpSigIsMember"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpSigFillSet">
<short>Set all signals in signal set.</short>
<descr>
<var>FpSigFillSet</var> sets all signals in the signal set
<var>nset</var>.
</descr>
<errors>
None. This function always returns zero.
</errors>
<seealso>
<link id="FpSigEmptySet"/>
<link id="FpSigAddSet"/>
<link id="FpSigDelSet"/>
<link id="FpSigIsMember"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpSigAddSet">
<short>Set a signal in a signal set.</short>
<descr>
<var>FpSigAddSet</var> adds signal <var>Signo</var> to the signal set
<var>nset</var>. The function returns 0 on success.
</descr>
<errors>
If an invalid signal number is given, -1 is returned.
</errors>
<seealso>
<link id="FpSigEmptySet"/>
<link id="FpSigFillSet"/>
<link id="FpSigDelSet"/>
<link id="FpSigIsMember"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpSigDelSet">
<short>Remove a signal from a signal set.</short>
<descr>
<var>FpSigDelSet</var> removes signal <var>Signo</var> to the signal set
<var>nset</var>. The function returns 0 on success.
</descr>
<errors>
If an invalid signal number is given, -1 is returned.
</errors>
<seealso>
<link id="FpSigEmptySet"/>
<link id="FpSigFillSet"/>
<link id="FpSigAddSet"/>
<link id="FpSigIsMember"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpSigIsMember">
<short>Check whether a signal appears in a signal set.</short>
<descr>
<var>FpSigIsMember</var> checks whether <var>SigNo</var> appears in the set
<var>nset</var>. If it is a member, then 1 is returned. If not, zero is
returned.
</descr>
<errors>
If an invalid signal number is given, -1 is returned.
</errors>
<seealso>
<link id="FpSigEmptySet"/>
<link id="FpSigFillSet"/>
<link id="FpSigAddSet"/>
<link id="FpSigDelSet"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpS_ISDIR">
<short>Is file a directory</short>
<descr>
<var>fpS_ISDIR</var> checks the file mode <var>m</var> to see whether the file
is a directory. If so, it returns <var>True</var>
</descr>
<seealso>
<link id="FpFStat"/>
<link id="FpS_ISLNK"/>
<link id="FpS_ISREG"/>
<link id="FpS_ISCHR"/>
<link id="FpS_ISBLK"/>
<link id="fpS_ISFIFO"/>
<link id="FpS_ISSOCK"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpS_ISCHR">
<short>Is file a character device</short>
<descr>
<var>FpS_ISCHR</var> checks the file mode <var>m</var> to see whether the file is a
character device file. If so it returns <var>True</var>.
</descr>
<seealso>
<link id="FpFStat"/>
<link id="FpS_ISLNK"/>
<link id="FpS_ISREG"/>
<link id="FpS_ISDIR"/>
<link id="FpS_ISBLK"/>
<link id="FpS_ISFIFO"/>
<link id="FpS_ISSOCK"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpS_ISBLK">
<short>Is file a block device</short>
<descr>
<var>FpS_ISBLK</var> checks the file mode <var>m</var> to see whether the file is a
block device file. If so it returns <var>True</var>.
</descr>
<seealso>
<link id="FpFStat"/>
<link id="FpS_ISLNK"/>
<link id="FpS_ISREG"/>
<link id="FpS_ISDIR"/>
<link id="FpS_ISCHR"/>
<link id="FpS_ISFIFO"/>
<link id="FpS_ISSOCK"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpS_ISREG">
<short>Is file a regular file</short>
<descr>
<var>FpS_ISREG</var> checks the file mode <var>m</var> to see whether the file is a
regular file. If so it returns <var>True</var>
</descr>
<seealso>
<link id="FpFStat"/>
<link id="FpS_ISFIFO"/>
<link id="FpS_ISLNK"/>
<link id="FpS_ISCHR"/>
<link id="FpS_ISBLK"/>
<link id="FpS_ISDIR"/>
<link id="FPS_ISSOCK"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpS_ISFIFO">
<short>Is file a FIFO</short>
<descr>
<var>FpS_ISFIFO</var> checks the file mode <var>m</var> to see whether the file is a
fifo (a named pipe). If so it returns <var>True</var>.
</descr>
<seealso>
<link id="FpFStat"/>
<link id="FpS_ISLNK"/>
<link id="FpS_ISREG"/>
<link id="FpS_ISCHR"/>
<link id="FpS_ISBLK"/>
<link id="FpS_ISDIR"/>
<link id="FpS_ISSOCK"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpS_ISLNK">
<short>Is file a symbolic link</short>
<descr>
<var>FpS_ISLNK</var> checks the file mode <var>m</var> to see whether the file is a
symbolic link. If so it returns <var>True</var>
</descr>
<seealso>
<link id="FpFStat"/>
<link id="FpS_ISFIFO"/>
<link id="FpS_ISREG"/>
<link id="FpS_ISCHR"/>
<link id="FpS_ISBLK"/>
<link id="FpS_ISDIR"/>
<link id="FpS_ISSOCK"/>
</seealso>
<example file="bunixex/ex53"/>
</element>
<!-- function Visibility: default -->
<element name="fpS_ISSOCK">
<short>Is file a unix socket</short>
<descr>
<var>FpS_ISSOCK</var> checks the file mode <var>m</var> to see whether the file is a
socket. If so it returns <var>True</var>.
</descr>
<seealso>
<link id="FpFStat"/>
<link id="FpS_ISFIFO"/>
<link id="FpS_ISLNK"/>
<link id="FpS_ISCHR"/>
<link id="FpS_ISBLK"/>
<link id="FpS_ISDIR"/>
<link id="FpS_ISREG"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="WEXITSTATUS">
<short>Extract the exit status from the <link id="#rtl.baseunix.FpWaitPID">fpWaitPID</link> result.</short>
<descr>
<var>WEXITSTATUS</var> can be used to extract the exit status from
<var>Status</var>, the result of the <link id="FpWaitPID"/> call.
</descr>
<seealso>
<link id="FpWaitPID"/>
<link id="WTERMSIG"/>
<link id="WSTOPSIG"/>
<link id="WIFEXITED"/>
<link id="WIFSIGNALED"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="WTERMSIG">
<short>Return the signal that caused a process to exit.</short>
<descr>
<var>WTERMSIG</var> extracts from <var>Status</var> the signal number which
caused the process to exit.
</descr>
<seealso>
<link id="FpWaitPID"/>
<link id="WSTOPSIG"/>
<link id="WIFEXITED"/>
<link id="WIFSIGNALED"/>
<link id="WEXITSTATUS"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="WSTOPSIG">
<short>Return the exit code from the process.</short>
<descr>
<var>WSTOPSIG</var> is an alias for <link id="WEXITSTATUS"/>.
</descr>
<seealso>
<link id="FpWaitPID"/>
<link id="WTERMSIG"/>
<link id="WIFEXITED"/>
<link id="WIFSIGNALED"/>
<link id="WEXITSTATUS"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="WIFEXITED">
<short>Check whether the process exited normally</short>
<descr>
<var>WIFEXITED</var> checks <var>Status</var> and returns <var>True</var> if
the status indicates that the process terminated normally, i.e. was not
stopped by a signal.
</descr>
<seealso>
<link id="FpWaitPID"/>
<link id="WTERMSIG"/>
<link id="WSTOPSIG"/>
<link id="WIFSIGNALED"/>
<link id="WEXITSTATUS"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="WIFSIGNALED">
<short>Check whether the process was exited by a signal.</short>
<descr>
<var>WIFSIGNALED</var> returns <var>True</var> if <var>Status</var>
indicates that the process exited because it received a signal.
</descr>
<seealso>
<link id="FpWaitPID"/>
<link id="WTERMSIG"/>
<link id="WSTOPSIG"/>
<link id="WIFEXITED"/>
<link id="WEXITSTATUS"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpgeterrno">
<short>Retrieve extended error information.</short>
<descr>
<var>fpgeterrno</var> returns extended information on the latest error.
It is set by all functions that communicate with the kernel or C library.
</descr>
<errors>
None.
</errors>
<seealso>
<link id="fpseterrno"/>
</seealso>
</element>
<!-- procedure Visibility: default -->
<element name="fpseterrno">
<short>Set extended error information.</short>
<descr>
<p>
<var>fpseterrno</var> sets the extended information on the latest error.
It is called by all functions that communicate with the kernel or C library.
</p>
<p>
Unless a direct kernel call is performed, there should never be any need to
call this function.
</p>
</descr>
<errors>
</errors>
<seealso>
<link id="fpgeterrno"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpMMap">
<short>Create memory map of a file</short>
<descr>
<p>
<var>FpMMap</var> maps or unmaps files or devices into memory. The different
arguments determine what and how the file is mapped:
</p>
<dl>
<dt>adr</dt>
<dd> Address where to mmap the device. This address is a hint,
and may not be followed.</dd>
<dt>len</dt><dd> Size (in bytes) of area to be mapped.</dd>
<dt>prot</dt>
<dd>
<p> Protection of mapped memory. This is a OR-ed combination of the
following constants:</p>
<dl>
<dt>PROT_EXEC</dt><dd> The memory can be executed.</dd>
<dt>PROT_READ</dt><dd> The memory can be read.</dd>
<dt>PROT_WRITE</dt><dd> The memory can be written.</dd>
<dt>PROT_NONE</dt><dd> The memory can not be accessed.</dd>
</dl>
</dd>
<dt>flags</dt><dd><p>Contains some options for the mmap call. It is an OR-ed
combination of the following constants:</p>
<dl>
<dt>MAP_FIXED</dt>
<dd> Do not map at another address than the given address. If the
address cannot be used, <var>MMap</var> will fail.</dd>
<dt>MAP_SHARED</dt>
<dd> Share this map with other processes that map this object.</dd>
<dt>MAP_PRIVATE</dt>
<dd> Create a private map with copy-on-write semantics.</dd>
<dt>MAP_ANONYMOUS</dt>
<dd> <var>fd</var> does not have to be a file descriptor.</dd>
</dl>
<p>
One of the options <var>MAP_SHARED</var> and <var>MAP_PRIVATE</var> must be present,
but not both at the same time.
</p>
</dd>
<dt>fd</dt><dd> File descriptor from which to map.</dd>
<dt>off</dt><dd> Offset to be used in file descriptor <var>fd</var>.</dd>
</dl>
<p>
The function returns a pointer to the mapped memory, or a -1 in case of en
error.
</p>
</descr>
<errors>
<p>
On error, -1 is returned and extended error information is returned by the <link id="fpGetErrno">FpGetErrno</link> function.
</p>
<dl>
<dt>Sys_EBADF</dt>
<dd> <var>fd</var> is not a valid file descriptor and
<var>MAP_ANONYMOUS</var> was not specified.</dd>
<dt>Sys_EACCES</dt>
<dd><var>MAP_PRIVATE</var> was specified, but <var>fd</var> is not open for
reading. Or <var>MAP_SHARED</var> was asked and <var>PROT_WRITE</var> is set, fd
is not open for writing</dd>
<dt>Sys_EINVAL</dt>
<dd> One of the record fields <var>Start</var>, <var>length</var> or
<var>offset</var> is invalid.</dd>
<dt>Sys_ETXTBUSY</dt>
<dd><var>MAP_DENYWRITE</var> was set but the object specified
by fd is open for writing.</dd>
<dt>Sys_EAGAIN</dt>
<dd><var>fd</var> is locked, or too much memory is locked.</dd>
<dt>Sys_ENOMEM</dt>
<dd> Not enough memory for this operation.</dd>
</dl>
</errors>
<seealso>
<link id="FpMUnMap"/>
</seealso>
<example file="unixex/ex66"/>
</element>
<!-- function Visibility: default -->
<element name="Fpmunmap">
<short>Unmap previously mapped memory block</short>
<descr>
<p>
<var>FpMUnMap</var> unmaps the memory block of size <var>Len</var>, pointed to by
<var>Adr</var>, which was previously allocated with <link id="FpMMap"/>.
</p>
<p>
The function returns <var>True</var> if successful, <var>False</var> otherwise.
</p>
<p>
For an example, see <link id="FpMMap"/>.
</p>
</descr>
<errors>
In case of error the function returns a nonzero value,
extended error information is returned by the <link id="fpGetErrno">FpGetErrno</link> function.
See <link id="FpMMap"/> for possible error values.
</errors>
<seealso>
<link id="FpMMap"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpLstat">
<short>Return information about symbolic link. Do not follow the link</short>
<descr>
<var>FpLstat</var> gets information about the link specified in <var>Path</var>
(or <var>FileName</var>, and stores it in <var>Info</var>, which points to a
record of type <var>TStat</var>. Contrary to <link id="FpFStat">FpFstat</link>, it stores
information about the link, not about the file the link points to.
The function returns zero if the call was succesful, a nonzero return value
indicates failure.
failed.
</descr>
<errors>
<p>
Extended error information is returned by the <link id="fpGetErrno">FpGetErrno</link>
function.
</p>
<dl>
<dt>sys_enoent</dt><dd> <var>Path</var> does not exist.</dd>
</dl>
</errors>
<seealso>
<link id="FpFStat"/>
<link id="#rtl.unix.StatFS"/>
</seealso>
<example file="unixex/ex29"/>
</element>
<!-- function Visibility: default -->
<element name="fpNice">
<short>Set process priority</short>
<descr>
<p>
<var>Nice</var> adds <var>-N</var> to the priority of the running process. The lower the
priority numerically, the less the process is favored.
Only the superuser can specify a negative <var>N</var>, i.e. increase the rate at
which the process is run.
</p>
<p>
If the function is succesful, zero is returned. On error, a nonzero value is returned.
</p>
</descr>
<errors>
<p>
Extended error information is returned by the <link id="fpGetErrno">FpGetErrno</link> function.
</p>
<dl>
<dt>sys_eperm</dt><dd> A non-superuser tried to specify a negative <var>N</var>, i.e.
do a priority increase.</dd>
</dl>
</errors>
<seealso>
<link id="FpGetPriority"/>
<link id="FpSetPriority"/>
</seealso>
<example file="unixex/ex15"/>
</element>
<!-- function Visibility: default -->
<element name="fpGetPriority">
<short>Return process priority</short>
<descr>
<p>
GetPriority returns the priority with which a process is running.
Which process(es) is determined by the <var>Which</var> and <var>Who</var> variables.
<var>Which</var> can be one of the pre-defined <var>Prio_Process</var>,
<var>Prio_PGrp</var>, <var>Prio_User</var>, in which case <var>Who</var> is the process ID, Process group ID or
User ID, respectively.
</p>
<p>
For an example, see <link id="FpNice"/>.
</p>
</descr>
<errors>
<p>
Error information is returned solely by the <link id="fpGetErrno">FpGetErrno</link>
function: a priority can be a positive or negative value.
</p>
<dl>
<dt>sys_esrch</dt>
<dd> No process found using <var>which</var> and <var>who</var>. </dd>
<dt>sys_einval</dt>
<dd> <var>Which</var> was not one of <var>Prio_Process</var>,
<var>Prio_Grp</var> or <var>Prio_User</var>.</dd>
</dl>
</errors>
<seealso>
<link id="FpSetPriority"/>
<link id="FpNice"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpSetPriority">
<short>Set process priority</short>
<descr>
<p>
<var>fpSetPriority</var> sets the priority with which a process is running.
Which process(es) is determined by the <var>Which</var> and <var>Who</var> variables.
<var>Which</var> can be one of the pre-defined constants:
</p>
<dl>
<dt>Prio_Process</dt><dd><var>Who</var> is interpreted as process ID</dd>
<dt>Prio_PGrp</dt><dd><var>Who</var> is interpreted as process group ID</dd>
<dt>Prio_User</dt><dd><var>Who</var> is interpreted as user ID</dd>
</dl>
<p>
<var>Prio</var> is a value in the range -20 to 20.
</p>
<p>
For an example, see <link id="FpNice"/>.
</p>
<p>
The function returns zero on success, -1 on failure
</p>
</descr>
<errors>
<p>
Extended error information is returned by the <link id="fpGetErrno">FpGetErrno</link>
function.
</p>
<dl>
<dt>sys_esrch</dt>
<dd>No process found using <var>which</var> and <var>who</var>.</dd>
<dt>sys_einval</dt>
<dd> <var>Which</var> was not one of <var>Prio_Process</var>,
<var>Prio_Grp</var> or <var>Prio_User</var>.</dd>
<dt>sys_eperm</dt>
<dd>A process was found, but neither its effective or real
user ID match the effective user ID of the caller.</dd>
<dt>sys_eacces</dt>
<dd>A non-superuser tried to a priority increase.</dd>
</dl>
</errors>
<seealso>
<link id="FpGetPriority"/>
<link id="FpNice"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="fpSymlink">
<short>Create a symbolic link</short>
<descr>
<p>
<var>SymLink</var> makes <var>NewName</var> point to the file in
<var>OldName</var>, which doesn't necessarily exist. The two files
DO NOT have the same inode number. This is known as a 'soft' link.
</p>
<p>The permissions of the link are irrelevant, as they are not used when
following the link. Ownership of the file is only checked in case of removal
or renaming of the link.
</p>
<p>
The function returns zero if the call was succesful, a nonzero value if the call
failed.
</p>
</descr>
<errors>
<p>
Extended error information is returned by the <link id="fpGetErrno">FpGetErrno</link>
function.
</p>
<dl>
<dt>sys_eperm</dt>
<dd>The filesystem containing oldpath and newpath does not
support linking files.</dd>
<dt>sys_eaccess</dt>
<dd>Write access for the directory containing <var>Newpath</var>
is disallowed, or one of the directories in <var>OldPath</var> or
<var>NewPath</var> has no search (=execute) permission.</dd>
<dt>sys_enoent</dt>
<dd>A directory entry in <var>OldPath</var> or <var>NewPath</var> does
not exist or is a symbolic link pointing to a non-existent directory.</dd>
<dt>sys_enotdir</dt>
<dd>A directory entry in <var>OldPath</var> or <var>NewPath</var> is
nor a directory.</dd>
<dt>sys_enomem</dt><dd>Insufficient kernel memory.</dd>
<dt>sys_erofs</dt><dd>The files are on a read-only filesystem.</dd>
<dt>sys_eexist</dt><dd><var>NewPath</var> already exists.</dd>
<dt>sys_eloop</dt>
<dd> <var>OldPath</var> or <var>NewPath</var> has a reference to a circular
symbolic link, i.e. a symbolic link, whose expansion points to itself.
</dd>
<dt>sys_enospc</dt>
<dd>The device containing <var>NewPath</var> has no room for another entry.</dd>
</dl>
</errors>
<seealso>
<link id="FpLink"/>
<link id="FpUnLink"/>
<link id="FpReadLink"/>
</seealso>
<example file="unixex/ex22"/>
</element>
<!-- function Visibility: default -->
<element name="fpReadLink">
<short>Read destination of symbolic link</short>
<descr>
<p>
<var>FpReadLink</var> returns the file the symbolic link <var>name</var> is pointing
to. The first form of this function accepts a buffer <var>linkname</var> of
length <var>maxlen</var> where the filename will be stored. It returns the
actual number of characters stored in the buffer.
</p>
<p>
The second form of the function returns simply the name of the file.
</p>
</descr>
<errors>
<p>
On error, the first form of the function returns -1; the second one returns
an empty string.
Extended error information is returned by the <link id="fpGetErrno">FpGetErrno</link>
function.
</p>
<dl>
<dt>SYS_ENOTDIR</dt>
<dd>A part of the path in <var>Name</var> is not a directory.</dd>
<dt>SYS_EINVAL</dt>
<dd>maxlen is not positive, or the file is not a symbolic link.</dd>
<dt>SYS_ENAMETOOLONG</dt>
<dd>A pathname, or a component of a pathname, was too long.</dd>
<dt>SYS_ENOENT</dt>
<dd>the link <var>name</var> does not exist.</dd>
<dt>SYS_EACCES</dt>
<dd>No permission to search a directory in the path</dd>
<dt>SYS_ELOOP</dt>
<dd>Too many symbolic links were encountered in translating the pathname.</dd>
<dt>SYS_EIO</dt>
<dd>An I/O error occurred while reading from the file system.</dd>
<dt>SYS_EFAULT</dt>
<dd>The buffer is not part of the the process's memory space.</dd>
<dt>SYS_ENOMEM</dt>
<dd>Not enough kernel memory was available.</dd>
</dl>
</errors>
<seealso>
<link id="FpSymLink"/>
</seealso>
<example file="unixex/ex62"/>
</element>
<element name="FPSetTimeOfDay">
<short>Set kernel time</short>
<descr>
<p>
<var>FpSetTimeOfDay</var> sets the kernel time to the number of seconds since 00:00,
January 1 1970, GMT specified in the <var>tp</var> record. This time NOT corrected
any way, not taking into account timezones, daylight savings time and so on.
</p>
<p>
It is simply a wrapper to the kernel system call.
</p>
</descr>
<seealso>
<link id="#rtl.unix.FPGetTimeOfDay"/>
</seealso>
</element>
<element name="cDouble">
<short>Double precision real format.</short>
</element>
<element name="cFloat">
<short>Floating-point real format </short>
</element>
<element name="clDouble">
<short>Long double precision real format (Extended)</short>
</element>
<element name="pcDouble">
<short>Pointer to <link id="#rtl.baseunix.cdouble">cdouble</link> type.</short>
</element>
<element name="pcFloat">
<short>Pointer to <link id="#rtl.baseunix.cfloat">cfloat</link> type.</short>
</element>
<element name="pclDouble">
<short>Pointer to <link id="#rtl.baseunix.cldouble">cldouble</link> type.</short>
</element>
<!-- unresolved type reference Visibility: default -->
<element name="UnixType">
<short>Import of basic Unix types</short>
</element>
<!-- constant Visibility: default -->
<element name="_STAT_VER_LINUX_OLD" skip="1">
<short>Old kernel definition of stat</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="_STAT_VER_KERNEL" skip="1">
<short>Current version of stat record</short>
</element>
<!-- constant Visibility: default -->
<element name="_STAT_VER_SVR4" skip="1">
<short>SVR 4 definition of stat</short>
</element>
<!-- constant Visibility: default -->
<element name="_STAT_VER_LINUX" skip="1">
<short>Version of linux stat record</short>
</element>
<!-- constant Visibility: default -->
<element name="_STAT_VER" skip="1">
<short>Stat version number</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_dev">
<short>Device number</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_ino">
<short>Inode number</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_mode">
<short>File mode</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_nlink">
<short>Number of hard links</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_uid">
<short>File owner User ID</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_gid">
<short>File owner group ID</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_rdev">
<short>??</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_size">
<short>File size in bytes</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_blksize">
<short>Block size</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_blocks">
<short>Number of blocks</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_atime">
<short>Last file access time</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_mtime">
<short>Last file modification time</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_ctime">
<short>File creation time</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.pad1_dummy">
<short>Pad bytes</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.pad2_dummy">
<short>Pad bytes</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.unused1_dummy">
<short>Reserved for future use</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.unused2_dummy">
<short>Reserved for future use</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.unused3_dummy">
<short>Reserved for future use</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.unused4_dummy">
<short>Reserved for future use</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.unused5_dummy">
<short>Reserved for future use</short>
</element>
<!-- variable Visibility: default -->
<element name="timezone.tz_minuteswest">
<short>Minutes west of GMT</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- variable Visibility: default -->
<element name="timezone.tz_dsttime">
<short>Uses Daylight Savings Time</short>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_CPU">
<short>RLimit request CPU time in ms</short>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_FSIZE">
<short>Rlimit request maximum filesize</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_DATA">
<short>RLimit request max data size</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_STACK">
<short>RLimit request max stack size</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_CORE">
<short>RLimit request max core file size</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_RSS">
<short>RLimit request max resident set size</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_NPROC">
<short>RLimit request max number of processes</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_NOFILE">
<short>RLimit request max number of open files</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_MEMLOCK">
<short>RLimit request max locked-in-memory address space</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_AS">
<short>RLimit request address space limit</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="RLIMIT_LOCKS">
<short>RLimit request maximum file locks held</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- alias type Visibility: default -->
<element name="rlim_t">
<short>TRLimit record field type</short>
<descr>
<var>rlim_t</var> is used as the type for the various fields in the <link id="TRLimit"/> record.
</descr>
<seealso>
<link id="TRLimit"/>
</seealso>
</element>
<!-- pointer type Visibility: default -->
<element name="PRLimit">
<short>Pointer to <link id="#rtl.baseunix.TRLimit">TRLimit</link> record</short>
</element>
<!-- record type Visibility: default -->
<element name="TRLimit">
<short>Structure to return <var>RLimit</var> data in.</short>
<descr>
<var>TRLimit</var> is the structure used by the kernel to return resource limit information in.
</descr>
<seealso>
</seealso>
</element>
<!-- variable Visibility: default -->
<element name="TRLimit.rlim_cur">
<short>Current value of the resource.</short>
</element>
<!-- variable Visibility: default -->
<element name="TRLimit.rlim_max">
<short>Maximum value for the resource</short>
</element>
<!-- record type Visibility: default -->
<element name="iovec">
<short>IO buffer structure</short>
<descr>
<var>iovec</var> is used in <link id="fpreadv"/> for IO to multiple buffers to describe a buffer location.
</descr>
<seealso>
<link id="fpreadv"/>
<link id="fpwritev"/>
</seealso>
</element>
<!-- variable Visibility: default -->
<element name="iovec.iov_base">
<short>Location of the buffer</short>
</element>
<!-- variable Visibility: default -->
<element name="iovec.iov_len">
<short>Length of the buffer</short>
</element>
<!-- alias type Visibility: default -->
<element name="tiovec">
<short>Alias for the <link id="#rtl.baseunix.iovec">iovec</link> record type.</short>
</element>
<!-- pointer type Visibility: default -->
<element name="piovec">
<short>pointer to a <link id="#rtl.baseunix.iovec">iovec</link> record</short>
</element>
<!-- constant Visibility: default -->
<element name="SA_RESTORER">
<short>Signal restorer handler</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="SA_ONSTACK">
<short>Call the signal handler on an alternate signal stack</short>
<descr>
<var>SA_ONSTACK</var> is used in the <link id="fpsigaction"/> to indicate the signal handler
must be called on an alternate signal stack provided by <link id="fpsigaltstack"/>.
If an alternate stack is not available, the default stack will be used.
</descr>
<seealso>
<link id="fpsigaction"/>
<link id="fpsigaltstack"/>
</seealso>
</element>
<!-- constant Visibility: default -->
<element name="FPE_INTDIV">
<short>Value signalling integer divide in case of SIGFPE signal</short>
</element>
<!-- constant Visibility: default -->
<element name="FPE_INTOVF">
<short>Value signalling integer overflow in case of SIGFPE signal</short>
</element>
<!-- constant Visibility: default -->
<element name="FPE_FLTDIV">
<short>Value signalling floating point divide by zero in case of SIGFPE signal</short>
</element>
<!-- constant Visibility: default -->
<element name="FPE_FLTOVF">
<short>Value signalling floating point overflow in case of SIGFPE signal</short>
</element>
<!-- constant Visibility: default -->
<element name="FPE_FLTUND">
<short>Value signalling floating point underflow in case of SIGFPE signal</short>
</element>
<!-- constant Visibility: default -->
<element name="FPE_FLTRES">
<short>Value signalling floating point inexact result in case of SIGFPE signal</short>
</element>
<!-- constant Visibility: default -->
<element name="FPE_FLTINV">
<short>Value signalling floating point invalid operation in case of SIGFPE signal</short>
</element>
<!-- constant Visibility: default -->
<element name="FPE_FLTSUB">
<short>Value signalling floating point subscript out of range in case of SIGFPE signal</short>
</element>
<element name="tsiginfo._sifields">
<short>Extra signal information fields</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.gs">
<short>GS register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.__gsh">
<short>__gsh register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.fs">
<short>fs register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.__fsh">
<short>__fsh register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.es">
<short>es register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.__esh">
<short>__esh register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.ds">
<short>ds register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.__dsh">
<short>__dsh register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.edi">
<short>edi register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.esi">
<short>esi register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.ebp">
<short>dbp register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.esp">
<short>esp register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.ebx">
<short>ebx register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.edx">
<short>edx register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.ecx">
<short>ecx register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.eax">
<short>eax register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.trapno">
<short>trapno register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.err">
<short>err register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.eip">
<short>eip register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.cs">
<short>cs register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.__csh">
<short>__csh register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.eflags">
<short>eflags register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.esp_at_signal">
<short>esp register at signal (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.ss">
<short>ss register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.__ssh">
<short>__ssh register (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.fpstate">
<short>fpstate (intel)</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.oldmask">
<short>Old signal mask</short>
</element>
<!-- variable Visibility: default -->
<element name="TSigContext.cr2">
<short>cr register (intel)</short>
<descr>
</descr>
<seealso>
</seealso>
</element>
<!-- record type Visibility: default -->
<element name="tsigaltstack">
<short>Provide the location of an alternate signal handler stack.</short>
</element>
<!-- variable Visibility: default -->
<element name="tsigaltstack.ss_sp">
<short>Stack pointer</short>
</element>
<!-- variable Visibility: default -->
<element name="tsigaltstack.ss_flags">
<short>Flags</short>
</element>
<!-- variable Visibility: default -->
<element name="tsigaltstack.ss_size">
<short>Size of the alternate stack</short>
</element>
<!-- pointer type Visibility: default -->
<element name="Pucontext">
<short>Pointer to <link id="#rtl.baseunix.tucontext">TUContext</link> type.</short>
</element>
<!-- record type Visibility: default -->
<element name="TUcontext">
<short>Context description record</short>
<descr>
This structure is used to describe the user context in a program or thread.
It is not used in this unit, but is provided for completeness.
</descr>
</element>
<!-- variable Visibility: default -->
<element name="TUcontext.uc_flags">
<short>Flags describing the context</short>
</element>
<!-- variable Visibility: default -->
<element name="TUcontext.uc_link">
<short>Context that will be resumed when current context ends</short>
</element>
<!-- variable Visibility: default -->
<element name="TUcontext.uc_stack">
<short>Stack used by this context</short>
</element>
<!-- variable Visibility: default -->
<element name="TUcontext.uc_mcontext">
<short>Machine specific context representation of the context</short>
</element>
<!-- variable Visibility: default -->
<element name="TUcontext.uc_sigmask">
<short>Bitmask of masked signals in this context</short>
</element>
<!-- procedure type Visibility: default -->
<element name="signalhandler_t">
<short>Standard signal handler prototype</short>
</element>
<!-- procedure type Visibility: default -->
<element name="sigactionhandler_t">
<short>Standard signal action handler prototype</short>
</element>
<!-- procedure type Visibility: default -->
<element name="sigrestorerhandler_t">
<short>Standard signal action restorer prototype</short>
</element>
<!-- alias type Visibility: default -->
<element name="sigrestorerhandler">
<short>Alias for <link id="#rtl.baseunix.sigrestorerhandler_t">sigrestorerhandler_t</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="tsignalhandler">
<short>Alias for <link id="#rtl.baseunix.signalhandler_t">signalhandler_t</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="tsigactionhandler">
<short>Alias for <link id="#rtl.baseunix.sigactionhandler_t">sigactionhandler_t</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="tsigrestorerhandler">
<short>Alias for <link id="#rtl.baseunix.sigrestorerhandler_t">sigrestorerhandler_t</link> type.</short>
</element>
<!-- function Visibility: default -->
<element name="FpPRead">
<short>Positional read: read from file descriptor at a certain position.</short>
<descr>
<p>
<var>FpPRead</var> reads <var>nbytes</var> bytes from file descriptor <var>fd</var> into buffer <var>buf</var>
starting at offset <var>offset</var>. <var>Offset</var> is measured from the start of the file. This function
can only be used on files, not on pipes or sockets (i.e. any seekable file descriptor).
</p>
<p>
The function returns the number of bytes actually read, or -1 on error.
</p>
</descr>
<errors>
On error, -1 is returned.
</errors>
<seealso>
<link id="FpReadV"/>
<link id="FpPWrite"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpReadV">
<short>Vector read: Read into multiple buffers</short>
<descr>
<var>FpReadV</var> reads data from file descriptor <var>fd</var> and writes it
into <var>iovcnt</var> buffers described by the <link id="TIOVec">tiovec</link>
buffers pointed to by <var>iov</var>. It works like <link id="fpRead"/> only on
multiple buffers.
</descr>
<errors>
On error, -1 is returned.
</errors>
<seealso>
<link id="FpWriteV"/>
<link id="FpPWrite"/>
<link id="FpPRead"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpPWrite">
<short>Positional write: write to file descriptor at a certain position.</short>
<descr>
<p>
<var>FpPWrite</var> writes <var>nbytes</var> bytes from buffer <var>buf</var> into file descriptor <var>fd</var>
starting at offset <var>offset</var>. <var>Offset</var> is measured from the start of the file. This function
can only be used on files, not on pipes or sockets (i.e. any seekable file descriptor).
</p>
<p>
The function returns the number of bytes actually written, or -1 on error.
</p>
</descr>
<errors>
On error, -1 is returned.
</errors>
<seealso>
<link id="FpPRead"/>
<link id="FpWriteV"/>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="FpWriteV">
<short>Vector write: Write from multiple buffers to a file descriptor</short>
<descr>
<var>FpWriteV</var> writes data to file descriptor <var>fd</var>. The data is taken
from <var>iovcnt</var> buffers described by the <link id="TIOVec">tiovec</link>
buffers pointed to by <var>iov</var>. It works like <link id="fpWrite"/> only from
multiple buffers.
</descr>
<errors>
On error, -1 is returned.
</errors>
<seealso>
<link id="FpReadV"/>
<link id="FpPWrite"/>
<link id="FpPRead"/>
</seealso>
</element>
<!-- property Visibility: default -->
<element name="errno">
<short>Error code of last operation.</short>
<descr>
<var>Errno</var> contains the error code of the last operation.
It is thread-safe, meaning that it is the last operation of the current thread.
</descr>
<seealso>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="CreateShellArgV">
<short>Create a null-terminated array of strings from a command-line string</short>
<descr>
<var>CreateShellArgV</var> creates a command-line string for executing a shell command
using 'sh -c'. The result is a null-terminated array of null-terminated strings
suitable for use in <link id="fpExecv"/> and friends.
</descr>
<errors>
If no more memory is available, a heap error may occur.
</errors>
<seealso>
<link id="fpExecv"/>
<link id="FreeShellArgV"/>
</seealso>
</element>
<!-- procedure Visibility: default -->
<element name="FreeShellArgV">
<short>Free the result of a <link id="#rtl.baseunix.CreateShellArgV">CreateShellArgV</link> function</short>
<descr>
<var>FreeShellArgV</var> frees the memory pointed to by <var>P</var>, which was allocated by a call to
<link id="CreateShellArgV"/>.
</descr>
<errors>
None.
</errors>
<seealso>
<link id="CreateShellArgV"/>
</seealso>
</element>
<!-- alias type Visibility: default -->
<element name="Blkcnt64_t">
<short>64-bit block count</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.__pad0">
<short>Pad bytes, do not use</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.__st_ino">
<short>Inode number of file</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.__pad3">
<short>Pad bytes, do not use</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_atime_nsec">
<short>Access time with nanosecond precision</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_mtime_nsec">
<short>Modification time with nanosecond precision</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.st_ctime_nsec">
<short>Create time with nanosecond precision</short>
</element>
<!-- variable Visibility: default -->
<element name="Dirent.d_type">
<short>Entry type</short>
</element>
<!-- alias type Visibility: default -->
<element name="TIOCtlRequest">
<short>Easy access alias for <link id="#rtl.unixtype.TIOCtlRequest">unixtype.TIOCtlRequest</link></short>
</element>
<!-- constant Visibility: default -->
<element name="PRIO_PROCESS">
<short>Easy access alias for <link id="#rtl.unixtype.PRIO_PROCESS">unixtype.PRIO_PROCESS</link></short>
</element>
<!-- constant Visibility: default -->
<element name="PRIO_PGRP">
<short>Easy access alias for <link id="#rtl.unixtype.PRIO_PGRP">unixtype.PRIO_PGRP</link></short>
</element>
<!-- constant Visibility: default -->
<element name="PRIO_USER">
<short>Easy access alias for <link id="#rtl.unixtype.PRIO_USER">unixtype.PRIO_USER</link></short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.__ino">
<short>Inode number</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.atime_nsec">
<short>Last access time, nano seconds part</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.mtime_nsec">
<short>Last modification time, nano seconds part</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.ctime_nsec">
<short>Creation time, nano seconds part</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.__pad0_">
<short>Alignment padding.</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.__st_ino_">
<short>Inode number</short>
</element>
<!-- variable Visibility: default -->
<element name="Stat.__pad3_">
<short>Alignment padding.</short>
</element>
<!-- variable Visibility: default -->
<element name="_pad">
<short>Alignment padding.</short>
</element>
<!-- variable Visibility: default -->
<element name="_pid">
<short>Process ID</short>
</element>
<!-- variable Visibility: default -->
<element name="_uid">
<short>User ID</short>
</element>
<!-- variable Visibility: default -->
<element name="_kill">
<short>Signal</short>
</element>
<!-- variable Visibility: default -->
<element name="_timer1">
<short>Timer</short>
</element>
<!-- variable Visibility: default -->
<element name="_timer2">
<short>Timer</short>
</element>
<!-- variable Visibility: default -->
<element name="_timer">
<short>Timer</short>
</element>
<!-- variable Visibility: default -->
<element name="_sigval">
<short>signal</short>
</element>
<!-- variable Visibility: default -->
<element name="_rt">
<short>?</short>
</element>
<!-- variable Visibility: default -->
<element name="_status">
<short>?</short>
</element>
<!-- variable Visibility: default -->
<element name="_utime">
<short>?</short>
</element>
<!-- variable Visibility: default -->
<element name="_stime">
<short>?</short>
</element>
<!-- variable Visibility: default -->
<element name="_sigchld">
<short>?</short>
</element>
<!-- variable Visibility: default -->
<element name="_addr">
<short>?</short>
</element>
<!-- variable Visibility: default -->
<element name="_sigfault">
<short>?</short>
</element>
<!-- variable Visibility: default -->
<element name="_band">
<short>?</short>
</element>
<!-- variable Visibility: default -->
<element name="_fd">
<short>?</short>
</element>
<!-- variable Visibility: default -->
<element name="_sigpoll">
<short>?</short>
</element>
<!-- constant Visibility: default -->
<element name="MAP_FAILED">
<short>Memory mapping failed error code</short>
</element>
<!-- constant Visibility: default -->
<element name="MAP_ANON">
<short>Anonymous memory mapping (data private to application)</short>
</element>
<!-- alias type Visibility: default -->
<element name="csize_t">
<short>Character size type</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcsize_t">
<short>Pointer to <var>csize_t</var></short>
</element>
<!-- alias type Visibility: default -->
<element name="coff_t">
<short>Character offset type</short>
</element>
<!-- alias type Visibility: default -->
<element name="pSize_t">
<short>Pointer to <var>Size_t</var></short>
</element>
<!-- alias type Visibility: default -->
<element name="kernel_off_t">
<short>Kernel offset type</short>
</element>
<!-- alias type Visibility: default -->
<element name="kernel_loff_t">
<short>Long kernel offset type</short>
</element>
<!-- record type Visibility: default -->
<element name="FLock64">
<short>64-bit locking structure.</short>
<descr>
<var>FLock64</var> is the record used in the <link id="FpFcntl"/> file
locking call. It is the same as the <link id="FLock"/> type, only contains
64-bit offsets.
</descr>
<seealso>
<link id="FpFcntl"/>
<link id="FLock"/>
</seealso>
</element>
<!-- variable Visibility: default -->
<element name="FLock64.l_type">
<short>Lock type</short>
</element>
<!-- variable Visibility: default -->
<element name="FLock64.l_whence">
<short>Origin for <var>l_start</var> lock region offset.</short>
</element>
<!-- variable Visibility: default -->
<element name="FLock64.l_start">
<short>Offset of lock region, relative to <var>l_whence</var>.</short>
</element>
<!-- variable Visibility: default -->
<element name="FLock64.l_len">
<short>Lock region length</short>
</element>
<!-- variable Visibility: default -->
<element name="FLock64.l_pid">
<short>Process holding the lock on the region</short>
</element>
<!-- constant Visibility: default -->
<element name="POLLIN">
<short>Data is available for reading</short>
</element>
<!-- constant Visibility: default -->
<element name="POLLPRI">
<short>Urgent data is available for reading.</short>
</element>
<!-- constant Visibility: default -->
<element name="POLLOUT">
<short>Writing data will not block the write call</short>
</element>
<!-- constant Visibility: default -->
<element name="POLLERR">
<short>Error condition on output file descriptor</short>
</element>
<!-- constant Visibility: default -->
<element name="POLLHUP">
<short>Hang up</short>
</element>
<!-- constant Visibility: default -->
<element name="POLLNVAL">
<short>Invalid request, file descriptor not open.</short>
</element>
<!-- constant Visibility: default -->
<element name="POLLRDNORM">
<short>Same as <var>POLLIN</var>.</short>
</element>
<!-- constant Visibility: default -->
<element name="POLLRDBAND">
<short>Priority data ready for reading.</short>
</element>
<!-- constant Visibility: default -->
<element name="POLLWRNORM">
<short>Equivalent to POLLOUT.</short>
</element>
<!-- constant Visibility: default -->
<element name="POLLWRBAND">
<short>Priority data my be written.</short>
</element>
<!-- record type Visibility: default -->
<element name="pollfd">
<short>Poll structure</short>
<descr>
<var>pollfd</var> is used in the <link id="fpPoll"/> call to describe the
various actions.
</descr>
<seealso>
<link id="fpPoll"/>
</seealso>
</element>
<!-- variable Visibility: default -->
<element name="pollfd.fd">
<short>File descriptor</short>
</element>
<!-- variable Visibility: default -->
<element name="pollfd.events">
<short>Events to look for</short>
</element>
<!-- variable Visibility: default -->
<element name="pollfd.revents">
<short>Returned events</short>
</element>
<!-- alias type Visibility: default -->
<element name="tpollfd">
<short>Alias for <var>pollfd</var> type</short>
</element>
<!-- pointer type Visibility: default -->
<element name="ppollfd">
<short>Pointer to <var>tpollfd</var>.</short>
</element>
<!-- function Visibility: default -->
<element name="FpPoll">
<short>Poll a file descriptor for events.</short>
<descr>
<p>
<var>fpPoll</var> waits for events on file descriptors. <var>fds</var>
points to an array of <var>tpollfd</var> records, each of these records
describes a file descriptor on which to wait for events. The number of
file descriptors is given by <var>nfds</var>. <var>>timeout</var> specifies
the maximum time (in milliseconds) to wait for events.
</p>
<p>
On timeout, the result value is 0. If an event occurred on some descriptors,
then the return value is the number of descriptors on which an event (or
error) occured. The <var>revents</var> field of the <var>tpollfd</var>
records will contain the events for the file descriptor it described.
</p>
</descr>
<seealso>
<link id="tpollfd"/>
</seealso>
</element>
</module> <!-- BaseUnix -->
</package>
</fpdoc-descriptions>
|