LIB.PS
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:2183k
源码类别:
操作系统开发
开发平台:
C/C++
- 3690 V
- (37116)210 648 A
- (printf("\n");)546 1110 A
- 3780 V
- (37117)210 648 A
- 1026(})S
- 3960 V
- (37119)210 648 A
- 1026(/*)S
- 4050 V
- (37120)210 648 A
- 1068(-)S
- (regprop)294 1152 A
- 1488(-)S
- (printable)378 1572 A
- (representation)588 1992 A
- 2622(of)S
- (opcode)252 2748 A
- 4140 V
- (37121)210 648 A
- 1068(*/)S
- 4230 V
- (37122)210 648 A
- (PRIVATE)294 1026 A
- (char)168 1362 A
- (*regprop(op))504 1572 A
- 4320 V
- (37123)210 648 A
- (char)168 1026 A
- (*op;)168 1236 A
- 4410 V
- (37124)210 648 A
- 1026({)S
- 4500 V
- (37125)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- (*p;)126 1698 A
- 4590 V
- (37126)210 648 A
- (PRIVATE)294 1110 A
- (char)168 1446 A
- (buf[50];)336 1656 A
- 4680 V
- (37127)210 648 A
- 4770 V
- (37128)210 648 A
- ((void))252 1110 A
- (strcpy(buf,)462 1404 A
- (":");)210 1908 A
- 4860 V
- (37129)210 648 A
- 4950 V
- (37130)210 648 A
- (switch)252 1110 A
- ((OP(op)))336 1404 A
- 1782({)S
- 5040 V
- (37131)210 648 A
- (case)168 1278 A
- (BOL:)168 1488 A
- 1698(p)S
- 1782(=)S
- ("BOL";)252 1866 A
- (break;)252 2706 A
- 5130 V
- (37132)210 648 A
- (case)168 1278 A
- (EOL:)168 1488 A
- 1698(p)S
- 1782(=)S
- ("EOL";)252 1866 A
- (break;)252 2706 A
- 5220 V
- (37133)210 648 A
- (case)168 1278 A
- (ANY:)168 1488 A
- 1698(p)S
- 1782(=)S
- ("ANY";)252 1866 A
- (break;)252 2706 A
- 5310 V
- (37134)210 648 A
- (case)168 1278 A
- (ANYOF:)252 1488 A
- 2034(p)S
- 2118(=)S
- ("ANYOF";)336 2202 A
- (break;)252 3042 A
- 5400 V
- (37135)210 648 A
- (case)168 1278 A
- (ANYBUT:)294 1488 A
- 2034(p)S
- 2118(=)S
- ("ANYBUT";)378 2202 A
- (break;)252 3042 A
- 5490 V
- (37136)210 648 A
- (case)168 1278 A
- (BRANCH:)294 1488 A
- 2034(p)S
- 2118(=)S
- ("BRANCH";)378 2202 A
- (break;)252 3042 A
- 5580 V
- (37137)210 648 A
- (case)168 1278 A
- (EXACTLY:)336 1488 A
- 2034(p)S
- 2118(=)S
- ("EXACTLY";)420 2202 A
- (break;)252 3042 A
- 5670 V
- (37138)210 648 A
- (case)168 1278 A
- (NOTHING:)336 1488 A
- 2034(p)S
- 2118(=)S
- ("NOTHING";)420 2202 A
- (break;)252 3042 A
- 5760 V
- (37139)210 648 A
- (case)168 1278 A
- (BACK:)210 1488 A
- 2034(p)S
- 2118(=)S
- ("BACK";)294 2202 A
- (break;)252 3042 A
- 5850 V
- (37140)210 648 A
- (case)168 1278 A
- (END:)168 1488 A
- 1698(p)S
- 1782(=)S
- ("END";)252 1866 A
- (break;)252 2706 A
- 5940 V
- (37141)210 648 A
- (case)168 1278 A
- (OPEN)168 1488 A
- 1698(+)S
- 1782(1:)S
- 6030 V
- (37142)210 648 A
- (case)168 1278 A
- (OPEN)168 1488 A
- 1698(+)S
- 1782(2:)S
- 6120 V
- (37143)210 648 A
- (case)168 1278 A
- (OPEN)168 1488 A
- 1698(+)S
- 1782(3:)S
- 6210 V
- (37144)210 648 A
- (case)168 1278 A
- (OPEN)168 1488 A
- 1698(+)S
- 1782(4:)S
- 8418 V
- EP
- %%Page: 370 370
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (370)180 648 A
- 11 R
- 1947(File:)S
- (src/lib/other/regexp.c)948 2180 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (37145)210 648 A
- (case)168 1278 A
- (OPEN)168 1488 A
- 1698(+)S
- 1782(5:)S
- 990 V
- (37146)210 648 A
- (case)168 1278 A
- (OPEN)168 1488 A
- 1698(+)S
- 1782(6:)S
- 1080 V
- (37147)210 648 A
- (case)168 1278 A
- (OPEN)168 1488 A
- 1698(+)S
- 1782(7:)S
- 1170 V
- (37148)210 648 A
- (case)168 1278 A
- (OPEN)168 1488 A
- 1698(+)S
- 1782(8:)S
- 1260 V
- (37149)210 648 A
- (case)168 1278 A
- (OPEN)168 1488 A
- 1698(+)S
- 1782(9:)S
- 1350 V
- (37150)210 648 A
- (sprintf(buf)462 1362 A
- 1866(+)S
- (strlen(buf),)504 1950 A
- ("OPEN%d",)378 2496 A
- (OP(op))252 2916 A
- 3210(-)S
- (OPEN);)252 3294 A
- 1440 V
- (37151)210 648 A
- 1362(p)S
- 1446(=)S
- ((char)210 1530 A
- (*)NULL;)294 1782 A
- 1530 V
- (37152)210 648 A
- (break;)252 1362 A
- 1620 V
- (37153)210 648 A
- (case)168 1278 A
- (CLOSE)210 1488 A
- 1740(+)S
- 1824(1:)S
- 1710 V
- (37154)210 648 A
- (case)168 1278 A
- (CLOSE)210 1488 A
- 1740(+)S
- 1824(2:)S
- 1800 V
- (37155)210 648 A
- (case)168 1278 A
- (CLOSE)210 1488 A
- 1740(+)S
- 1824(3:)S
- 1890 V
- (37156)210 648 A
- (case)168 1278 A
- (CLOSE)210 1488 A
- 1740(+)S
- 1824(4:)S
- 1980 V
- (37157)210 648 A
- (case)168 1278 A
- (CLOSE)210 1488 A
- 1740(+)S
- 1824(5:)S
- 2070 V
- (37158)210 648 A
- (case)168 1278 A
- (CLOSE)210 1488 A
- 1740(+)S
- 1824(6:)S
- 2160 V
- (37159)210 648 A
- (case)168 1278 A
- (CLOSE)210 1488 A
- 1740(+)S
- 1824(7:)S
- 2250 V
- (37160)210 648 A
- (case)168 1278 A
- (CLOSE)210 1488 A
- 1740(+)S
- 1824(8:)S
- 2340 V
- (37161)210 648 A
- (case)168 1278 A
- (CLOSE)210 1488 A
- 1740(+)S
- 1824(9:)S
- 2430 V
- (37162)210 648 A
- (sprintf(buf)462 1362 A
- 1866(+)S
- (strlen(buf),)504 1950 A
- ("CLOSE%d",)420 2496 A
- (OP(op))252 2958 A
- 3252(-)S
- (CLOSE);)294 3336 A
- 2520 V
- (37163)210 648 A
- 1362(p)S
- 1446(=)S
- ((char)210 1530 A
- (*)NULL;)294 1782 A
- 2610 V
- (37164)210 648 A
- (break;)252 1362 A
- 2700 V
- (37165)210 648 A
- (case)168 1278 A
- (STAR:)210 1488 A
- 2034(p)S
- 2118(=)S
- ("STAR";)294 2202 A
- (break;)252 3042 A
- 2790 V
- (37166)210 648 A
- (case)168 1278 A
- (PLUS:)210 1488 A
- 2034(p)S
- 2118(=)S
- ("PLUS";)294 2202 A
- (break;)252 3042 A
- 2880 V
- (37167)210 648 A
- (default:)336 1278 A
- (regerror("corrupted)798 1698 A
- (opcode");)378 2538 A
- 2958(p)S
- 3042(=)S
- ((char)210 3126 A
- 3378(*))S
- (NULL;)210 3504 A
- (break;)252 3756 A
- 2970 V
- (37168)210 648 A
- 1110(})S
- 3060 V
- (37169)210 648 A
- 1110(if)S
- 1236((p)S
- 1362(!=)S
- ((char)210 1488 A
- (*)NULL))294 1740 A
- ((void))252 2076 A
- (strcat(buf,)462 2370 A
- (p);)126 2874 A
- 3150 V
- (37170)210 648 A
- (return(buf);)504 1110 A
- 3240 V
- (37171)210 648 A
- 1026(})S
- 3420 V
- (37173)210 648 A
- (#endif)252 1026 A
- 3690 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3780 V
- (src/lib/other/regsub.c)924 1698 A
- 3870 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4050 V
- (37200)210 648 A
- 1026(/*)S
- (regsub)252 1152 A
- 4140 V
- (37201)210 648 A
- 1068(*)S
- 4230 V
- (37202)210 648 A
- 1068(*)S
- (Copyright)378 1362 A
- ((c))126 1782 A
- (1986)168 1950 A
- 2160(by)S
- (University)420 2286 A
- 2748(of)S
- (Toronto.)336 2874 A
- 4320 V
- (37203)210 648 A
- 1068(*)S
- (Written)294 1362 A
- 1698(by)S
- (Henry)210 1824 A
- (Spencer.)336 2076 A
- (Not)126 2496 A
- (derived)294 2664 A
- (from)168 3000 A
- (licensed)336 3210 A
- (software.)378 3588 A
- 4410 V
- (37204)210 648 A
- 1068(*)S
- 4500 V
- (37205)210 648 A
- 1068(*)S
- (Permission)420 1362 A
- 1824(is)S
- (granted)294 1950 A
- 2286(to)S
- (anyone)252 2412 A
- 2706(to)S
- (use)126 2832 A
- (this)168 3000 A
- (software)336 3210 A
- (for)126 3588 A
- (any)126 3756 A
- 4590 V
- (37206)210 648 A
- 1068(*)S
- (purpose)294 1362 A
- 1698(on)S
- (any)126 1824 A
- (computer)336 1992 A
- (system,)294 2370 A
- (and)126 2706 A
- 2874(to)S
- (redistribute)504 3000 A
- 3546(it)S
- (freely,)294 3672 A
- 4680 V
- (37207)210 648 A
- 1068(*)S
- (subject)294 1362 A
- 1698(to)S
- (the)126 1824 A
- (following)378 1992 A
- (restrictions:)546 2412 A
- 4770 V
- (37208)210 648 A
- 1068(*)S
- 4860 V
- (37209)210 648 A
- 1068(*)S
- 1362(1.)S
- (The)126 1488 A
- (author)252 1656 A
- 1950(is)S
- (not)126 2076 A
- (responsible)462 2244 A
- (for)126 2748 A
- (the)126 2916 A
- (consequences)504 3084 A
- 3630(of)S
- (use)126 3756 A
- 3924(of)S
- 4950 V
- (37210)210 648 A
- 1068(*)S
- (this)168 1698 A
- (software,)378 1908 A
- 2328(no)S
- (matter)252 2454 A
- (how)126 2748 A
- (awful,)252 2916 A
- (even)168 3210 A
- 3420(if)S
- (they)168 3546 A
- (arise)210 3756 A
- 5040 V
- (37211)210 648 A
- 1068(*)S
- (from)168 1698 A
- (defects)294 1908 A
- 2244(in)S
- (it.)126 2370 A
- 5130 V
- (37212)210 648 A
- 1068(*)S
- 5220 V
- (37213)210 648 A
- 1068(*)S
- 1362(2.)S
- (The)126 1488 A
- (origin)252 1656 A
- 1950(of)S
- (this)168 2076 A
- (software)336 2286 A
- (must)168 2664 A
- (not)126 2874 A
- 3042(be)S
- (misrepresented,)630 3168 A
- (either)252 3840 A
- 5310 V
- (37214)210 648 A
- 1068(*)S
- 1698(by)S
- (explicit)336 1824 A
- (claim)210 2202 A
- 2454(or)S
- 2580(by)S
- (omission.)378 2706 A
- 5400 V
- (37215)210 648 A
- 1068(*)S
- 5490 V
- (37216)210 648 A
- 1068(*)S
- 1362(3.)S
- (Altered)294 1488 A
- (versions)336 1824 A
- (must)168 2202 A
- 2412(be)S
- (plainly)294 2538 A
- (marked)252 2874 A
- 3168(as)S
- (such,)210 3294 A
- (and)126 3546 A
- (must)168 3714 A
- (not)126 3924 A
- 5580 V
- (37217)210 648 A
- 1068(*)S
- 1698(be)S
- (misrepresented)588 1824 A
- 2454(as)S
- (being)210 2580 A
- (the)126 2832 A
- (original)336 3000 A
- (software.)378 3378 A
- 5670 V
- (37218)210 648 A
- 1068(*/)S
- 5760 V
- (37219)210 648 A
- 5850 V
- (37220)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5940 V
- (37221)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 6030 V
- (37222)210 648 A
- (#include)336 1026 A
- (<regexp.h>)420 1404 A
- 6120 V
- (37223)210 648 A
- (#include)336 1026 A
- (<stdio.h>)378 1404 A
- 6210 V
- (37224)210 648 A
- 8418 V
- EP
- %%Page: 371 371
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1951(File:)S
- (src/lib/other/regsub.c)941 2184 A
- 12 B
- (371)180 4248 A
- 900 V
- 7 LST
- (37225)210 648 A
- 1026(/*)S
- (The)126 1152 A
- (first)210 1320 A
- (byte)168 1572 A
- 1782(of)S
- (the)126 1908 A
- (regexp)252 2076 A
- (internal)336 2370 A
- ("program")378 2748 A
- 3168(is)S
- (actually)336 3294 A
- (this)168 3672 A
- (magic)210 3882 A
- 990 V
- (37226)210 648 A
- 1068(*)S
- (number;)294 1152 A
- (the)126 1488 A
- (start)210 1656 A
- (node)168 1908 A
- (begins)252 2118 A
- 2412(in)S
- (the)126 2538 A
- (second)252 2706 A
- (byte.)210 3000 A
- 1080 V
- (37227)210 648 A
- 1068(*/)S
- 1170 V
- (37228)210 648 A
- (#define)294 1026 A
- (MAGIC)210 1362 A
- (0234)168 1698 A
- 1260 V
- (37229)210 648 A
- 1350 V
- (37230)210 648 A
- (#define)294 1026 A
- (CHARBITS)336 1362 A
- (0377)168 1740 A
- 1440 V
- (37231)210 648 A
- (#ifndef)294 1026 A
- (CHARBITS)336 1362 A
- 1530 V
- (37232)210 648 A
- (#define)294 1026 A
- (UCHARAT(p))420 1362 A
- (((int)*(unsigned)672 2034 A
- (char)168 2748 A
- (*)(p)))252 2958 A
- 1620 V
- (37233)210 648 A
- (#else)210 1026 A
- 1710 V
- (37234)210 648 A
- (#define)294 1026 A
- (UCHARAT(p))420 1362 A
- (((int)*(p)&CHARBITS))840 2034 A
- 1800 V
- (37235)210 648 A
- (#endif)252 1026 A
- 1890 V
- (37236)210 648 A
- 1980 V
- (37237)210 648 A
- 1026(/*)S
- 2070 V
- (37238)210 648 A
- 1068(-)S
- (regsub)252 1152 A
- 1446(-)S
- (perform)294 1530 A
- (substitutions)546 1866 A
- (after)210 2454 A
- 2706(a)S
- (regexp)252 2790 A
- (match)210 3084 A
- 2160 V
- (37239)210 648 A
- 1068(*/)S
- 2250 V
- (37240)210 648 A
- (void)168 1026 A
- (regsub(prog,)504 1236 A
- (source,)294 1782 A
- (dest))210 2118 A
- 2340 V
- (37241)210 648 A
- (regexp)252 1026 A
- (*prog;)252 1320 A
- 2430 V
- (37242)210 648 A
- (char)168 1026 A
- (*source;)336 1236 A
- 2520 V
- (37243)210 648 A
- (char)168 1026 A
- (*dest;)252 1236 A
- 2610 V
- (37244)210 648 A
- 1026({)S
- 2700 V
- (37245)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- (*src;)210 1698 A
- 2790 V
- (37246)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- (*dst;)210 1698 A
- 2880 V
- (37247)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- 1698(c;)S
- 2970 V
- (37248)210 648 A
- (register)336 1110 A
- (int)126 1488 A
- (no;)126 1656 A
- 3060 V
- (37249)210 648 A
- (register)336 1110 A
- (int)126 1488 A
- (len;)168 1656 A
- 3150 V
- (37250)210 648 A
- 3240 V
- (37251)210 648 A
- 1110(if)S
- ((prog)210 1236 A
- 1488(==)S
- ((regexp)294 1614 A
- (*)NULL)252 1950 A
- 2244(||)S
- (source)252 2370 A
- 2664(==)S
- ((char)210 2790 A
- (*)NULL)252 3042 A
- 3336(||)S
- (dest)168 3462 A
- 3672(==)S
- ((char)210 3798 A
- (*)NULL))294 4050 A
- 4386({)S
- 3330 V
- (37252)210 648 A
- (regerror("NULL)588 1362 A
- (parm)168 1992 A
- 2202(to)S
- (regsub");)378 2328 A
- 3420 V
- (37253)210 648 A
- (return;)294 1362 A
- 3510 V
- (37254)210 648 A
- 1110(})S
- 3600 V
- (37255)210 648 A
- 1110(if)S
- ((UCHARAT(prog->program))966 1236 A
- 2244(!=)S
- (MAGIC))252 2370 A
- 2664({)S
- 3690 V
- (37256)210 648 A
- (regerror("damaged)714 1362 A
- (regexp)252 2118 A
- (fed)126 2412 A
- 2580(to)S
- (regsub");)378 2706 A
- 3780 V
- (37257)210 648 A
- (return;)294 1362 A
- 3870 V
- (37258)210 648 A
- 1110(})S
- 3960 V
- (37259)210 648 A
- (src)126 1110 A
- 1278(=)S
- (source;)294 1362 A
- 4050 V
- (37260)210 648 A
- (dst)126 1110 A
- 1278(=)S
- (dest;)210 1362 A
- 4140 V
- (37261)210 648 A
- (while)210 1110 A
- (((c)126 1362 A
- 1530(=)S
- (*src++))294 1614 A
- 1950(!=)S
- ('\0'))210 2076 A
- 2328({)S
- 4230 V
- (37262)210 648 A
- 1362(if)S
- 1488((c)S
- 1614(==)S
- ('&'))168 1740 A
- 4320 V
- (37263)210 648 A
- 1698(no)S
- 1824(=)S
- 1908(0;)S
- 4410 V
- (37264)210 648 A
- (else)168 1362 A
- 1572(if)S
- 1698((c)S
- 1824(==)S
- ('\\')168 1950 A
- 2160(&&)S
- ('0')126 2286 A
- 2454(<=)S
- (*src)168 2580 A
- 2790(&&)S
- (*src)168 2916 A
- 3126(<=)S
- ('9'))168 3252 A
- 4500 V
- (37265)210 648 A
- 1698(no)S
- 1824(=)S
- (*src++)252 1908 A
- 2202(-)S
- ('0';)168 2286 A
- 4590 V
- (37266)210 648 A
- (else)168 1362 A
- 4680 V
- (37267)210 648 A
- 1698(no)S
- 1824(=)S
- (-1;)126 1908 A
- 4770 V
- (37268)210 648 A
- 4860 V
- (37269)210 648 A
- 1362(if)S
- ((no)126 1488 A
- 1656(<)S
- 1740(0))S
- 1866({)S
- 2370(/*)S
- (Ordinary)336 2496 A
- (character.)420 2874 A
- 3336(*/)S
- 4950 V
- (37270)210 648 A
- 1698(if)S
- 1824((c)S
- 1950(==)S
- ('\\')168 2076 A
- 2286(&&)S
- ((*src)210 2412 A
- 2664(==)S
- ('\\')168 2790 A
- 3000(||)S
- (*src)168 3126 A
- 3336(==)S
- ('&')))210 3462 A
- 3714(c)S
- 3798(=)S
- (*src++;)294 3882 A
- 5040 V
- (37271)210 648 A
- (*dst++)252 1698 A
- 1992(=)S
- 2076(c;)S
- 5130 V
- (37272)210 648 A
- 1362(})S
- (else)168 1446 A
- 5220 V
- (37273)210 648 A
- 1362(if)S
- ((prog->startp[no])714 1488 A
- 2244(!=)S
- ((char)210 2370 A
- (*)NULL)252 2622 A
- 2916(&&)S
- (prog->endp[no])588 3042 A
- 3672(!=)S
- ((char)210 3798 A
- (*)NULL))294 4050 A
- 4386({)S
- 5310 V
- (37274)210 648 A
- (len)126 1698 A
- 1866(=)S
- ((int))210 1950 A
- ((prog->endp[no])630 2202 A
- 2874(-)S
- (prog->startp[no]);)756 2958 A
- 5400 V
- (37275)210 648 A
- (strncpy(dst,)504 1698 A
- (prog->startp[no],)714 2244 A
- (len);)210 3000 A
- 5490 V
- (37276)210 648 A
- (dst)126 1698 A
- 1866(+=)S
- (len;)168 1992 A
- 5580 V
- (37277)210 648 A
- 1698(if)S
- ((len)168 1824 A
- 2034(!=)S
- 2160(0)S
- 2244(&&)S
- (*(dst)210 2370 A
- 2622(-)S
- 2706(1))S
- 2832(==)S
- ('\0'))210 2958 A
- 3210({)S
- 3378(/*)S
- (strncpy)294 3504 A
- (hit)126 3840 A
- (NUL.)168 4008 A
- 4218(*/)S
- 5670 V
- (37278)210 648 A
- (regerror("damaged)714 2034 A
- (match)210 2790 A
- (string");)378 3042 A
- 5760 V
- (37279)210 648 A
- (return;)294 2034 A
- 5850 V
- (37280)210 648 A
- 1698(})S
- 5940 V
- (37281)210 648 A
- 1362(})S
- 6030 V
- (37282)210 648 A
- 1110(})S
- 6120 V
- (37283)210 648 A
- (*dst++)252 1110 A
- 1404(=)S
- ('\0';)210 1488 A
- 6210 V
- (37284)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 372 372
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (372)180 648 A
- 11 R
- 1957(File:)S
- (src/lib/other/rindex.c)929 2190 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/other/rindex.c)924 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (37300)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 1440 V
- (37301)210 648 A
- 1026(/*)S
- (rindex)252 1152 A
- 1446(-)S
- (find)168 1530 A
- (last)168 1740 A
- (occurrence)420 1950 A
- 2412(of)S
- 2538(a)S
- (character)378 2622 A
- 3042(in)S
- 3168(a)S
- (string)252 3252 A
- 3588(*/)S
- 1530 V
- (37302)210 648 A
- 1620 V
- (37303)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 1710 V
- (37304)210 648 A
- 1800 V
- (37305)210 648 A
- (char)168 1026 A
- (*rindex(s,)420 1236 A
- (charwanted))462 1698 A
- 2370(/*)S
- (found)210 2496 A
- (char,)210 2748 A
- 3000(or)S
- (NULL)168 3126 A
- 3336(if)S
- (none)168 3462 A
- 3672(*/)S
- 1890 V
- (37306)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*s;)126 1530 A
- 1980 V
- (37307)210 648 A
- (char)168 1026 A
- (charwanted;)462 1236 A
- 2070 V
- (37308)210 648 A
- 1026({)S
- 2160 V
- (37309)210 648 A
- (return(strrchr(s,)714 1110 A
- (charwanted));)546 1866 A
- 2250 V
- (37310)210 648 A
- 1026(})S
- 2790 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2880 V
- (src/lib/other/stderr.c)924 1698 A
- 2970 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3150 V
- (37400)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 3240 V
- (37401)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 3330 V
- (37402)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 3420 V
- (37403)210 648 A
- 3510 V
- (37404)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (std_err,)336 1740 A
- ((char)210 2118 A
- (*s));)210 2370 A
- 3600 V
- (37405)210 648 A
- 3690 V
- (37406)210 648 A
- (void)168 1026 A
- (std_err(s))420 1236 A
- 3780 V
- (37407)210 648 A
- (char)168 1026 A
- (*s;)126 1236 A
- 3870 V
- (37408)210 648 A
- 1026({)S
- 3960 V
- (37409)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- 1698(*p)S
- 1824(=)S
- 1908(s;)S
- 4050 V
- (37410)210 648 A
- 4140 V
- (37411)210 648 A
- (while)210 1110 A
- ((*p)126 1362 A
- 1530(!=)S
- 1656(0))S
- (p++;)168 1782 A
- 4230 V
- (37412)210 648 A
- (write(2,)336 1110 A
- 1488(s,)S
- ((int))210 1614 A
- 1866((p)S
- 1992(-)S
- (s));)168 2076 A
- 4320 V
- (37413)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/other/swab.c)840 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (37500)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5040 V
- (37501)210 648 A
- 1026(/*)S
- (swab(3))294 1194 A
- 5130 V
- (37502)210 648 A
- 1068(*)S
- 5220 V
- (37503)210 648 A
- 1068(*)S
- (Author:)294 1194 A
- (Terrence)336 1530 A
- 1908(W.)S
- (Holm)168 2034 A
- (Sep.)168 2622 A
- (1988)168 2832 A
- 5310 V
- (37504)210 648 A
- 1068(*/)S
- 5400 V
- (37505)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (swab,)210 1740 A
- ((char)210 1992 A
- (*from,)252 2244 A
- (char)168 2538 A
- (*to,)168 2748 A
- (int)126 2958 A
- (count));)336 3126 A
- 5490 V
- (37506)210 648 A
- 5580 V
- (37507)210 648 A
- (void)168 1026 A
- (swab(from,)420 1236 A
- (to,)126 1698 A
- (count))252 1866 A
- 5670 V
- (37508)210 648 A
- (char)168 1026 A
- (*from;)252 1236 A
- 5760 V
- (37509)210 648 A
- (char)168 1026 A
- (*to;)168 1236 A
- 5850 V
- (37510)210 648 A
- (int)126 1026 A
- (count;)252 1194 A
- 5940 V
- (37511)210 648 A
- 1026({)S
- 6030 V
- (37512)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- (temp;)210 1698 A
- 6120 V
- (37513)210 648 A
- 6210 V
- (37514)210 648 A
- (count)210 1110 A
- (>>=)126 1362 A
- 1530(1;)S
- 8418 V
- EP
- %%Page: 373 373
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1984(File:)S
- (src/lib/other/swab.c)874 2217 A
- 12 B
- (373)180 4248 A
- 900 V
- 7 LST
- (37515)210 648 A
- 990 V
- (37516)210 648 A
- (while)210 1110 A
- ((--count)336 1362 A
- 1740(>=)S
- 1866(0))S
- 1992({)S
- 1080 V
- (37517)210 648 A
- (temp)168 1362 A
- 1572(=)S
- (*from++;)336 1656 A
- 1170 V
- (37518)210 648 A
- (*to++)210 1362 A
- 1614(=)S
- (*from++;)336 1698 A
- 1260 V
- (37519)210 648 A
- (*to++)210 1362 A
- 1614(=)S
- (temp;)210 1698 A
- 1350 V
- (37520)210 648 A
- 1110(})S
- 1440 V
- (37521)210 648 A
- 1026(})S
- 1890 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1980 V
- (src/lib/other/syscall.c)966 1698 A
- 2070 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2250 V
- (37600)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 2340 V
- (37601)210 648 A
- 2430 V
- (37602)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (_syscall(who,)546 1488 A
- (syscallnr,)420 2076 A
- (msgptr))294 2538 A
- 2520 V
- (37603)210 648 A
- (int)126 1026 A
- (who;)168 1194 A
- 2610 V
- (37604)210 648 A
- (int)126 1026 A
- (syscallnr;)420 1194 A
- 2700 V
- (37605)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*msgptr;)336 1740 A
- 2790 V
- (37606)210 648 A
- 1026({)S
- 2880 V
- (37607)210 648 A
- (int)126 1110 A
- (status;)294 1278 A
- 2970 V
- (37608)210 648 A
- 3060 V
- (37609)210 648 A
- (msgptr->m_type)588 1110 A
- 1740(=)S
- (syscallnr;)420 1824 A
- 3150 V
- (37610)210 648 A
- (status)252 1110 A
- 1404(=)S
- (_sendrec(who,)546 1488 A
- (msgptr);)336 2076 A
- 3240 V
- (37611)210 648 A
- 1110(if)S
- ((status)294 1236 A
- 1572(!=)S
- 1698(0))S
- 1824({)S
- 3330 V
- (37612)210 648 A
- 1362(/*)S
- ('sendrec')378 1488 A
- (itself)252 1908 A
- (failed.)294 2202 A
- 2538(*/)S
- 3420 V
- (37613)210 648 A
- 1362(/*)S
- (XXX)126 1488 A
- 1656(-)S
- (strerror)336 1740 A
- (doesn't)294 2118 A
- (know)168 2454 A
- (all)126 2664 A
- (the)126 2832 A
- (codes)210 3000 A
- 3252(*/)S
- 3510 V
- (37614)210 648 A
- (msgptr->m_type)588 1362 A
- 1992(=)S
- (status;)294 2076 A
- 3600 V
- (37615)210 648 A
- 1110(})S
- 3690 V
- (37616)210 648 A
- 1110(if)S
- ((msgptr->m_type)630 1236 A
- 1908(<)S
- 1992(0))S
- 2118({)S
- 3780 V
- (37617)210 648 A
- (errno)210 1362 A
- 1614(=)S
- (-msgptr->m_type;)672 1698 A
- 3870 V
- (37618)210 648 A
- (return(-1);)462 1362 A
- 3960 V
- (37619)210 648 A
- 1110(})S
- 4050 V
- (37620)210 648 A
- (return(msgptr->m_type);)966 1110 A
- 4140 V
- (37621)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/other/sysconf.c)966 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (37700)210 648 A
- 1026(/*)S
- (sysconf.c)378 1152 A
- (POSIX)210 3378 A
- (4.8.1)210 3630 A
- 5040 V
- (37701)210 648 A
- 1068(*)S
- (long)168 1362 A
- (int)126 1572 A
- (sysconf(int)462 1740 A
- (name);)252 2244 A
- 5130 V
- (37702)210 648 A
- 1068(*)S
- 5220 V
- (37703)210 648 A
- 1068(*)S
- (POSIX)210 1362 A
- (allows)252 1614 A
- (some)168 1908 A
- 2118(of)S
- (the)126 2244 A
- (values)252 2412 A
- 2706(in)S
- (<limits.h>)420 2832 A
- 3294(to)S
- 3420(be)S
- (increased)378 3546 A
- 3966(at)S
- 5310 V
- (37704)210 648 A
- 1068(*)S
- (run)126 1362 A
- (time.)210 1530 A
- (The)126 1824 A
- (sysconf())378 1992 A
- (function)336 2412 A
- (allows)252 2790 A
- (such)168 3084 A
- (values)252 3294 A
- 3588(to)S
- 3714(be)S
- (checked)294 3840 A
- 5400 V
- (37705)210 648 A
- 1068(*)S
- 1362(at)S
- (run)126 1488 A
- (time.)210 1656 A
- (MINIX)210 1950 A
- (does)168 2202 A
- (not)126 2412 A
- (use)126 2580 A
- (this)168 2748 A
- (facility)336 2958 A
- 3336(-)S
- (the)126 3420 A
- (run)126 3588 A
- (time)168 3756 A
- 5490 V
- (37706)210 648 A
- 1068(*)S
- (limits)252 1362 A
- (are)126 1656 A
- (those)210 1824 A
- (given)210 2076 A
- 2328(in)S
- (<limits.h>.)462 2454 A
- 5580 V
- (37707)210 648 A
- 1068(*/)S
- 5670 V
- (37708)210 648 A
- 5760 V
- (37709)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5850 V
- (37710)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 5940 V
- (37711)210 648 A
- (#include)336 1026 A
- (<time.h>)336 1404 A
- 6030 V
- (37712)210 648 A
- 6120 V
- (37713)210 648 A
- (PUBLIC)252 1026 A
- (long)168 1320 A
- (int)126 1530 A
- (sysconf(name))546 1698 A
- 6210 V
- (37714)210 648 A
- (int)126 1026 A
- (name;)210 1194 A
- 2370(/*)S
- (property)336 2496 A
- (being)210 2874 A
- (inspected)378 3126 A
- 3546(*/)S
- 8418 V
- EP
- %%Page: 374 374
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (374)180 648 A
- 11 R
- 1929(File:)S
- (src/lib/other/sysconf.c)984 2162 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (37715)210 648 A
- 1026({)S
- 990 V
- (37716)210 648 A
- (switch(name))504 1110 A
- 1656({)S
- 1080 V
- (37717)210 648 A
- (case)168 1362 A
- (_SC_ARG_MAX:)504 1572 A
- 1170 V
- (37718)210 648 A
- (return)252 1698 A
- ((long))252 1992 A
- (ARG_MAX;)336 2286 A
- 1260 V
- (37719)210 648 A
- 1350 V
- (37720)210 648 A
- (case)168 1362 A
- (_SC_CHILD_MAX:)588 1572 A
- 1440 V
- (37721)210 648 A
- (return)252 1698 A
- ((long))252 1992 A
- (CHILD_MAX;)420 2286 A
- 1530 V
- (37722)210 648 A
- 1620 V
- (37723)210 648 A
- (case)168 1362 A
- (_SC_CLK_TCK:)504 1572 A
- 1710 V
- (37724)210 648 A
- (return)252 1698 A
- ((long))252 1992 A
- (CLOCKS_PER_SEC;)630 2286 A
- 1800 V
- (37725)210 648 A
- 1890 V
- (37726)210 648 A
- (case)168 1362 A
- (_SC_NGROUPS_MAX:)672 1572 A
- 1980 V
- (37727)210 648 A
- (return)252 1698 A
- ((long))252 1992 A
- (NGROUPS_MAX;)504 2286 A
- 2070 V
- (37728)210 648 A
- 2160 V
- (37729)210 648 A
- (case)168 1362 A
- (_SC_OPEN_MAX:)546 1572 A
- 2250 V
- (37730)210 648 A
- (return)252 1698 A
- ((long))252 1992 A
- (OPEN_MAX;)378 2286 A
- 2340 V
- (37731)210 648 A
- 2430 V
- (37732)210 648 A
- (case)168 1362 A
- (_SC_JOB_CONTROL:)672 1572 A
- 2520 V
- (37733)210 648 A
- (return)252 1698 A
- (-1L;)168 1992 A
- 3042(/*)S
- 3168(no)S
- (job)126 3294 A
- (control)294 3462 A
- 3798(*/)S
- 2610 V
- (37734)210 648 A
- 2700 V
- (37735)210 648 A
- (case)168 1362 A
- (_SC_SAVED_IDS:)588 1572 A
- 2790 V
- (37736)210 648 A
- (return)252 1698 A
- (-1L;)168 1992 A
- 3042(/*)S
- 3168(no)S
- (saved)210 3294 A
- (uid/gid)294 3546 A
- 3882(*/)S
- 2880 V
- (37737)210 648 A
- 2970 V
- (37738)210 648 A
- (case)168 1362 A
- (_SC_VERSION:)504 1572 A
- 3060 V
- (37739)210 648 A
- (return)252 1698 A
- ((long))252 1992 A
- (_POSIX_VERSION;)630 2286 A
- 3150 V
- (37740)210 648 A
- 3240 V
- (37741)210 648 A
- (case)168 1362 A
- (_SC_STREAM_MAX:)630 1572 A
- 3330 V
- (37742)210 648 A
- (return)252 1698 A
- ((long))252 1992 A
- (STREAM_MAX;)462 2286 A
- 3420 V
- (37743)210 648 A
- 3510 V
- (37744)210 648 A
- (case)168 1362 A
- (_SC_TZNAME_MAX:)630 1572 A
- 3600 V
- (37745)210 648 A
- (return)252 1698 A
- ((long))252 1992 A
- (TZNAME_MAX;)462 2286 A
- 3690 V
- (37746)210 648 A
- 3780 V
- (37747)210 648 A
- (default:)336 1362 A
- 3870 V
- (37748)210 648 A
- (errno)210 1698 A
- 1950(=)S
- (EINVAL;)294 2034 A
- 3960 V
- (37749)210 648 A
- (return)252 1698 A
- (-1L;)168 1992 A
- 4050 V
- (37750)210 648 A
- 1110(})S
- 4140 V
- (37751)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/other/telldir.c)966 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (37800)210 648 A
- 1026(/*)S
- (telldir())378 1362 A
- (Author:)294 3378 A
- (Kees)168 3714 A
- 3924(J.)S
- (Bot)126 4050 A
- 5040 V
- (37801)210 648 A
- 1068(*)S
- 3714(24)S
- (Apr)126 3840 A
- (1989)168 4008 A
- 5130 V
- (37802)210 648 A
- 1068(*/)S
- 5220 V
- (37803)210 648 A
- (#define)294 1026 A
- (nil)126 1362 A
- 1530(0)S
- 5310 V
- (37804)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5400 V
- (37805)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 5490 V
- (37806)210 648 A
- (#include)336 1026 A
- (<dirent.h>)420 1404 A
- 5580 V
- (37807)210 648 A
- (#include)336 1026 A
- (<errno.h>)378 1404 A
- 5670 V
- (37808)210 648 A
- 5760 V
- (37809)210 648 A
- (off_t)210 1026 A
- (telldir(DIR)462 1278 A
- (*dp))168 1782 A
- 5850 V
- (37810)210 648 A
- 1026(/*)S
- (Return)252 1152 A
- (the)126 1446 A
- (current)294 1614 A
- (read)168 1950 A
- (position)336 2160 A
- 2538(in)S
- 2664(a)S
- (directory.)420 2748 A
- 3210(*/)S
- 5940 V
- (37811)210 648 A
- 1026({)S
- 6030 V
- (37812)210 648 A
- 1362(if)S
- ((dp)126 1488 A
- 1656(==)S
- (nil))168 1782 A
- 1992({)S
- (errno=)252 2076 A
- (EBADF;)252 2370 A
- (return)252 2664 A
- (-1;)126 2958 A
- 3126(})S
- 6120 V
- (37813)210 648 A
- 6210 V
- (37814)210 648 A
- (return)252 1362 A
- (dp->_pos;)378 1656 A
- 8418 V
- EP
- %%Page: 375 375
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1965(File:)S
- (src/lib/other/telldir.c)912 2198 A
- 12 B
- (375)180 4248 A
- 900 V
- 7 LST
- (37815)210 648 A
- 1026(})S
- 1440 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1530 V
- (src/lib/other/termcap.c)966 1698 A
- 1620 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1800 V
- (37900)210 648 A
- 1026(/*)S
- 1890 V
- (37901)210 648 A
- 1068(*)S
- (termcap.c)378 1362 A
- (V1.1)168 2034 A
- (20/7/87)294 2370 A
- (agc)126 3042 A
- (Joypace)294 3378 A
- (Ltd)126 3714 A
- 1980 V
- (37902)210 648 A
- 1068(*)S
- 2070 V
- (37903)210 648 A
- 1068(*)S
- (Copyright)378 1362 A
- (Joypace)294 1782 A
- (Ltd,)168 2118 A
- (London,)294 2328 A
- (UK,)126 2664 A
- (1987.)210 2832 A
- (All)126 3084 A
- (rights)252 3252 A
- (reserved.)378 3546 A
- 2160 V
- (37904)210 648 A
- 1068(*)S
- (This)168 1362 A
- (file)168 1572 A
- (may)126 1782 A
- 1950(be)S
- (freely)252 2076 A
- (distributed)462 2370 A
- (provided)336 2874 A
- (that)168 3252 A
- (this)168 3462 A
- (notice)252 3672 A
- 2250 V
- (37905)210 648 A
- 1068(*)S
- (remains)294 1362 A
- (attached.)378 1698 A
- 2340 V
- (37906)210 648 A
- 1068(*)S
- 2430 V
- (37907)210 648 A
- 1068(*)S
- 1362(A)S
- (public)252 1446 A
- (domain)252 1740 A
- (implementation)588 2034 A
- 2664(of)S
- (the)126 2790 A
- (termcap(3))420 2958 A
- (routines.)378 3420 A
- 2520 V
- (37908)210 648 A
- 1068(*)S
- 2610 V
- (37909)210 648 A
- 1068(*)S
- 2700 V
- (37910)210 648 A
- 1068(*)S
- 2790 V
- (37911)210 648 A
- 1068(*)S
- (Klamer)252 1404 A
- (Schutte)294 1698 A
- (V1.2)168 2286 A
- (Nov.)168 2622 A
- (1988)168 2832 A
- 2880 V
- (37912)210 648 A
- 1068(*)S
- 2970 V
- (37913)210 648 A
- 1068(*)S
- 1236(-)S
- (Can)126 1320 A
- (match)210 1488 A
- (multiple)336 1740 A
- (terminal)336 2118 A
- (names)210 2496 A
- ([tgetent])378 3420 A
- 3060 V
- (37914)210 648 A
- 1068(*)S
- 1236(-)S
- (Removal)294 1320 A
- 1656(of)S
- (**area)252 1782 A
- (assignments)462 2076 A
- ([tgetstr])378 3420 A
- 3150 V
- (37915)210 648 A
- 1068(*)S
- 3240 V
- (37916)210 648 A
- 1068(*)S
- (Terrence)336 1404 A
- 1782(W.)S
- (Holm)168 1908 A
- (V1.3)168 2286 A
- (May,)168 2622 A
- (Sep,)168 2832 A
- (Oct.)168 3042 A
- (1988)168 3294 A
- 3330 V
- (37917)210 648 A
- 1068(*)S
- 3420 V
- (37918)210 648 A
- 1068(*)S
- 1236(-)S
- (Correct)294 1320 A
- (when)168 1656 A
- (TERM)168 1866 A
- 2076(!=)S
- (name)168 2202 A
- (and)126 2412 A
- (TERMCAP)294 2580 A
- 2916(is)S
- (defined)294 3042 A
- ([tgetent])378 3420 A
- 3510 V
- (37919)210 648 A
- 1068(*)S
- 1236(-)S
- (Correct)294 1320 A
- (the)126 1656 A
- (comparison)420 1824 A
- (for)126 2286 A
- (the)126 2454 A
- (terminal)336 2622 A
- (name)168 3000 A
- ([tgetent])378 3420 A
- 3600 V
- (37920)210 648 A
- 1068(*)S
- 1236(-)S
- (Correct)294 1320 A
- (the)126 1656 A
- (value)210 1824 A
- 2076(of)S
- 2202(303x)S
- (escapes)294 2328 A
- ([tgetstr])378 3420 A
- 3690 V
- (37921)210 648 A
- 1068(*)S
- 1236(-)S
- (Added)210 1320 A
- 1572(%r)S
- 1698(to)S
- (reverse)294 1824 A
- (row/column)420 2160 A
- ([tgoto])294 3420 A
- 3780 V
- (37922)210 648 A
- 1068(*)S
- 1236(-)S
- (Fixed)210 1320 A
- (end)126 1572 A
- 1740(of)S
- (definition)420 1866 A
- (test)168 2328 A
- ([tgetnum/flag/str])756 3420 A
- 3870 V
- (37923)210 648 A
- 1068(*)S
- 3960 V
- (37924)210 648 A
- 1068(*)S
- (Terrence)336 1404 A
- 1782(W.)S
- (Holm)168 1908 A
- (V1.4)168 2286 A
- (Jan.)168 2622 A
- (1989)168 2832 A
- 4050 V
- (37925)210 648 A
- 1068(*)S
- 4140 V
- (37926)210 648 A
- 1068(*)S
- 1236(-)S
- (Incorporated)504 1320 A
- (Klamer's)336 1866 A
- (V1.2)168 2244 A
- (fixes)210 2454 A
- (into)168 2706 A
- (V1.3)168 2916 A
- 4230 V
- (37927)210 648 A
- 1068(*)S
- 1236(-)S
- (Added)210 1320 A
- (%d,)126 1572 A
- ((old)168 1740 A
- 1950(%d)S
- 2076(is)S
- (now)126 2202 A
- (%2))126 2370 A
- ([tgoto])294 3420 A
- 4320 V
- (37928)210 648 A
- 1068(*)S
- 1236(-)S
- (Allow)210 1320 A
- ('#')126 1572 A
- (comments)336 1740 A
- 2118(in)S
- (definition)420 2244 A
- (file)168 2706 A
- ([tgetent])378 3420 A
- 4410 V
- (37929)210 648 A
- 1068(*/)S
- 4500 V
- (37930)210 648 A
- 4590 V
- (37931)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 4680 V
- (37932)210 648 A
- (#include)336 1026 A
- (<termcap.h>)462 1404 A
- 4770 V
- (37933)210 648 A
- (#include)336 1026 A
- (<ctype.h>)378 1404 A
- 4860 V
- (37934)210 648 A
- (#include)336 1026 A
- (<stdlib.h>)420 1404 A
- 4950 V
- (37935)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 5040 V
- (37936)210 648 A
- (#include)336 1026 A
- (<stdio.h>)378 1404 A
- 5130 V
- (37937)210 648 A
- 5220 V
- (37938)210 648 A
- (char)168 1026 A
- (*capab)252 1236 A
- 1530(=)S
- ((char)210 1614 A
- (*)NULL;)294 1866 A
- 2706(/*)S
- (the)126 2832 A
- (capability)420 3000 A
- (itself)252 3462 A
- 3756(*/)S
- 5310 V
- (37939)210 648 A
- 5400 V
- (37940)210 648 A
- (#if)126 1026 A
- 1194(0)S
- 5490 V
- (37941)210 648 A
- 1026(/*)S
- (The)126 1194 A
- (following)378 1362 A
- (are)126 1782 A
- (not)126 1950 A
- (yet)126 2118 A
- (used.)210 2286 A
- 2580(*/)S
- 5580 V
- (37942)210 648 A
- (extern)252 1026 A
- (short)210 1320 A
- (ospeed;)294 1572 A
- 2370(/*)S
- (output)252 2496 A
- (speed)210 2790 A
- 3042(*/)S
- 5670 V
- (37943)210 648 A
- (extern)252 1026 A
- (char)168 1320 A
- (PC;)126 1530 A
- 2370(/*)S
- (padding)294 2496 A
- (character)378 2832 A
- 3252(*/)S
- 5760 V
- (37944)210 648 A
- (extern)252 1026 A
- (char)168 1320 A
- (*BC;)168 1530 A
- 2370(/*)S
- (back)168 2496 A
- (cursor)252 2706 A
- (movement)336 3000 A
- 3378(*/)S
- 5850 V
- (37945)210 648 A
- (extern)252 1026 A
- (char)168 1320 A
- (*UP;)168 1530 A
- 2370(/*)S
- 2496(up)S
- (cursor)252 2622 A
- (movement)336 2916 A
- 3294(*/)S
- 5940 V
- (37946)210 648 A
- (#endif)252 1026 A
- 6030 V
- (37947)210 648 A
- 6120 V
- (37948)210 648 A
- 1026(/*)S
- 6210 V
- (37949)210 648 A
- 1068(*)S
- (tgetent)294 1362 A
- 1698(-)S
- (get)126 1782 A
- (the)126 1950 A
- (termcap)294 2118 A
- (entry)210 2454 A
- (for)126 2706 A
- (terminal)336 2874 A
- (name,)210 3252 A
- (and)126 3504 A
- (put)126 3672 A
- 3840(it)S
- 8418 V
- EP
- %%Page: 376 376
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (376)180 648 A
- 11 R
- 1919(File:)S
- (src/lib/other/termcap.c)1005 2152 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (37950)210 648 A
- 1068(*)S
- 1362(in)S
- 1488(bp)S
- ((which)252 1614 A
- (must)168 1908 A
- 2118(be)S
- 2244(an)S
- (array)210 2370 A
- 2622(of)S
- (1024)168 2748 A
- (chars).)294 2958 A
- (Returns)294 3294 A
- 3630(1)S
- 3714(if)S
- 990 V
- (37951)210 648 A
- 1068(*)S
- (termcap)294 1362 A
- (entry)210 1698 A
- (found,)252 1950 A
- 2244(0)S
- 2328(if)S
- (not)126 2454 A
- (found,)252 2622 A
- (and)126 2916 A
- 3084(-1)S
- 3210(if)S
- (file)168 3336 A
- (not)126 3546 A
- (found.)252 3714 A
- 1080 V
- (37952)210 648 A
- 1068(*/)S
- 1170 V
- (37953)210 648 A
- 1260 V
- (37954)210 648 A
- (int)126 1026 A
- (tgetent(bp,)462 1194 A
- (name))210 1698 A
- 1350 V
- (37955)210 648 A
- (char)168 1026 A
- (*bp;)168 1236 A
- 1440 V
- (37956)210 648 A
- (char)168 1026 A
- (*name;)252 1236 A
- 1530 V
- (37957)210 648 A
- 1026({)S
- 1620 V
- (37958)210 648 A
- (FILE)168 1110 A
- (*fp;)168 1320 A
- 1710 V
- (37959)210 648 A
- (char)168 1110 A
- (*file;)252 1320 A
- 1800 V
- (37960)210 648 A
- (char)168 1110 A
- (*term;)252 1320 A
- 1890 V
- (37961)210 648 A
- (short)210 1110 A
- (len)126 1362 A
- 1530(=)S
- (strlen(name);)546 1614 A
- 1980 V
- (37962)210 648 A
- 2070 V
- (37963)210 648 A
- (capab)210 1110 A
- 1362(=)S
- (bp;)126 1446 A
- 2160 V
- (37964)210 648 A
- 2250 V
- (37965)210 648 A
- 1110(/*)S
- 1236(If)S
- (TERMCAP)294 1362 A
- (begins)252 1698 A
- (with)168 1992 A
- 2202(a)S
- ('/')126 2286 A
- (then)168 2454 A
- (use)126 2664 A
- (TERMCAP)294 2832 A
- 3168(as)S
- (the)126 3294 A
- (path)168 3462 A
- 3756(*/)S
- 2340 V
- (37966)210 648 A
- 1110(/*)S
- (Name)168 1236 A
- 1446(of)S
- (the)126 1572 A
- (termcap)294 1740 A
- (definitions)462 2076 A
- (file.)210 2580 A
- 2832(If)S
- (TERMCAP)294 2958 A
- 3294(is)S
- 3420(a)S
- 3756(*/)S
- 2430 V
- (37967)210 648 A
- 1110(/*)S
- (Definition)420 1236 A
- (and)126 1698 A
- (TERM)168 1866 A
- (equals)252 2076 A
- ("name")252 2370 A
- (then)168 2664 A
- (use)126 2874 A
- (TERMCAP)294 3042 A
- 3378(as)S
- (the)126 3504 A
- 3756(*/)S
- 2520 V
- (37968)210 648 A
- 1110(/*)S
- (Definition.)462 1236 A
- (Otherwise)378 1740 A
- (use)126 2160 A
- ("/etc/termcap")588 2328 A
- 2958(as)S
- (the)126 3084 A
- (path)168 3252 A
- (name.)210 3462 A
- 3756(*/)S
- 2610 V
- (37969)210 648 A
- 2700 V
- (37970)210 648 A
- 1110(if)S
- (((file)252 1236 A
- 1530(=)S
- (getenv("TERMCAP")))756 1614 A
- 2412(==)S
- ((char)210 2538 A
- (*)NULL))294 2790 A
- 2790 V
- (37971)210 648 A
- (file)168 1362 A
- 1572(=)S
- ("/etc/termcap";)630 1656 A
- 2880 V
- (37972)210 648 A
- (else)168 1110 A
- 1320(if)S
- ((*file)252 1446 A
- 1740(!=)S
- ('/'))168 1866 A
- 2970 V
- (37973)210 648 A
- 1362(if)S
- (((term)252 1488 A
- 1782(=)S
- (getenv("TERM")))630 1866 A
- 2538(!=)S
- ((char)210 2664 A
- (*)NULL)252 2916 A
- 3210(&&)S
- (strcmp(term,)504 3336 A
- (name))210 3882 A
- 4134(==)S
- 4260(0))S
- 4386({)S
- 3060 V
- (37974)210 648 A
- (*bp)126 1698 A
- 1866(=)S
- ('\0';)210 1950 A
- 3150 V
- (37975)210 648 A
- (strncat(bp,)462 1698 A
- (file,)210 2202 A
- (1023);)252 2454 A
- 3240 V
- (37976)210 648 A
- (return(1);)420 1698 A
- 3330 V
- (37977)210 648 A
- 1362(})S
- (else)168 1446 A
- 3420 V
- (37978)210 648 A
- (file)168 1698 A
- 1908(=)S
- ("/etc/termcap";)630 1992 A
- 3510 V
- (37979)210 648 A
- 3600 V
- (37980)210 648 A
- 1110(if)S
- (((fp)168 1236 A
- 1446(=)S
- (fopen(file,)462 1530 A
- ("r")))210 2034 A
- 2286(==)S
- ((FILE)210 2412 A
- 2664(*))S
- (NULL))210 2790 A
- 3042({)S
- 3690 V
- (37981)210 648 A
- (capab)210 1362 A
- 1614(=)S
- ((char)210 1698 A
- (*)NULL;)294 1950 A
- 2706(/*)S
- 2832(no)S
- (valid)210 2958 A
- (termcap)294 3210 A
- 3588(*/)S
- 3780 V
- (37982)210 648 A
- (return(-1);)462 1362 A
- 3870 V
- (37983)210 648 A
- 1110(})S
- 3960 V
- (37984)210 648 A
- (for)126 1110 A
- ((;;))168 1278 A
- 1488({)S
- 4050 V
- (37985)210 648 A
- 1362(/*)S
- (Read)168 1488 A
- 1698(in)S
- (each)168 1824 A
- (definition)420 2034 A
- 2496(*/)S
- 4140 V
- (37986)210 648 A
- (int)126 1362 A
- (def_len)294 1530 A
- 1866(=)S
- 1950(0;)S
- 4230 V
- (37987)210 648 A
- (char)168 1362 A
- (*cp)126 1572 A
- 1740(=)S
- (bp;)126 1824 A
- 4320 V
- (37988)210 648 A
- 4410 V
- (37989)210 648 A
- 1362(do)S
- 1488({)S
- 4500 V
- (37990)210 648 A
- 1698(if)S
- ((fgets(&bp[def_len],)840 1824 A
- ((unsigned)378 2706 A
- (int)(1024)378 3126 A
- 3546(-)S
- (def_len),)378 3630 A
- (fp))126 4050 A
- 4218(==)S
- ((char)210 4344 A
- (*)NULL))294 4596 A
- 4932({)S
- 4590 V
- (37991)210 648 A
- (fclose(fp);)462 2034 A
- 4680 V
- (37992)210 648 A
- (capab)210 2034 A
- 2286(=)S
- ((char)210 2370 A
- (*)NULL;)294 2622 A
- 3042(/*)S
- 3168(no)S
- (valid)210 3294 A
- (termcap)294 3546 A
- 3882(*/)S
- 4770 V
- (37993)210 648 A
- (return(0);)420 2034 A
- 4860 V
- (37994)210 648 A
- 1698(})S
- 4950 V
- (37995)210 648 A
- (def_len)294 1698 A
- 2034(=)S
- (strlen(bp))420 2118 A
- 2580(-)S
- 2664(2;)S
- 5040 V
- (37996)210 648 A
- 1362(})S
- (while)210 1446 A
- ((bp[def_len])504 1698 A
- 2244(==)S
- ('\\');)252 2370 A
- 5130 V
- (37997)210 648 A
- 5220 V
- (37998)210 648 A
- (while)210 1362 A
- ((isspace(*cp)))588 1614 A
- (cp++;)210 2244 A
- 5310 V
- (37999)210 648 A
- 5400 V
- (38000)210 648 A
- 1362(/*)S
- (Comment)294 1488 A
- (lines)210 1824 A
- (start)210 2076 A
- (with)168 2328 A
- 2538(a)S
- ('#')126 2622 A
- 2832(*/)S
- 5490 V
- (38001)210 648 A
- 1362(if)S
- ((*cp)168 1488 A
- 1698(==)S
- ('#'))168 1824 A
- (continue;)378 2034 A
- 5580 V
- (38002)210 648 A
- 5670 V
- (38003)210 648 A
- 1362(/*)S
- (See)126 1488 A
- 1656(if)S
- (any)126 1782 A
- 1950(of)S
- (the)126 2076 A
- (terminal)336 2244 A
- (names)210 2622 A
- 2874(in)S
- (this)168 3000 A
- (definition)420 3210 A
- 3672(*/)S
- 5760 V
- (38004)210 648 A
- 1362(/*)S
- (Match)210 1488 A
- ("name".)294 1740 A
- 4092(*/)S
- 5850 V
- (38005)210 648 A
- 5940 V
- (38006)210 648 A
- 1362(do)S
- 1488({)S
- 6030 V
- (38007)210 648 A
- 1698(if)S
- ((strncmp(name,)588 1824 A
- (cp,)126 2454 A
- (len))168 2622 A
- 2832(==)S
- 2958(0)S
- 3042(&&)S
- 6120 V
- (38008)210 648 A
- ((cp[len])336 1866 A
- 2244(==)S
- ('|')126 2370 A
- 2538(||)S
- (cp[len])294 2664 A
- 3000(==)S
- (':')))210 3126 A
- 3378({)S
- 6210 V
- (38009)210 648 A
- (fclose(fp);)462 2034 A
- 8418 V
- EP
- %%Page: 377 377
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1919(File:)S
- (src/lib/other/termcap.c)1005 2152 A
- 12 B
- (377)180 4248 A
- 900 V
- 7 LST
- (38010)210 648 A
- (return(1);)420 2034 A
- 990 V
- (38011)210 648 A
- 1698(})S
- 1080 V
- (38012)210 648 A
- (while)210 1698 A
- (((*cp))252 1950 A
- 2244(&&)S
- ((*cp)168 2370 A
- 2580(!=)S
- ('|'))168 2706 A
- 2916(&&)S
- ((*cp)168 3042 A
- 3252(!=)S
- (':')))210 3378 A
- (cp++;)210 3630 A
- 1170 V
- (38013)210 648 A
- 1362(})S
- (while)210 1446 A
- ((*cp++)252 1698 A
- 1992(==)S
- ('|');)210 2118 A
- 1260 V
- (38014)210 648 A
- 1110(})S
- 1350 V
- (38015)210 648 A
- 1026(})S
- 1620 V
- (38018)210 648 A
- 1026(/*)S
- 1710 V
- (38019)210 648 A
- 1068(*)S
- (tgetnum)294 1362 A
- 1698(-)S
- (get)126 1782 A
- (the)126 1950 A
- (numeric)294 2118 A
- (terminal)336 2454 A
- (capability)420 2832 A
- (corresponding)546 3294 A
- 1800 V
- (38020)210 648 A
- 1068(*)S
- 1362(to)S
- (id.)126 1488 A
- (Returns)294 1656 A
- (the)126 1992 A
- (value,)252 2160 A
- 2454(-1)S
- 2580(if)S
- (invalid.)336 2706 A
- 1890 V
- (38021)210 648 A
- 1068(*/)S
- 1980 V
- (38022)210 648 A
- 2070 V
- (38023)210 648 A
- (int)126 1026 A
- (tgetnum(id))462 1194 A
- 2160 V
- (38024)210 648 A
- (char)168 1026 A
- (*id;)168 1236 A
- 2250 V
- (38025)210 648 A
- 1026({)S
- 2340 V
- (38026)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- (*cp)126 1698 A
- 1866(=)S
- (capab;)252 1950 A
- 2430 V
- (38027)210 648 A
- 2520 V
- (38028)210 648 A
- 1110(if)S
- ((cp)126 1236 A
- 1404(==)S
- ((char)210 1530 A
- (*)NULL)252 1782 A
- 2076(||)S
- 2202(id)S
- 2328(==)S
- ((char)210 2454 A
- (*)NULL))294 2706 A
- (return(-1);)462 3042 A
- 2610 V
- (38029)210 648 A
- 2700 V
- (38030)210 648 A
- (for)126 1110 A
- ((;;))168 1278 A
- 1488({)S
- 2790 V
- (38031)210 648 A
- (while)210 1362 A
- ((*cp++)252 1614 A
- 1908(!=)S
- (':'))168 2034 A
- 2880 V
- (38032)210 648 A
- 1698(if)S
- ((cp[-1])294 1824 A
- 2160(==)S
- ('\0'))210 2286 A
- (return(-1);)462 2538 A
- 2970 V
- (38033)210 648 A
- 3060 V
- (38034)210 648 A
- (while)210 1362 A
- ((isspace(*cp)))588 1614 A
- (cp++;)210 2244 A
- 3150 V
- (38035)210 648 A
- 3240 V
- (38036)210 648 A
- 1362(if)S
- ((strncmp(cp,)504 1488 A
- (id,)126 2034 A
- 2202(2))S
- 2328(==)S
- 2454(0)S
- 2538(&&)S
- (cp[2])210 2664 A
- 2916(==)S
- ('#'))168 3042 A
- (return(atoi(cp)588 3252 A
- 3882(+)S
- (3));)168 3966 A
- 3330 V
- (38037)210 648 A
- 1110(})S
- 3420 V
- (38038)210 648 A
- 1026(})S
- 3690 V
- (38041)210 648 A
- 1026(/*)S
- 3780 V
- (38042)210 648 A
- 1068(*)S
- (tgetflag)336 1362 A
- 1740(-)S
- (get)126 1824 A
- (the)126 1992 A
- (boolean)294 2160 A
- (flag)168 2496 A
- (corresponding)546 2706 A
- 3294(to)S
- (id.)126 3420 A
- (Returns)294 3588 A
- 3924(-1)S
- 3870 V
- (38043)210 648 A
- 1068(*)S
- 1362(if)S
- (invalid,)336 1488 A
- 1866(0)S
- 1950(if)S
- (the)126 2076 A
- (flag)168 2244 A
- 2454(is)S
- (not)126 2580 A
- 2748(in)S
- (termcap)294 2874 A
- (entry,)252 3210 A
- 3504(or)S
- 3630(1)S
- 3714(if)S
- 3840(it)S
- 3966(is)S
- 3960 V
- (38044)210 648 A
- 1068(*)S
- (present.)336 1362 A
- 4050 V
- (38045)210 648 A
- 1068(*/)S
- 4140 V
- (38046)210 648 A
- 4230 V
- (38047)210 648 A
- (int)126 1026 A
- (tgetflag(id))504 1194 A
- 4320 V
- (38048)210 648 A
- (char)168 1026 A
- (*id;)168 1236 A
- 4410 V
- (38049)210 648 A
- 1026({)S
- 4500 V
- (38050)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- (*cp)126 1698 A
- 1866(=)S
- (capab;)252 1950 A
- 4590 V
- (38051)210 648 A
- 4680 V
- (38052)210 648 A
- 1110(if)S
- ((cp)126 1236 A
- 1404(==)S
- ((char)210 1530 A
- (*)NULL)252 1782 A
- 2076(||)S
- 2202(id)S
- 2328(==)S
- ((char)210 2454 A
- (*)NULL))294 2706 A
- (return(-1);)462 3042 A
- 4770 V
- (38053)210 648 A
- 4860 V
- (38054)210 648 A
- (for)126 1110 A
- ((;;))168 1278 A
- 1488({)S
- 4950 V
- (38055)210 648 A
- (while)210 1362 A
- ((*cp++)252 1614 A
- 1908(!=)S
- (':'))168 2034 A
- 5040 V
- (38056)210 648 A
- 1698(if)S
- ((cp[-1])294 1824 A
- 2160(==)S
- ('\0'))210 2286 A
- (return(0);)420 2538 A
- 5130 V
- (38057)210 648 A
- 5220 V
- (38058)210 648 A
- (while)210 1362 A
- ((isspace(*cp)))588 1614 A
- (cp++;)210 2244 A
- 5310 V
- (38059)210 648 A
- 5400 V
- (38060)210 648 A
- 1362(if)S
- ((strncmp(cp,)504 1488 A
- (id,)126 2034 A
- 2202(2))S
- 2328(==)S
- 2454(0))S
- (return(1);)420 2580 A
- 5490 V
- (38061)210 648 A
- 1110(})S
- 5580 V
- (38062)210 648 A
- 1026(})S
- 5850 V
- (38065)210 648 A
- 1026(/*)S
- 5940 V
- (38066)210 648 A
- 1068(*)S
- (tgetstr)294 1362 A
- 1698(-)S
- (get)126 1782 A
- (the)126 1950 A
- (string)252 2118 A
- (capability)420 2412 A
- (corresponding)546 2874 A
- 3462(to)S
- 3588(id)S
- (and)126 3714 A
- (place)210 3882 A
- 6030 V
- (38067)210 648 A
- 1068(*)S
- 1362(it)S
- 1488(in)S
- (area)168 1614 A
- ((advancing)420 1824 A
- (area)168 2286 A
- 2496(at)S
- (same)168 2622 A
- (time).)252 2832 A
- (Expand)252 3126 A
- (escape)252 3420 A
- (sequences)378 3714 A
- 6120 V
- (38068)210 648 A
- 1068(*)S
- (etc.)168 1362 A
- (Returns)294 1572 A
- (the)126 1908 A
- (string,)294 2076 A
- 2412(or)S
- (NULL)168 2538 A
- 2748(if)S
- 2874(it)S
- (can't)210 3000 A
- 3252(do)S
- (it.)126 3378 A
- 6210 V
- (38069)210 648 A
- 1068(*/)S
- 8418 V
- EP
- %%Page: 378 378
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (378)180 648 A
- 11 R
- 1919(File:)S
- (src/lib/other/termcap.c)1005 2152 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (38070)210 648 A
- 990 V
- (38071)210 648 A
- (char)168 1026 A
- (*tgetstr(id,)504 1236 A
- (area))210 1782 A
- 1080 V
- (38072)210 648 A
- (char)168 1026 A
- (*id;)168 1236 A
- 1170 V
- (38073)210 648 A
- (char)168 1026 A
- (**area;)294 1236 A
- 1260 V
- (38074)210 648 A
- 1026({)S
- 1350 V
- (38075)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- (*cp)126 1698 A
- 1866(=)S
- (capab;)252 1950 A
- 1440 V
- (38076)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- (*wsp)168 1698 A
- 1908(=)S
- (*area;)252 1992 A
- 2370(/*)S
- (workspace)378 2496 A
- (pointer)294 2916 A
- 3294(*/)S
- 1530 V
- (38077)210 648 A
- 1620 V
- (38078)210 648 A
- 1110(if)S
- ((cp)126 1236 A
- 1404(==)S
- ((char)210 1530 A
- (*)NULL)252 1782 A
- 2076(||)S
- 2202(id)S
- 2328(==)S
- ((char)210 2454 A
- (*)NULL))294 2706 A
- (return((char)504 3042 A
- (*)NULL);)336 3588 A
- 1710 V
- (38079)210 648 A
- 1800 V
- (38080)210 648 A
- (for)126 1110 A
- ((;;))168 1278 A
- 1488({)S
- 1890 V
- (38081)210 648 A
- (while)210 1362 A
- ((*cp++)252 1614 A
- 1908(!=)S
- (':'))168 2034 A
- 1980 V
- (38082)210 648 A
- 1698(if)S
- ((cp[-1])294 1824 A
- 2160(==)S
- ('\0'))210 2286 A
- (return((char)504 2538 A
- (*)NULL);)336 3084 A
- 2070 V
- (38083)210 648 A
- 2160 V
- (38084)210 648 A
- (while)210 1362 A
- ((isspace(*cp)))588 1614 A
- (cp++;)210 2244 A
- 2250 V
- (38085)210 648 A
- 2340 V
- (38086)210 648 A
- 1362(if)S
- ((strncmp(cp,)504 1488 A
- (id,)126 2034 A
- 2202(2))S
- 2328(==)S
- 2454(0)S
- 2538(&&)S
- (cp[2])210 2664 A
- 2916(==)S
- ('='))168 3042 A
- 3252({)S
- 2430 V
- (38087)210 648 A
- (for)126 1698 A
- ((cp)126 1866 A
- 2034(+=)S
- 2160(3;)S
- (*cp)126 2286 A
- 2454(&&)S
- (*cp)126 2580 A
- 2748(!=)S
- (':';)168 2874 A
- (wsp++,)252 3084 A
- (cp++))210 3378 A
- (switch)252 3630 A
- ((*cp))210 3924 A
- 4176({)S
- 2520 V
- (38088)210 648 A
- (case)168 2202 A
- ('303':)168 2412 A
- 2610 V
- (38089)210 648 A
- (*wsp)168 2370 A
- 2580(=)S
- (*++cp)210 2664 A
- 2916(-)S
- ('@';)168 3000 A
- 2700 V
- (38090)210 648 A
- (break;)252 2370 A
- 2790 V
- (38091)210 648 A
- 2880 V
- (38092)210 648 A
- (case)168 2202 A
- ('\\':)210 2412 A
- 2970 V
- (38093)210 648 A
- (switch)252 2370 A
- ((*++cp))294 2664 A
- 3000({)S
- 3060 V
- (38094)210 648 A
- (case)168 2538 A
- ('E':)168 2748 A
- 3150 V
- (38095)210 648 A
- (*wsp)168 2706 A
- 2916(=)S
- ('\033';)294 3000 A
- 3240 V
- (38096)210 648 A
- (break;)252 2706 A
- 3330 V
- (38097)210 648 A
- (case)168 2538 A
- ('n':)168 2748 A
- 3420 V
- (38098)210 648 A
- (*wsp)168 2706 A
- 2916(=)S
- ('\n';)210 3000 A
- 3510 V
- (38099)210 648 A
- (break;)252 2706 A
- 3600 V
- (38100)210 648 A
- (case)168 2538 A
- ('r':)168 2748 A
- 3690 V
- (38101)210 648 A
- (*wsp)168 2706 A
- 2916(=)S
- ('\r';)210 3000 A
- 3780 V
- (38102)210 648 A
- (break;)252 2706 A
- 3870 V
- (38103)210 648 A
- (case)168 2538 A
- ('t':)168 2748 A
- 3960 V
- (38104)210 648 A
- (*wsp)168 2706 A
- 2916(=)S
- ('\t';)210 3000 A
- 4050 V
- (38105)210 648 A
- (break;)252 2706 A
- 4140 V
- (38106)210 648 A
- (case)168 2538 A
- ('b':)168 2748 A
- 4230 V
- (38107)210 648 A
- (*wsp)168 2706 A
- 2916(=)S
- ('\b';)210 3000 A
- 4320 V
- (38108)210 648 A
- (break;)252 2706 A
- 4410 V
- (38109)210 648 A
- (case)168 2538 A
- ('f':)168 2748 A
- 4500 V
- (38110)210 648 A
- (*wsp)168 2706 A
- 2916(=)S
- ('\f';)210 3000 A
- 4590 V
- (38111)210 648 A
- (break;)252 2706 A
- 4680 V
- (38112)210 648 A
- (case)168 2538 A
- ('0':)168 2748 A
- 4770 V
- (38113)210 648 A
- (case)168 2538 A
- ('1':)168 2748 A
- 4860 V
- (38114)210 648 A
- (case)168 2538 A
- ('2':)168 2748 A
- 4950 V
- (38115)210 648 A
- (case)168 2538 A
- ('3':)168 2748 A
- 5040 V
- (38116)210 648 A
- 2706({)S
- 5130 V
- (38117)210 648 A
- (int)126 3042 A
- 3210(i;)S
- 5220 V
- (38118)210 648 A
- (int)126 3042 A
- 3210(t)S
- 3294(=)S
- 3378(0;)S
- 5310 V
- (38119)210 648 A
- (for)126 3042 A
- 3210((i)S
- 3336(=)S
- 3420(0;)S
- 3546(i)S
- 3630(<)S
- 3714(3)S
- 3798(&&)S
- 5400 V
- (38120)210 648 A
- (isdigit(*cp);)546 3252 A
- (++i,)168 3840 A
- (++cp))210 4050 A
- 5490 V
- (38121)210 648 A
- 3378(t)S
- 3462(=)S
- 3546(t)S
- 3630(*)S
- 3714(8)S
- 3798(+)S
- (*cp)126 3882 A
- 4050(-)S
- ('0';)168 4134 A
- 5580 V
- (38122)210 648 A
- (*wsp)168 3042 A
- 3252(=)S
- 3336(t;)S
- 5670 V
- (38123)210 648 A
- (cp--;)210 3042 A
- 5760 V
- (38124)210 648 A
- (break;)252 3042 A
- 5850 V
- (38125)210 648 A
- 2706(})S
- 5940 V
- (38126)210 648 A
- (default:)336 2538 A
- 6030 V
- (38127)210 648 A
- (*wsp)168 2706 A
- 2916(=)S
- (*cp;)168 3000 A
- 6120 V
- (38128)210 648 A
- 2370(})S
- 6210 V
- (38129)210 648 A
- (break;)252 2370 A
- 8418 V
- EP
- %%Page: 379 379
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1919(File:)S
- (src/lib/other/termcap.c)1005 2152 A
- 12 B
- (379)180 4248 A
- 900 V
- 7 LST
- (38130)210 648 A
- 990 V
- (38131)210 648 A
- (default:)336 2202 A
- (*wsp)168 2706 A
- 2916(=)S
- (*cp;)168 3000 A
- 1080 V
- (38132)210 648 A
- 2034(})S
- 1170 V
- (38133)210 648 A
- 1260 V
- (38134)210 648 A
- (*wsp++)252 1698 A
- 1992(=)S
- ('\0';)210 2076 A
- 1350 V
- (38135)210 648 A
- 1440 V
- (38136)210 648 A
- 1698({)S
- 1530 V
- (38137)210 648 A
- (char)168 2034 A
- (*ret)168 2244 A
- 2454(=)S
- (*area;)252 2538 A
- 1620 V
- (38138)210 648 A
- (*area)210 2034 A
- 2286(=)S
- (wsp;)168 2370 A
- 1710 V
- (38139)210 648 A
- (return(ret);)504 2034 A
- 1800 V
- (38140)210 648 A
- 1698(})S
- 1890 V
- (38141)210 648 A
- 1362(})S
- 1980 V
- (38142)210 648 A
- 1110(})S
- 2370(/*)S
- (end)126 2496 A
- (for(;;))294 2664 A
- 3000(*/)S
- 2070 V
- (38143)210 648 A
- 1026(})S
- 2430 V
- (38147)210 648 A
- 1026(/*)S
- 2520 V
- (38148)210 648 A
- 1068(*)S
- (tgoto)210 1362 A
- 1614(-)S
- (given)210 1698 A
- (the)126 1950 A
- (cursor)252 2118 A
- (motion)252 2412 A
- (string)252 2706 A
- (cm,)126 3000 A
- (make)168 3168 A
- 3378(up)S
- (the)126 3504 A
- (string)252 3672 A
- 2610 V
- (38149)210 648 A
- 1068(*)S
- (for)126 1362 A
- (the)126 1530 A
- (cursor)252 1698 A
- 1992(to)S
- 2118(go)S
- 2244(to)S
- ((destcol,)378 2370 A
- (destline),)420 2790 A
- (and)126 3252 A
- (return)252 3420 A
- (the)126 3714 A
- (string.)294 3882 A
- 2700 V
- (38150)210 648 A
- 1068(*)S
- (Returns)294 1362 A
- ("OOPS")252 1698 A
- 1992(if)S
- (something's)462 2118 A
- (gone)168 2622 A
- (wrong,)252 2832 A
- 3126(or)S
- (the)126 3252 A
- (string)252 3420 A
- (otherwise.)420 3714 A
- 2790 V
- (38151)210 648 A
- 1068(*/)S
- 2880 V
- (38152)210 648 A
- 2970 V
- (38153)210 648 A
- (char)168 1026 A
- (*tgoto(cm,)420 1236 A
- (destcol,)336 1698 A
- (destline))378 2076 A
- 3060 V
- (38154)210 648 A
- (char)168 1026 A
- (*cm;)168 1236 A
- 3150 V
- (38155)210 648 A
- (int)126 1026 A
- (destcol;)336 1194 A
- 3240 V
- (38156)210 648 A
- (int)126 1026 A
- (destline;)378 1194 A
- 3330 V
- (38157)210 648 A
- 1026({)S
- 3420 V
- (38158)210 648 A
- (PRIVATE)294 1110 A
- (char)168 1446 A
- (ret[24];)336 1656 A
- 3510 V
- (38159)210 648 A
- (char)168 1110 A
- (*rp)126 1320 A
- 1488(=)S
- (ret;)168 1572 A
- 3600 V
- (38160)210 648 A
- (int)126 1110 A
- (incr)168 1278 A
- 1488(=)S
- 1572(0;)S
- 3690 V
- (38161)210 648 A
- (int)126 1110 A
- (argno)210 1278 A
- 1530(=)S
- 1614(0;)S
- 3780 V
- (38162)210 648 A
- (int)126 1110 A
- (numval;)294 1278 A
- 3870 V
- (38163)210 648 A
- 3960 V
- (38164)210 648 A
- (for)126 1110 A
- 1278((;)S
- (*cm;)168 1404 A
- (cm++))210 1614 A
- 1866({)S
- 4050 V
- (38165)210 648 A
- 1362(if)S
- ((*cm)168 1488 A
- 1698(==)S
- ('%'))168 1824 A
- 2034({)S
- 4140 V
- (38166)210 648 A
- (switch)252 1698 A
- ((*++cm))294 1992 A
- 2328({)S
- 4230 V
- (38167)210 648 A
- (case)168 1866 A
- ('i':)168 2076 A
- (incr)168 2370 A
- 2580(=)S
- 2664(1;)S
- (break;)252 4050 A
- 4320 V
- (38168)210 648 A
- 4410 V
- (38169)210 648 A
- (case)168 1866 A
- ('r':)168 2076 A
- (argno)210 2370 A
- 2622(=)S
- 2706(1;)S
- (break;)252 4050 A
- 4500 V
- (38170)210 648 A
- 4590 V
- (38171)210 648 A
- (case)168 1866 A
- ('+':)168 2076 A
- 4680 V
- (38172)210 648 A
- (numval)252 2034 A
- 2328(=)S
- ((argno)252 2412 A
- 2706(==)S
- 2832(0)S
- 2916(?)S
- (destline)336 3000 A
- 3378(:)S
- (destcol);)378 3462 A
- 4770 V
- (38173)210 648 A
- (*rp++)210 2034 A
- 2286(=)S
- (numval)252 2370 A
- 2664(+)S
- (incr)168 2748 A
- 2958(+)S
- (*++cm;)252 3042 A
- 4860 V
- (38174)210 648 A
- (argno)210 2034 A
- 2286(=)S
- 2370(1)S
- 2454(-)S
- (argno;)252 2538 A
- 4950 V
- (38175)210 648 A
- (break;)252 2034 A
- 5040 V
- (38176)210 648 A
- 5130 V
- (38177)210 648 A
- (case)168 1866 A
- ('2':)168 2076 A
- 5220 V
- (38178)210 648 A
- (numval)252 2034 A
- 2328(=)S
- ((argno)252 2412 A
- 2706(==)S
- 2832(0)S
- 2916(?)S
- (destline)336 3000 A
- 3378(:)S
- (destcol);)378 3462 A
- 5310 V
- (38179)210 648 A
- (numval)252 2034 A
- 2328(=)S
- ((numval)294 2412 A
- 2748(+)S
- (incr))210 2832 A
- 3084(%)S
- (100;)168 3168 A
- 5400 V
- (38180)210 648 A
- (*rp++)210 2034 A
- 2286(=)S
- ('0')126 2370 A
- 2538(+)S
- ((numval)294 2622 A
- 2958(/)S
- (10);)168 3042 A
- 5490 V
- (38181)210 648 A
- (*rp++)210 2034 A
- 2286(=)S
- ('0')126 2370 A
- 2538(+)S
- ((numval)294 2622 A
- 2958(%)S
- (10);)168 3042 A
- 5580 V
- (38182)210 648 A
- (argno)210 2034 A
- 2286(=)S
- 2370(1)S
- 2454(-)S
- (argno;)252 2538 A
- 5670 V
- (38183)210 648 A
- (break;)252 2034 A
- 5760 V
- (38184)210 648 A
- 5850 V
- (38185)210 648 A
- (case)168 1866 A
- ('d':)168 2076 A
- 5940 V
- (38186)210 648 A
- (numval)252 2034 A
- 2328(=)S
- ((argno)252 2412 A
- 2706(==)S
- 2832(0)S
- 2916(?)S
- (destline)336 3000 A
- 3378(:)S
- (destcol);)378 3462 A
- 6030 V
- (38187)210 648 A
- (numval)252 2034 A
- 2328(=)S
- ((numval)294 2412 A
- 2748(+)S
- (incr))210 2832 A
- 3084(%)S
- (1000;)210 3168 A
- 6120 V
- (38188)210 648 A
- 2034(if)S
- ((numval)294 2160 A
- 2496(>)S
- (99))126 2580 A
- (*rp++)210 2748 A
- 3000(=)S
- ('0')126 3084 A
- 3252(+)S
- ((numval)294 3336 A
- 3672(/)S
- (100);)210 3756 A
- 6210 V
- (38189)210 648 A
- 2034(if)S
- ((numval)294 2160 A
- 2496(>)S
- 2580(9))S
- (*rp++)210 2706 A
- 2958(=)S
- ('0')126 3042 A
- 3210(+)S
- ((numval)294 3294 A
- 3630(/)S
- (10))126 3714 A
- 3882(%)S
- (10;)126 3966 A
- 8418 V
- EP
- %%Page: 380 380
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (380)180 648 A
- 11 R
- 1919(File:)S
- (src/lib/other/termcap.c)1005 2152 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (38190)210 648 A
- (*rp++)210 2034 A
- 2286(=)S
- ('0')126 2370 A
- 2538(+)S
- ((numval)294 2622 A
- 2958(%)S
- (10);)168 3042 A
- 990 V
- (38191)210 648 A
- (argno)210 2034 A
- 2286(=)S
- 2370(1)S
- 2454(-)S
- (argno;)252 2538 A
- 1080 V
- (38192)210 648 A
- (break;)252 2034 A
- 1170 V
- (38193)210 648 A
- 1260 V
- (38194)210 648 A
- (case)168 1866 A
- ('%':)168 2076 A
- (*rp++)210 2370 A
- 2622(=)S
- ('%';)168 2706 A
- (break;)252 4050 A
- 1350 V
- (38195)210 648 A
- 1440 V
- (38196)210 648 A
- (default:)336 1866 A
- (return("OOPS");)630 2370 A
- 1530 V
- (38197)210 648 A
- 1698(})S
- 1620 V
- (38198)210 648 A
- 1710 V
- (38199)210 648 A
- 1362(})S
- (else)168 1446 A
- 1800 V
- (38200)210 648 A
- (*rp++)210 1698 A
- 1950(=)S
- (*cm;)168 2034 A
- 1890 V
- (38201)210 648 A
- 1110(})S
- 1980 V
- (38202)210 648 A
- 2070 V
- (38203)210 648 A
- (*rp)126 1110 A
- 1278(=)S
- ('\0';)210 1362 A
- 2160 V
- (38204)210 648 A
- (return(ret);)504 1110 A
- 2250 V
- (38205)210 648 A
- 1026(})S
- 2610 V
- (38209)210 648 A
- 1026(/*)S
- 2700 V
- (38210)210 648 A
- 1068(*)S
- (tputs)210 1362 A
- 1614(-)S
- (put)126 1698 A
- (the)126 1866 A
- (string)252 2034 A
- 2328(cp)S
- (out)126 2454 A
- (onto)168 2622 A
- (the)126 2832 A
- (terminal,)378 3000 A
- (using)210 3420 A
- (the)126 3672 A
- (function)336 3840 A
- 2790 V
- (38211)210 648 A
- 1068(*)S
- (outc.)210 1362 A
- (This)168 1614 A
- (should)252 1824 A
- 2118(do)S
- (padding)294 2244 A
- (for)126 2580 A
- (the)126 2748 A
- (terminal,)378 2916 A
- (but)126 3336 A
- 3504(I)S
- (can't)210 3588 A
- (find)168 3840 A
- 4050(a)S
- 2880 V
- (38212)210 648 A
- 1068(*)S
- (terminal)336 1362 A
- (that)168 1740 A
- (needs)210 1950 A
- (padding)294 2202 A
- 2538(at)S
- (the)126 2664 A
- (moment...)378 2832 A
- 2970 V
- (38213)210 648 A
- 1068(*/)S
- 3060 V
- (38214)210 648 A
- 3150 V
- (38215)210 648 A
- (int)126 1026 A
- (tputs(cp,)378 1194 A
- (affcnt,)294 1614 A
- (outc))210 1950 A
- 3240 V
- (38216)210 648 A
- (register)336 1026 A
- (char)168 1404 A
- (*cp;)168 1614 A
- 3330 V
- (38217)210 648 A
- (int)126 1026 A
- (affcnt;)294 1194 A
- 3420 V
- (38218)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- ((*outc),)336 1740 A
- ((int)168 2118 A
- (ch));)210 2328 A
- 3510 V
- (38219)210 648 A
- 1026({)S
- 3600 V
- (38220)210 648 A
- 1110(if)S
- ((cp)126 1236 A
- 1404(==)S
- ((char)210 1530 A
- (*)NULL))294 1782 A
- (return(1);)420 2118 A
- 3690 V
- (38221)210 648 A
- 1110(/*)S
- 1236(Do)S
- (any)126 1362 A
- (padding)294 1530 A
- (interpretation)588 1866 A
- 2496(-)S
- (left)168 2580 A
- (null)168 2790 A
- (for)126 3000 A
- (MINIX)210 3168 A
- (just)168 3420 A
- (now)126 3630 A
- 3798(*/)S
- 3780 V
- (38222)210 648 A
- (while)210 1110 A
- ((*cp))210 1362 A
- ((*outc))294 1614 A
- ((*cp++);)336 1950 A
- 3870 V
- (38223)210 648 A
- (return(1);)420 1110 A
- 3960 V
- (38224)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/other/ttyname.c)966 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (38300)210 648 A
- 1026(/*)S
- (ttyname.c)378 1152 A
- (POSIX)210 3378 A
- (4.7.2)210 3630 A
- 5040 V
- (38301)210 648 A
- 1068(*)S
- (char)168 1362 A
- (*ttyname(int)504 1572 A
- (fildes);)336 2118 A
- 5130 V
- (38302)210 648 A
- 1068(*)S
- 5220 V
- (38303)210 648 A
- 1068(*)S
- (Determines)420 1362 A
- (name)168 1824 A
- 2034(of)S
- 2160(a)S
- (terminal)336 2244 A
- (device.)294 2622 A
- 5310 V
- (38304)210 648 A
- 1068(*/)S
- 5400 V
- (38305)210 648 A
- 5490 V
- (38306)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5580 V
- (38307)210 648 A
- (#include)336 1026 A
- (<sys/stat.h>)504 1404 A
- 5670 V
- (38308)210 648 A
- (#include)336 1026 A
- (<dirent.h>)420 1404 A
- 5760 V
- (38309)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 5850 V
- (38310)210 648 A
- (#include)336 1026 A
- (<stddef.h>)420 1404 A
- 5940 V
- (38311)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 6030 V
- (38312)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 6120 V
- (38313)210 648 A
- 6210 V
- (38314)210 648 A
- (PRIVATE)294 1026 A
- (char)168 1362 A
- (base[])252 1572 A
- 1866(=)S
- ("/dev";)294 1950 A
- 8418 V
- EP
- %%Page: 381 381
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1919(File:)S
- (src/lib/other/ttyname.c)1004 2152 A
- 12 B
- (381)180 4248 A
- 900 V
- 7 LST
- (38315)210 648 A
- (PRIVATE)294 1026 A
- (char)168 1362 A
- (path[sizeof(base))714 1572 A
- 2328(+)S
- 2412(1)S
- 2496(+)S
- (NAME_MAX];)420 2580 A
- 3042(/*)S
- (extra)210 3168 A
- 3420(1)S
- (for)126 3504 A
- ('/')126 3672 A
- 3840(*/)S
- 990 V
- (38316)210 648 A
- 1080 V
- (38317)210 648 A
- (PUBLIC)252 1026 A
- (char)168 1320 A
- (*ttyname(fildes))672 1530 A
- 1170 V
- (38318)210 648 A
- (int)126 1026 A
- (fildes;)294 1194 A
- 1260 V
- (38319)210 648 A
- 1026({)S
- 1350 V
- (38320)210 648 A
- (DIR)126 1110 A
- (*devices;)378 1278 A
- 1440 V
- (38321)210 648 A
- (struct)252 1110 A
- (dirent)252 1404 A
- (*entry;)294 1698 A
- 1530 V
- (38322)210 648 A
- (struct)252 1110 A
- (stat)168 1404 A
- (tty_stat;)378 1614 A
- 1620 V
- (38323)210 648 A
- (struct)252 1110 A
- (stat)168 1404 A
- (dev_stat;)378 1614 A
- 1710 V
- (38324)210 648 A
- 1800 V
- (38325)210 648 A
- 1110(/*)S
- (Simple)252 1236 A
- (first)210 1530 A
- (test:)210 1782 A
- (file)168 2034 A
- (descriptor)420 2244 A
- (must)168 2706 A
- 2916(be)S
- 3042(a)S
- (character)378 3126 A
- (device)252 3546 A
- 3840(*/)S
- 1890 V
- (38326)210 648 A
- 1110(if)S
- ((fstat(fildes,)588 1236 A
- (&tty_stat))420 1866 A
- 2328(<)S
- 2412(0)S
- 2496(||)S
- (!S_ISCHR(tty_stat.st_mode)))1134 2622 A
- 1980 V
- (38327)210 648 A
- (return)252 1362 A
- ((char)210 1656 A
- 1908(*))S
- (NULL;)210 2034 A
- 2070 V
- (38328)210 648 A
- 2160 V
- (38329)210 648 A
- 1110(/*)S
- (Open)168 1236 A
- (device)252 1446 A
- (directory)378 1740 A
- (for)126 2160 A
- (reading)294 2328 A
- 2706(*/)S
- 2250 V
- (38330)210 648 A
- 1110(if)S
- (((devices)378 1236 A
- 1656(=)S
- (opendir(base)))588 1740 A
- 2370(==)S
- ((DIR)168 2496 A
- 2706(*))S
- (NULL))210 2832 A
- 2340 V
- (38331)210 648 A
- (return)252 1362 A
- ((char)210 1656 A
- 1908(*))S
- (NULL;)210 2034 A
- 2430 V
- (38332)210 648 A
- 2520 V
- (38333)210 648 A
- 1110(/*)S
- (Scan)168 1236 A
- (the)126 1446 A
- (entries)294 1614 A
- (for)126 1950 A
- (one)126 2118 A
- (that)168 2286 A
- (matches)294 2496 A
- (perfectly)378 2832 A
- 3252(*/)S
- 2610 V
- (38334)210 648 A
- (while)210 1110 A
- (((entry)294 1362 A
- 1698(=)S
- (readdir(devices)))714 1782 A
- 2538(!=)S
- ((struct)294 2664 A
- (dirent)252 3000 A
- 3294(*))S
- (NULL))210 3420 A
- 3672({)S
- 2700 V
- (38335)210 648 A
- 1362(if)S
- ((tty_stat.st_ino)672 1488 A
- 2202(!=)S
- (entry->d_ino))546 2328 A
- 2790 V
- (38336)210 648 A
- (continue;)378 1698 A
- 2880 V
- (38337)210 648 A
- (strcpy(path,)504 1362 A
- (base);)252 1908 A
- 2970 V
- (38338)210 648 A
- (strcat(path,)504 1362 A
- ("/");)210 1908 A
- 3060 V
- (38339)210 648 A
- (strcat(path,)504 1362 A
- (entry->d_name);)630 1908 A
- 3150 V
- (38340)210 648 A
- 1362(if)S
- ((stat(path,)462 1488 A
- (&dev_stat))420 1992 A
- 2454(<)S
- 2538(0)S
- 2622(||)S
- (!S_ISCHR(dev_stat.st_mode)))1134 2748 A
- 3240 V
- (38341)210 648 A
- (continue;)378 1698 A
- 3330 V
- (38342)210 648 A
- 1362(if)S
- ((tty_stat.st_ino)672 1488 A
- 2202(==)S
- (dev_stat.st_ino)630 2328 A
- 3000(&&)S
- 3420 V
- (38343)210 648 A
- (tty_stat.st_dev)630 1530 A
- 2202(==)S
- (dev_stat.st_dev)630 2328 A
- 3000(&&)S
- 3510 V
- (38344)210 648 A
- (tty_stat.st_rdev)672 1530 A
- 2244(==)S
- (dev_stat.st_rdev))714 2370 A
- 3126({)S
- 3600 V
- (38345)210 648 A
- (closedir(devices);)756 1698 A
- 3690 V
- (38346)210 648 A
- (return)252 1698 A
- (path;)210 1992 A
- 3780 V
- (38347)210 648 A
- 1362(})S
- 3870 V
- (38348)210 648 A
- 1110(})S
- 3960 V
- (38349)210 648 A
- 4050 V
- (38350)210 648 A
- (closedir(devices);)756 1110 A
- 4140 V
- (38351)210 648 A
- (return)252 1110 A
- ((char)210 1404 A
- 1656(*))S
- (NULL;)210 1782 A
- 4230 V
- (38352)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/other/ttyslot.c)966 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (38400)210 648 A
- 1026(/*)S
- 5040 V
- (38401)210 648 A
- (ttyslot.c)378 1026 A
- 5130 V
- (38402)210 648 A
- 5220 V
- (38403)210 648 A
- (Return)252 1026 A
- (the)126 1320 A
- (index)210 1488 A
- 1740(in)S
- (the)126 1866 A
- (utmp)168 2034 A
- (file)168 2244 A
- (for)126 2454 A
- (the)126 2622 A
- (current)294 2790 A
- (user's)252 3126 A
- (terminal.)378 3420 A
- (The)126 3840 A
- 5310 V
- (38404)210 648 A
- (current)294 1026 A
- (user's)252 1362 A
- (terminal)336 1656 A
- 2034(is)S
- (the)126 2160 A
- (first)210 2328 A
- (file)168 2580 A
- (descriptor)420 2790 A
- 3252(in)S
- (the)126 3378 A
- (range)210 3546 A
- (0..2)168 3798 A
- 5400 V
- (38405)210 648 A
- (for)126 1026 A
- (which)210 1194 A
- (ttyname())378 1446 A
- (returns)294 1866 A
- 2202(a)S
- (name.)210 2286 A
- (The)126 2538 A
- (index)210 2706 A
- 2958(is)S
- (the)126 3084 A
- (line)168 3252 A
- (number)252 3462 A
- 3756(in)S
- (the)126 3882 A
- 5490 V
- (38406)210 648 A
- (/etc/ttytab)462 1026 A
- (file.)210 1530 A
- 1782(0)S
- (will)168 1866 A
- 2076(be)S
- (returned)336 2202 A
- 2580(in)S
- (case)168 2706 A
- 2916(of)S
- 3042(an)S
- (error.)252 3168 A
- 5580 V
- (38407)210 648 A
- 5670 V
- (38408)210 648 A
- (Created:)336 1026 A
- (Oct)126 1698 A
- (11,)126 1866 A
- (1992)168 2034 A
- 2244(by)S
- (Philip)252 2370 A
- (Homburg)294 2664 A
- 5760 V
- (38409)210 648 A
- 1026(*/)S
- 5850 V
- (38410)210 648 A
- 5940 V
- (38411)210 648 A
- (#define)294 1026 A
- (_MINIX_SOURCE)546 1362 A
- 6030 V
- (38412)210 648 A
- 6120 V
- (38413)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 6210 V
- (38414)210 648 A
- (#include)336 1026 A
- (<ttyent.h>)420 1404 A
- 8418 V
- EP
- %%Page: 382 382
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (382)180 648 A
- 11 R
- 1960(File:)S
- (src/lib/other/ttyslot.c)923 2193 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (38415)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 990 V
- (38416)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 1080 V
- (38417)210 648 A
- 1170 V
- (38418)210 648 A
- (int)126 1026 A
- (ttyslot())378 1194 A
- 1260 V
- (38419)210 648 A
- 1026({)S
- 1350 V
- (38420)210 648 A
- (int)126 1362 A
- (slot;)210 1530 A
- 1440 V
- (38421)210 648 A
- 1530 V
- (38422)210 648 A
- (slot=)210 1362 A
- (fttyslot(0);)504 1614 A
- 1620 V
- (38423)210 648 A
- 1362(if)S
- ((slot)210 1488 A
- 1740(==)S
- 1866(0))S
- (slot=)210 1992 A
- (fttyslot(1);)504 2244 A
- 1710 V
- (38424)210 648 A
- 1362(if)S
- ((slot)210 1488 A
- 1740(==)S
- 1866(0))S
- (slot=)210 1992 A
- (fttyslot(2);)504 2244 A
- 1800 V
- (38425)210 648 A
- (return)252 1362 A
- (slot;)210 1656 A
- 1890 V
- (38426)210 648 A
- 1026(})S
- 2070 V
- (38428)210 648 A
- (int)126 1026 A
- (fttyslot(fd))504 1194 A
- 2160 V
- (38429)210 648 A
- (int)126 1026 A
- (fd;)126 1194 A
- 2250 V
- (38430)210 648 A
- 1026({)S
- 2340 V
- (38431)210 648 A
- (char)168 1362 A
- (*tname;)294 1572 A
- 2430 V
- (38432)210 648 A
- (int)126 1362 A
- (lineno;)294 1530 A
- 2520 V
- (38433)210 648 A
- (struct)252 1362 A
- (ttyent)252 1656 A
- (*ttyp;)252 1950 A
- 2610 V
- (38434)210 648 A
- 2700 V
- (38435)210 648 A
- (tname=)252 1362 A
- (ttyname(fd);)504 1656 A
- 2790 V
- (38436)210 648 A
- 1362(if)S
- ((tname)252 1488 A
- 1782(==)S
- (NULL))210 1908 A
- (return)252 2160 A
- 2454(0;)S
- 2880 V
- (38437)210 648 A
- 2970 V
- (38438)210 648 A
- 1362(/*)S
- (Assume)252 1488 A
- (that)168 1782 A
- (tty)126 1992 A
- (devices)294 2160 A
- (are)126 2496 A
- 2664(in)S
- (/dev)168 2790 A
- 3000(*/)S
- 3060 V
- (38439)210 648 A
- 1362(if)S
- ((strncmp(tname,)630 1488 A
- ("/dev/",)336 2160 A
- 2538(5))S
- 2664(!=)S
- 2790(0))S
- 3150 V
- (38440)210 648 A
- (return)252 1698 A
- 1992(0;)S
- 2370(/*)S
- (Malformed)378 2496 A
- (tty)126 2916 A
- (name.)210 3084 A
- 3336(*/)S
- 3240 V
- (38441)210 648 A
- (tname)210 1362 A
- 1614(+=)S
- 1740(5;)S
- 3330 V
- (38442)210 648 A
- 3420 V
- (38443)210 648 A
- 1362(/*)S
- (Scan)168 1488 A
- (/etc/ttytab.)504 1698 A
- 2244(*/)S
- 3510 V
- (38444)210 648 A
- (lineno=)294 1362 A
- 1698(1;)S
- 3600 V
- (38445)210 648 A
- (while)210 1362 A
- (((ttyp=)294 1614 A
- (getttyent()))504 1950 A
- 2496(!=)S
- (NULL))210 2622 A
- 3690 V
- (38446)210 648 A
- 1362({)S
- 3780 V
- (38447)210 648 A
- 1698(if)S
- ((strcmp(tname,)588 1824 A
- (ttyp->ty_name))588 2454 A
- 3084(==)S
- 3210(0))S
- 3870 V
- (38448)210 648 A
- 1698({)S
- 3960 V
- (38449)210 648 A
- (endttyent();)504 2034 A
- 4050 V
- (38450)210 648 A
- (return)252 2034 A
- (lineno;)294 2328 A
- 4140 V
- (38451)210 648 A
- 1698(})S
- 4230 V
- (38452)210 648 A
- (lineno++;)378 1698 A
- 4320 V
- (38453)210 648 A
- 1362(})S
- 4410 V
- (38454)210 648 A
- 1362(/*)S
- 1488(No)S
- (match)210 1614 A
- 1866(*/)S
- 4500 V
- (38455)210 648 A
- (endttyent();)504 1362 A
- 4590 V
- (38456)210 648 A
- (return)252 1362 A
- 1656(0;)S
- 4680 V
- (38457)210 648 A
- 1026(})S
- 4860 V
- (38459)210 648 A
- 1026(/*)S
- 4950 V
- (38460)210 648 A
- 1068(*)S
- ($PchHeader:)462 1152 A
- (/mount/hd2/minix/lib/misc/RCS/ttyslot.c,v)1722 1656 A
- (1.3)126 3420 A
- (1994/12/22)420 3588 A
- (13:49:12)336 4050 A
- (philip)252 4428 A
- (Exp)126 4722 A
- 4890($)S
- 5040 V
- (38461)210 648 A
- 1068(*/)S
- 8418 V
- EP
- %%Page: 383 383
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1954(File:)S
- (src/lib/posix/__exit.c)934 2187 A
- 12 B
- (383)180 4248 A
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/posix/__exit.c)924 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (38500)210 648 A
- (#define)294 1026 A
- (_exit)210 1362 A
- (__exit)252 1698 A
- 1440 V
- (38501)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 1530 V
- (38502)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 1620 V
- (38503)210 648 A
- 1710 V
- (38504)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (_exit(status))546 1530 A
- 1800 V
- (38505)210 648 A
- (int)126 1026 A
- (status;)294 1194 A
- 1890 V
- (38506)210 648 A
- 1026({)S
- 1980 V
- (38507)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 2070 V
- (38508)210 648 A
- 2160 V
- (38509)210 648 A
- (m.m1_i1)294 1110 A
- 1446(=)S
- (status;)294 1530 A
- 2250 V
- (38510)210 648 A
- (_syscall(MM,)504 1110 A
- (EXIT,)210 1656 A
- (&m);)168 1908 A
- 2340 V
- (38511)210 648 A
- 1026(})S
- 2790 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2880 V
- (src/lib/posix/_access.c)966 1698 A
- 2970 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3150 V
- (38600)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 3240 V
- (38601)210 648 A
- (#define)294 1026 A
- (access)252 1362 A
- (_access)294 1698 A
- 3330 V
- (38602)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 3420 V
- (38603)210 648 A
- 3510 V
- (38604)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (access(name,)504 1488 A
- (mode))210 2034 A
- 3600 V
- (38605)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*name;)252 1530 A
- 3690 V
- (38606)210 648 A
- (int)126 1026 A
- (mode;)210 1194 A
- 3780 V
- (38607)210 648 A
- 1026({)S
- 3870 V
- (38608)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 3960 V
- (38609)210 648 A
- 4050 V
- (38610)210 648 A
- (m.m3_i2)294 1110 A
- 1446(=)S
- (mode;)210 1530 A
- 4140 V
- (38611)210 648 A
- (_loadname(name,)630 1110 A
- (&m);)168 1782 A
- 4230 V
- (38612)210 648 A
- (return(_syscall(FS,)798 1110 A
- (ACCESS,)294 1950 A
- (&m));)210 2286 A
- 4320 V
- (38613)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/posix/_alarm.c)924 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (38700)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5040 V
- (38701)210 648 A
- (#define)294 1026 A
- (alarm)210 1362 A
- (_alarm)252 1698 A
- 5130 V
- (38702)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 5220 V
- (38703)210 648 A
- 5310 V
- (38704)210 648 A
- (PUBLIC)252 1026 A
- (unsigned)336 1320 A
- (int)126 1698 A
- (alarm(sec))420 1866 A
- 5400 V
- (38705)210 648 A
- (unsigned)336 1026 A
- (int)126 1404 A
- (sec;)168 1572 A
- 5490 V
- (38706)210 648 A
- 1026({)S
- 5580 V
- (38707)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 5670 V
- (38708)210 648 A
- 5760 V
- (38709)210 648 A
- (m.m1_i1)294 1110 A
- 1446(=)S
- ((int))210 1530 A
- (sec;)168 1782 A
- 5850 V
- (38710)210 648 A
- (return()294 1110 A
- ((unsigned))420 1446 A
- (_syscall(MM,)504 1908 A
- (ALARM,)252 2454 A
- (&m));)210 2748 A
- 5940 V
- (38711)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 384 384
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (384)180 648 A
- 11 R
- 1812(File:)S
- (src/lib/posix/_cfgetispeed.c)1219 2045 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/posix/_cfgetispeed.c)1176 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (38800)210 648 A
- 1026(/*)S
- 1440 V
- (38801)210 648 A
- (posix/_cfgetispeed)756 1026 A
- 1530 V
- (38802)210 648 A
- 1620 V
- (38803)210 648 A
- (Created:)336 1026 A
- (June)168 1698 A
- (11,)126 1908 A
- (1993)168 2076 A
- 2286(by)S
- (Philip)252 2412 A
- (Homburg)294 2706 A
- 1710 V
- (38804)210 648 A
- 1026(*/)S
- 1800 V
- (38805)210 648 A
- 1890 V
- (38806)210 648 A
- (#include)336 1026 A
- (<termios.h>)462 1404 A
- 1980 V
- (38807)210 648 A
- 2070 V
- (38808)210 648 A
- (speed_t)294 1026 A
- (_cfgetispeed(const)756 1362 A
- (struct)252 2160 A
- (termios)294 2454 A
- (*termios_p))462 2790 A
- 2160 V
- (38809)210 648 A
- 1026({)S
- 2250 V
- (38810)210 648 A
- (return)252 1110 A
- (termios_p->c_ispeed;)840 1404 A
- 2340 V
- (38811)210 648 A
- 1026(})S
- 2790 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2880 V
- (src/lib/posix/_cfgetospeed.c)1176 1698 A
- 2970 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3150 V
- (38900)210 648 A
- 1026(/*)S
- 3240 V
- (38901)210 648 A
- (posix/_cfgetospeed)756 1026 A
- 3330 V
- (38902)210 648 A
- 3420 V
- (38903)210 648 A
- (Created:)336 1026 A
- (June)168 1698 A
- (11,)126 1908 A
- (1993)168 2076 A
- 2286(by)S
- (Philip)252 2412 A
- (Homburg)294 2706 A
- 3510 V
- (38904)210 648 A
- 1026(*/)S
- 3600 V
- (38905)210 648 A
- 3690 V
- (38906)210 648 A
- (#include)336 1026 A
- (<termios.h>)462 1404 A
- 3780 V
- (38907)210 648 A
- 3870 V
- (38908)210 648 A
- (speed_t)294 1026 A
- (_cfgetospeed(const)756 1362 A
- (struct)252 2160 A
- (termios)294 2454 A
- (*termios_p))462 2790 A
- 3960 V
- (38909)210 648 A
- 1026({)S
- 4050 V
- (38910)210 648 A
- (return)252 1110 A
- (termios_p->c_ospeed;)840 1404 A
- 4140 V
- (38911)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/posix/_cfsetispeed.c)1176 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (39000)210 648 A
- 1026(/*)S
- 5040 V
- (39001)210 648 A
- (posix/_cfsetispeed)756 1026 A
- 5130 V
- (39002)210 648 A
- 5220 V
- (39003)210 648 A
- (Created:)336 1026 A
- (June)168 1698 A
- (11,)126 1908 A
- (1993)168 2076 A
- 2286(by)S
- (Philip)252 2412 A
- (Homburg)294 2706 A
- 5310 V
- (39004)210 648 A
- 1026(*/)S
- 5400 V
- (39005)210 648 A
- 5490 V
- (39006)210 648 A
- (#include)336 1026 A
- (<termios.h>)462 1404 A
- 5580 V
- (39007)210 648 A
- 5670 V
- (39008)210 648 A
- (int)126 1026 A
- (_cfsetispeed(struct)798 1194 A
- (termios)294 2034 A
- (*termios_p,)462 2370 A
- (speed_t)294 2874 A
- (speed))252 3210 A
- 5760 V
- (39009)210 648 A
- 1026({)S
- 5850 V
- (39010)210 648 A
- (termios_p->c_ispeed=)840 1110 A
- (speed;)252 1992 A
- 5940 V
- (39011)210 648 A
- (return)252 1110 A
- 1404(0;)S
- 6030 V
- (39012)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 385 385
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1806(File:)S
- (src/lib/posix/_cfsetospeed.c)1231 2039 A
- 12 B
- (385)180 4248 A
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/posix/_cfsetospeed.c)1176 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (39100)210 648 A
- 1026(/*)S
- 1440 V
- (39101)210 648 A
- (posix/_cfsetospeed)756 1026 A
- 1530 V
- (39102)210 648 A
- 1620 V
- (39103)210 648 A
- (Created:)336 1026 A
- (June)168 1698 A
- (11,)126 1908 A
- (1993)168 2076 A
- 2286(by)S
- (Philip)252 2412 A
- (Homburg)294 2706 A
- 1710 V
- (39104)210 648 A
- 1026(*/)S
- 1800 V
- (39105)210 648 A
- 1890 V
- (39106)210 648 A
- (#include)336 1026 A
- (<termios.h>)462 1404 A
- 1980 V
- (39107)210 648 A
- 2070 V
- (39108)210 648 A
- (int)126 1026 A
- (_cfsetospeed(struct)798 1194 A
- (termios)294 2034 A
- (*termios_p,)462 2370 A
- (speed_t)294 2874 A
- (speed))252 3210 A
- 2160 V
- (39109)210 648 A
- 1026({)S
- 2250 V
- (39110)210 648 A
- (termios_p->c_ospeed=)840 1110 A
- (speed;)252 1992 A
- 2340 V
- (39111)210 648 A
- (return)252 1110 A
- 1404(0;)S
- 2430 V
- (39112)210 648 A
- 1026(})S
- 2790 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2880 V
- (src/lib/posix/_chdir.c)924 1698 A
- 2970 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3150 V
- (39200)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 3240 V
- (39201)210 648 A
- (#define)294 1026 A
- (chdir)210 1362 A
- (_chdir)252 1698 A
- 3330 V
- (39202)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 3420 V
- (39203)210 648 A
- 3510 V
- (39204)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (chdir(name))462 1488 A
- 3600 V
- (39205)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*name;)252 1530 A
- 3690 V
- (39206)210 648 A
- 1026({)S
- 3780 V
- (39207)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 3870 V
- (39208)210 648 A
- 3960 V
- (39209)210 648 A
- (_loadname(name,)630 1110 A
- (&m);)168 1782 A
- 4050 V
- (39210)210 648 A
- (return(_syscall(FS,)798 1110 A
- (CHDIR,)252 1950 A
- (&m));)210 2244 A
- 4140 V
- (39211)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/posix/_chmod.c)924 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (39300)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5040 V
- (39301)210 648 A
- (#define)294 1026 A
- (chmod)210 1362 A
- (_chmod)252 1698 A
- 5130 V
- (39302)210 648 A
- (#include)336 1026 A
- (<sys/stat.h>)504 1404 A
- 5220 V
- (39303)210 648 A
- 5310 V
- (39304)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (chmod(name,)462 1488 A
- (mode))210 1992 A
- 5400 V
- (39305)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*name;)252 1530 A
- 5490 V
- (39306)210 648 A
- (Mode_t)252 1026 A
- (mode;)210 1320 A
- 5580 V
- (39307)210 648 A
- 1026({)S
- 5670 V
- (39308)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 5760 V
- (39309)210 648 A
- 5850 V
- (39310)210 648 A
- (m.m3_i2)294 1110 A
- 1446(=)S
- (mode;)210 1530 A
- 5940 V
- (39311)210 648 A
- (_loadname(name,)630 1110 A
- (&m);)168 1782 A
- 6030 V
- (39312)210 648 A
- (return(_syscall(FS,)798 1110 A
- (CHMOD,)252 1950 A
- (&m));)210 2244 A
- 6120 V
- (39313)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 386 386
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (386)180 648 A
- 11 R
- 1918(File:)S
- (src/lib/posix/_chown.c)1007 2151 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/posix/_chown.c)924 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (39400)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 1440 V
- (39401)210 648 A
- (#define)294 1026 A
- (chown)210 1362 A
- (_chown)252 1698 A
- 1530 V
- (39402)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 1620 V
- (39403)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 1710 V
- (39404)210 648 A
- 1800 V
- (39405)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (chown(name,)462 1488 A
- (owner,)252 1992 A
- (grp))168 2286 A
- 1890 V
- (39406)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*name;)252 1530 A
- 1980 V
- (39407)210 648 A
- (Uid_t)210 1026 A
- (owner;)252 1278 A
- 2070 V
- (39408)210 648 A
- (Gid_t)210 1026 A
- (grp;)168 1278 A
- 2160 V
- (39409)210 648 A
- 1026({)S
- 2250 V
- (39410)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 2340 V
- (39411)210 648 A
- 2430 V
- (39412)210 648 A
- (m.m1_i1)294 1110 A
- 1446(=)S
- (strlen(name))504 1530 A
- 2076(+)S
- 2160(1;)S
- 2520 V
- (39413)210 648 A
- (m.m1_i2)294 1110 A
- 1446(=)S
- (owner;)252 1530 A
- 2610 V
- (39414)210 648 A
- (m.m1_i3)294 1110 A
- 1446(=)S
- (grp;)168 1530 A
- 2700 V
- (39415)210 648 A
- (m.m1_p1)294 1110 A
- 1446(=)S
- ((char)210 1530 A
- 1782(*))S
- (name;)210 1908 A
- 2790 V
- (39416)210 648 A
- (return(_syscall(FS,)798 1110 A
- (CHOWN,)252 1950 A
- (&m));)210 2244 A
- 2880 V
- (39417)210 648 A
- 1026(})S
- 3240 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3330 V
- (src/lib/posix/_chroot.c)966 1698 A
- 3420 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3600 V
- (39500)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 3690 V
- (39501)210 648 A
- (#define)294 1026 A
- (chroot)252 1362 A
- (_chroot)294 1698 A
- 3780 V
- (39502)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 3870 V
- (39503)210 648 A
- 3960 V
- (39504)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (chroot(name))504 1488 A
- 4050 V
- (39505)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*name;)252 1530 A
- 4140 V
- (39506)210 648 A
- 1026({)S
- 4230 V
- (39507)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 4320 V
- (39508)210 648 A
- 4410 V
- (39509)210 648 A
- (_loadname(name,)630 1110 A
- (&m);)168 1782 A
- 4500 V
- (39510)210 648 A
- (return(_syscall(FS,)798 1110 A
- (CHROOT,)294 1950 A
- (&m));)210 2286 A
- 4590 V
- (39511)210 648 A
- 1026(})S
- 5040 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 5130 V
- (src/lib/posix/_close.c)924 1698 A
- 5220 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 5400 V
- (39600)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5490 V
- (39601)210 648 A
- (#define)294 1026 A
- (close)210 1362 A
- (_close)252 1698 A
- 5580 V
- (39602)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 5670 V
- (39603)210 648 A
- 5760 V
- (39604)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (close(fd))378 1488 A
- 5850 V
- (39605)210 648 A
- (int)126 1026 A
- (fd;)126 1194 A
- 5940 V
- (39606)210 648 A
- 1026({)S
- 6030 V
- (39607)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 6120 V
- (39608)210 648 A
- 6210 V
- (39609)210 648 A
- (m.m1_i1)294 1110 A
- 1446(=)S
- (fd;)126 1530 A
- 8418 V
- EP
- %%Page: 387 387
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1951(File:)S
- (src/lib/posix/_close.c)941 2184 A
- 12 B
- (387)180 4248 A
- 900 V
- 7 LST
- (39610)210 648 A
- (return(_syscall(FS,)798 1110 A
- (CLOSE,)252 1950 A
- (&m));)210 2244 A
- 990 V
- (39611)210 648 A
- 1026(})S
- 1440 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1530 V
- (src/lib/posix/_closedir.c)1050 1698 A
- 1620 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1800 V
- (39700)210 648 A
- 1026(/*)S
- (closedir())420 1362 A
- (Author:)294 3378 A
- (Kees)168 3714 A
- 3924(J.)S
- (Bot)126 4050 A
- 1890 V
- (39701)210 648 A
- 1068(*)S
- 3714(24)S
- (Apr)126 3840 A
- (1989)168 4008 A
- 1980 V
- (39702)210 648 A
- 1068(*/)S
- 2070 V
- (39703)210 648 A
- (#define)294 1026 A
- (nil)126 1362 A
- 1530(0)S
- 2160 V
- (39704)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 2250 V
- (39705)210 648 A
- (#define)294 1026 A
- (close)210 1362 A
- (_close)252 1698 A
- 2340 V
- (39706)210 648 A
- (#define)294 1026 A
- (closedir)336 1362 A
- (_closedir)378 1740 A
- 2430 V
- (39707)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 2520 V
- (39708)210 648 A
- (#include)336 1026 A
- (<dirent.h>)420 1404 A
- 2610 V
- (39709)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 2700 V
- (39710)210 648 A
- (#include)336 1026 A
- (<stdlib.h>)420 1404 A
- 2790 V
- (39711)210 648 A
- (#include)336 1026 A
- (<errno.h>)378 1404 A
- 2880 V
- (39712)210 648 A
- 2970 V
- (39713)210 648 A
- (int)126 1026 A
- (closedir(DIR)504 1194 A
- (*dp))168 1740 A
- 3060 V
- (39714)210 648 A
- 1026(/*)S
- (Finish)252 1152 A
- (reading)294 1446 A
- 1782(a)S
- (directory.)420 1866 A
- 2328(*/)S
- 3150 V
- (39715)210 648 A
- 1026({)S
- 3240 V
- (39716)210 648 A
- (int)126 1362 A
- 1530(d;)S
- 3330 V
- (39717)210 648 A
- 3420 V
- (39718)210 648 A
- 1362(if)S
- ((dp)126 1488 A
- 1656(==)S
- (nil))168 1782 A
- 1992({)S
- (errno=)252 2076 A
- (EBADF;)252 2370 A
- (return)252 2664 A
- (-1;)126 2958 A
- 3126(})S
- 3510 V
- (39719)210 648 A
- 3600 V
- (39720)210 648 A
- 1362(d=)S
- (dp->_fd;)336 1488 A
- 3690 V
- (39721)210 648 A
- (free((void)420 1362 A
- 1824(*))S
- (dp);)168 1950 A
- 3780 V
- (39722)210 648 A
- (return)252 1362 A
- (close(d);)378 1656 A
- 3870 V
- (39723)210 648 A
- 1026(})S
- 4140 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4230 V
- (src/lib/posix/_creat.c)924 1698 A
- 4320 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4500 V
- (39800)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 4590 V
- (39801)210 648 A
- (#define)294 1026 A
- (creat)210 1362 A
- (_creat)252 1698 A
- 4680 V
- (39802)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 4770 V
- (39803)210 648 A
- 4860 V
- (39804)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (creat(name,)462 1488 A
- (mode))210 1992 A
- 4950 V
- (39805)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*name;)252 1530 A
- 5040 V
- (39806)210 648 A
- (Mode_t)252 1026 A
- (mode;)210 1320 A
- 5130 V
- (39807)210 648 A
- 1026({)S
- 5220 V
- (39808)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 5310 V
- (39809)210 648 A
- 5400 V
- (39810)210 648 A
- (m.m3_i2)294 1110 A
- 1446(=)S
- (mode;)210 1530 A
- 5490 V
- (39811)210 648 A
- (_loadname(name,)630 1110 A
- (&m);)168 1782 A
- 5580 V
- (39812)210 648 A
- (return(_syscall(FS,)798 1110 A
- (CREAT,)252 1950 A
- (&m));)210 2244 A
- 5670 V
- (39813)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 388 388
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (388)180 648 A
- 11 R
- 1983(File:)S
- (src/lib/posix/_dup.c)877 2216 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/posix/_dup.c)840 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (39900)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 1440 V
- (39901)210 648 A
- (#define)294 1026 A
- (dup)126 1362 A
- (_dup)168 1698 A
- 1530 V
- (39902)210 648 A
- (#define)294 1026 A
- (fcntl)210 1362 A
- (_fcntl)252 1698 A
- 1620 V
- (39903)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 1710 V
- (39904)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 1800 V
- (39905)210 648 A
- 1890 V
- (39906)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (dup(fd))294 1488 A
- 1980 V
- (39907)210 648 A
- (int)126 1026 A
- (fd;)126 1194 A
- 2070 V
- (39908)210 648 A
- 1026({)S
- 2160 V
- (39909)210 648 A
- (return(fcntl(fd,)672 1110 A
- (F_DUPFD,)336 1824 A
- (0));)168 2202 A
- 2250 V
- (39910)210 648 A
- 1026(})S
- 2790 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2880 V
- (src/lib/posix/_dup2.c)882 1698 A
- 2970 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3150 V
- (40000)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 3240 V
- (40001)210 648 A
- (#define)294 1026 A
- (close)210 1362 A
- (_close)252 1698 A
- 3330 V
- (40002)210 648 A
- (#define)294 1026 A
- (dup2)168 1362 A
- (_dup2)210 1698 A
- 3420 V
- (40003)210 648 A
- (#define)294 1026 A
- (fcntl)210 1362 A
- (_fcntl)252 1698 A
- 3510 V
- (40004)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 3600 V
- (40005)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 3690 V
- (40006)210 648 A
- 3780 V
- (40007)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (dup2(fd,)336 1488 A
- (fd2))168 1866 A
- 3870 V
- (40008)210 648 A
- (int)126 1026 A
- (fd,)126 1194 A
- (fd2;)168 1362 A
- 3960 V
- (40009)210 648 A
- 1026({)S
- 4050 V
- (40010)210 648 A
- 1026(/*)S
- (The)126 1152 A
- (behavior)336 1320 A
- 1698(of)S
- (dup2)168 1824 A
- 2034(is)S
- (defined)294 2160 A
- 2496(by)S
- (POSIX)210 2622 A
- 2874(in)S
- (6.2.1.2)294 3000 A
- 3336(as)S
- (almost,)294 3462 A
- (but)126 3798 A
- (not)126 3966 A
- 4140 V
- (40011)210 648 A
- 1068(*)S
- (quite)210 1152 A
- (the)126 1404 A
- (same)168 1572 A
- 1782(as)S
- (fcntl.)252 1908 A
- 4230 V
- (40012)210 648 A
- 1068(*/)S
- 4320 V
- (40013)210 648 A
- 4410 V
- (40014)210 648 A
- 1110(if)S
- ((fd2)168 1236 A
- 1446(<)S
- 1530(0)S
- 1614(||)S
- (fd2)126 1740 A
- 1908(>)S
- (OPEN_MAX))378 1992 A
- 2412({)S
- 4500 V
- (40015)210 648 A
- (errno)210 1362 A
- 1614(=)S
- (EBADF;)252 1698 A
- 4590 V
- (40016)210 648 A
- (return(-1);)462 1362 A
- 4680 V
- (40017)210 648 A
- 1110(})S
- 4770 V
- (40018)210 648 A
- 4860 V
- (40019)210 648 A
- 1110(/*)S
- (Check)210 1236 A
- 1488(to)S
- (see)126 1614 A
- 1782(if)S
- (fildes)252 1908 A
- 2202(is)S
- (valid.)252 2328 A
- 2622(*/)S
- 4950 V
- (40020)210 648 A
- 1110(if)S
- ((fcntl(fd,)420 1236 A
- (F_GETFL))336 1698 A
- 2076(<)S
- 2160(0))S
- 2286({)S
- 5040 V
- (40021)210 648 A
- 1362(/*)S
- ('fd')168 1488 A
- 1698(is)S
- (not)126 1824 A
- (valid.)252 1992 A
- 2286(*/)S
- 5130 V
- (40022)210 648 A
- (return(-1);)462 1362 A
- 5220 V
- (40023)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 5310 V
- (40024)210 648 A
- 1362(/*)S
- ('fd')168 1488 A
- 1698(is)S
- (valid.)252 1824 A
- 2118(*/)S
- 5400 V
- (40025)210 648 A
- 1362(if)S
- ((fd)126 1488 A
- 1656(==)S
- (fd2))168 1782 A
- (return(fd2);)504 1992 A
- 5490 V
- (40026)210 648 A
- (close(fd2);)462 1362 A
- 5580 V
- (40027)210 648 A
- (return(fcntl(fd,)672 1362 A
- (F_DUPFD,)336 2076 A
- (fd2));)252 2454 A
- 5670 V
- (40028)210 648 A
- 1110(})S
- 5760 V
- (40029)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 389 389
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1963(File:)S
- (src/lib/posix/_exec.c)917 2196 A
- 12 B
- (389)180 4248 A
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/posix/_exec.c)882 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (40100)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 1440 V
- (40101)210 648 A
- (#define)294 1026 A
- (execl)210 1362 A
- (_execl)252 1698 A
- 1530 V
- (40102)210 648 A
- (#define)294 1026 A
- (execle)252 1362 A
- (_execle)294 1698 A
- 1620 V
- (40103)210 648 A
- (#define)294 1026 A
- (execv)210 1362 A
- (_execv)252 1698 A
- 1710 V
- (40104)210 648 A
- (#define)294 1026 A
- (execve)252 1362 A
- (_execve)294 1698 A
- 1800 V
- (40105)210 648 A
- (#define)294 1026 A
- (sbrk)168 1362 A
- (_sbrk)210 1698 A
- 1890 V
- (40106)210 648 A
- (#include)336 1026 A
- (<minix/minlib.h>)672 1404 A
- 1980 V
- (40107)210 648 A
- (#include)336 1026 A
- (<stdarg.h>)420 1404 A
- 2070 V
- (40108)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 2160 V
- (40109)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 2250 V
- (40110)210 648 A
- 2340 V
- (40111)210 648 A
- (extern)252 1026 A
- (char)168 1320 A
- (**environ;)420 1530 A
- 2430 V
- (40112)210 648 A
- 2520 V
- (40113)210 648 A
- (#define)294 1026 A
- (PTRSIZE)294 1362 A
- ((sizeof(char)504 1698 A
- (*)))126 2244 A
- 2610 V
- (40114)210 648 A
- 2700 V
- (40115)210 648 A
- (#ifdef)252 1026 A
- (_ANSI)210 1320 A
- 2790 V
- (40116)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (execl(const)462 1488 A
- (char)168 1992 A
- (*name,)252 2202 A
- (const)210 2496 A
- (char)168 2748 A
- (*arg,)210 2958 A
- (...))168 3210 A
- 2880 V
- (40117)210 648 A
- (#else)210 1026 A
- 2970 V
- (40118)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (execl(name))462 1488 A
- 3060 V
- (40119)210 648 A
- (char)168 1026 A
- (*name;)252 1236 A
- 3150 V
- (40120)210 648 A
- (#endif)252 1026 A
- 3240 V
- (40121)210 648 A
- 1026({)S
- 3330 V
- (40122)210 648 A
- (va_list)294 1110 A
- (argp;)210 1446 A
- 3420 V
- (40123)210 648 A
- (int)126 1110 A
- (result;)294 1278 A
- 3510 V
- (40124)210 648 A
- 3600 V
- (40125)210 648 A
- (va_start(argp,)588 1110 A
- (name);)252 1740 A
- 3690 V
- (40126)210 648 A
- 3780 V
- (40127)210 648 A
- 1110(/*)S
- (The)126 1236 A
- (following)378 1404 A
- (cast)168 1824 A
- 2034(of)S
- (argp)168 2160 A
- 2370(is)S
- (not)126 2496 A
- (portable.)378 2664 A
- (Doing)210 3126 A
- 3378(it)S
- (right)210 3504 A
- 3756(by)S
- (copying)294 3882 A
- 3870 V
- (40128)210 648 A
- 1152(*)S
- (the)126 1236 A
- (args)168 1404 A
- 1614(to)S
- 1740(a)S
- (true)168 1824 A
- (array)210 2034 A
- (will)168 2286 A
- (cost)168 2496 A
- 2706(as)S
- (much)168 2832 A
- 3042(as)S
- (ARG_MAX)294 3168 A
- (bytes)210 3504 A
- 3756(of)S
- (space.)252 3882 A
- 3960 V
- (40129)210 648 A
- 1152(*/)S
- 4050 V
- (40130)210 648 A
- (result)252 1110 A
- 1404(=)S
- (execve(name,)504 1488 A
- ((char)210 2034 A
- (**))126 2286 A
- (argp,)210 2454 A
- (environ);)378 2706 A
- 4140 V
- (40131)210 648 A
- (va_end(argp);)546 1110 A
- 4230 V
- (40132)210 648 A
- (return(result);)630 1110 A
- 4320 V
- (40133)210 648 A
- 1026(})S
- 4590 V
- (40136)210 648 A
- (#ifdef)252 1026 A
- (_ANSI)210 1320 A
- 4680 V
- (40137)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (execle(const)504 1488 A
- (char)168 2034 A
- (*name,)252 2244 A
- (const)210 2538 A
- (char)168 2790 A
- (*arg,)210 3000 A
- (...))168 3252 A
- 4770 V
- (40138)210 648 A
- (#else)210 1026 A
- 4860 V
- (40139)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (execle(name))504 1488 A
- 4950 V
- (40140)210 648 A
- (char)168 1026 A
- (*name;)252 1236 A
- 5040 V
- (40141)210 648 A
- (#endif)252 1026 A
- 5130 V
- (40142)210 648 A
- 1026({)S
- 5220 V
- (40143)210 648 A
- (va_list)294 1110 A
- (argp;)210 1446 A
- 5310 V
- (40144)210 648 A
- (char)168 1110 A
- (**p;)168 1320 A
- 5400 V
- (40145)210 648 A
- (int)126 1110 A
- (result;)294 1278 A
- 5490 V
- (40146)210 648 A
- 5580 V
- (40147)210 648 A
- (va_start(argp,)588 1110 A
- (name);)252 1740 A
- 5670 V
- (40148)210 648 A
- 5760 V
- (40149)210 648 A
- 1110(/*)S
- (The)126 1236 A
- (following)378 1404 A
- (cast)168 1824 A
- 2034(of)S
- (argp)168 2160 A
- 2370(is)S
- (not)126 2496 A
- (portable,)378 2664 A
- 3084(as)S
- (for)126 3210 A
- (execl().)336 3378 A
- 3756(*/)S
- 5850 V
- (40150)210 648 A
- 1110(p)S
- 1194(=)S
- ((char)210 1278 A
- (**))126 1530 A
- (argp;)210 1698 A
- 5940 V
- (40151)210 648 A
- (while)210 1110 A
- ((*p++)210 1362 A
- 1614(!=)S
- (NIL_PTR))336 1740 A
- 6030 V
- (40152)210 648 A
- 1362(;)S
- 2370(/*)S
- (null)168 2496 A
- (statement)378 2706 A
- 3126(*/)S
- 6120 V
- (40153)210 648 A
- (result)252 1110 A
- 1404(=)S
- (execve(name,)504 1488 A
- ((char)210 2034 A
- (**))126 2286 A
- (argp,)210 2454 A
- ((char)210 2706 A
- (**))126 2958 A
- (*p);)168 3126 A
- 6210 V
- (40154)210 648 A
- (va_end(argp);)546 1110 A
- 8418 V
- EP
- %%Page: 390 390
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (390)180 648 A
- 11 R
- 1963(File:)S
- (src/lib/posix/_exec.c)917 2196 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (40155)210 648 A
- (return(result);)630 1110 A
- 990 V
- (40156)210 648 A
- 1026(})S
- 1260 V
- (40159)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (execv(name,)462 1488 A
- (argv))210 1992 A
- 1350 V
- (40160)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*name;)252 1530 A
- 1440 V
- (40161)210 648 A
- (char)168 1026 A
- 1236(*)S
- (_CONST)252 1320 A
- (argv[];)294 1614 A
- 1530 V
- (40162)210 648 A
- 1026({)S
- 1620 V
- (40163)210 648 A
- (return(execve(name,)798 1110 A
- (argv,)210 1950 A
- (environ));)420 2202 A
- 1710 V
- (40164)210 648 A
- 1026(})S
- 1980 V
- (40167)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (execve(path,)504 1488 A
- (argv,)210 2034 A
- (envp))210 2286 A
- 2070 V
- (40168)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*path;)252 1530 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (name)168 2958 A
- 3168(of)S
- (file)168 3294 A
- 3504(to)S
- 3630(be)S
- (executed)336 3756 A
- 4134(*/)S
- 2160 V
- (40169)210 648 A
- (char)168 1026 A
- 1236(*)S
- (_CONST)252 1320 A
- (argv[];)294 1614 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (argument)336 2958 A
- (array)210 3336 A
- 3588(*/)S
- 2250 V
- (40170)210 648 A
- (char)168 1026 A
- 1236(*)S
- (_CONST)252 1320 A
- (envp[];)294 1614 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (environment)462 2958 A
- 3462(*/)S
- 2340 V
- (40171)210 648 A
- 1026({)S
- 2430 V
- (40172)210 648 A
- (int)126 1110 A
- 1278(i,)S
- 1404(j;)S
- 2520 V
- (40173)210 648 A
- 2610 V
- (40174)210 648 A
- 1110(/*)S
- (Count)210 1236 A
- (the)126 1488 A
- (argument)336 1656 A
- (pointers)336 2034 A
- (and)126 2412 A
- (environment)462 2580 A
- (pointers.)378 3084 A
- 3504(*/)S
- 2700 V
- (40175)210 648 A
- 1110(i)S
- 1194(=)S
- 1278(0;)S
- 2790 V
- (40176)210 648 A
- 1110(if)S
- ((argv)210 1236 A
- 1488(!=)S
- (NULL))210 1614 A
- 2880 V
- (40177)210 648 A
- 1110({)S
- 2970 V
- (40178)210 648 A
- (while)210 1362 A
- ((argv[i])336 1614 A
- 1992(!=)S
- (NULL))210 2118 A
- (i++;)168 2370 A
- 3060 V
- (40179)210 648 A
- 1110(})S
- 3150 V
- (40180)210 648 A
- 1110(j)S
- 1194(=)S
- 1278(0;)S
- 3240 V
- (40181)210 648 A
- 1110(if)S
- ((envp)210 1236 A
- 1488(!=)S
- (NULL))210 1614 A
- 3330 V
- (40182)210 648 A
- 1110({)S
- 3420 V
- (40183)210 648 A
- (while)210 1362 A
- ((envp[j])336 1614 A
- 1992(!=)S
- (NULL))210 2118 A
- (j++;)168 2370 A
- 3510 V
- (40184)210 648 A
- 1110(})S
- 3600 V
- (40185)210 648 A
- 3690 V
- (40186)210 648 A
- (return(__execve(path,)882 1110 A
- (argv,)210 2034 A
- (envp,)210 2286 A
- 2538(i,)S
- (j));)168 2664 A
- 3780 V
- (40187)210 648 A
- 1026(})S
- 4050 V
- (40190)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (__execve(path,)588 1488 A
- (argv,)210 2118 A
- (envp,)210 2370 A
- (nargs,)252 2622 A
- (nenvps))294 2916 A
- 4140 V
- (40191)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*path;)252 1530 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (name)168 2958 A
- 3168(of)S
- (file)168 3294 A
- 3504(to)S
- 3630(be)S
- (executed)336 3756 A
- 4134(*/)S
- 4230 V
- (40192)210 648 A
- (char)168 1026 A
- 1236(*)S
- (_CONST)252 1320 A
- (argv[];)294 1614 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (argument)336 2958 A
- (array)210 3336 A
- 3588(*/)S
- 4320 V
- (40193)210 648 A
- (char)168 1026 A
- 1236(*)S
- (_CONST)252 1320 A
- (envp[];)294 1614 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (environment)462 2958 A
- 3462(*/)S
- 4410 V
- (40194)210 648 A
- (int)126 1026 A
- (nargs;)252 1194 A
- 2370(/*)S
- (number)252 2496 A
- 2790(of)S
- (args)168 2916 A
- 3126(*/)S
- 4500 V
- (40195)210 648 A
- (int)126 1026 A
- (nenvps;)294 1194 A
- 2370(/*)S
- (number)252 2496 A
- 2790(of)S
- (environment)462 2916 A
- (strings)294 3420 A
- 3756(*/)S
- 4590 V
- (40196)210 648 A
- 1026({)S
- 4680 V
- (40197)210 648 A
- 1026(/*)S
- (This)168 1152 A
- 1362(is)S
- (split)210 1488 A
- (off)126 1740 A
- (from)168 1908 A
- (execve)252 2118 A
- 2412(to)S
- 2538(be)S
- (called)252 2664 A
- (from)168 2958 A
- (execvp,)294 3168 A
- 3504(so)S
- (execvp)252 3630 A
- (does)168 3924 A
- (not)126 4134 A
- 4770 V
- (40198)210 648 A
- 1068(*)S
- (have)168 1152 A
- 1362(to)S
- (allocate)336 1488 A
- 1866(up)S
- 1992(to)S
- (ARG_MAX)294 2118 A
- (bytes)210 2454 A
- (just)168 2706 A
- 2916(to)S
- (prepend)294 3042 A
- ("sh")168 3378 A
- 3588(to)S
- (the)126 3714 A
- (arg)126 3882 A
- (array.)252 4050 A
- 4860 V
- (40199)210 648 A
- 1068(*/)S
- 4950 V
- (40200)210 648 A
- 5040 V
- (40201)210 648 A
- (char)168 1110 A
- (*hp,)168 1320 A
- (**ap,)210 1530 A
- (*p;)126 1782 A
- 5130 V
- (40202)210 648 A
- (int)126 1110 A
- 1278(i,)S
- (stackbytes,)462 1404 A
- (npointers,)420 1908 A
- (overflow,)378 2370 A
- (temp;)210 2790 A
- 5220 V
- (40203)210 648 A
- (char)168 1110 A
- (*stack;)294 1320 A
- 5310 V
- (40204)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 5400 V
- (40205)210 648 A
- 5490 V
- (40206)210 648 A
- 1110(/*)S
- (Decide)252 1236 A
- (how)126 1530 A
- (big)126 1698 A
- 1866(a)S
- (stack)210 1950 A
- 2202(is)S
- (needed.)294 2328 A
- 2664(Be)S
- (paranoid)336 2790 A
- (about)210 3168 A
- (overflow.)378 3420 A
- 3840(*/)S
- 5580 V
- (40207)210 648 A
- (overflow)336 1110 A
- 1488(=)S
- (FALSE;)252 1572 A
- 5670 V
- (40208)210 648 A
- (npointers)378 1110 A
- 1530(=)S
- 1614(1)S
- 1698(+)S
- (nargs)210 1782 A
- 2034(+)S
- 2118(1)S
- 2202(+)S
- (nenvps)252 2286 A
- 2580(+)S
- 2664(1;)S
- 3042(/*)S
- (1's)126 3168 A
- (for)126 3336 A
- (argc)168 3504 A
- (and)126 3714 A
- (NULLs)210 3882 A
- 4134(*/)S
- 5760 V
- (40209)210 648 A
- (stackbytes)420 1110 A
- 1572(=)S
- (nargs)210 1656 A
- 1908(+)S
- (nenvps;)294 1992 A
- 2706(/*)S
- 2832(1)S
- (byte)168 2916 A
- (for)126 3126 A
- (each)168 3294 A
- (null)168 3504 A
- 3714(in)S
- (strings)294 3840 A
- 4176(*/)S
- 5850 V
- (40210)210 648 A
- 1110(if)S
- ((nargs)252 1236 A
- 1530(<)S
- 1614(0)S
- 1698(||)S
- (nenvps)252 1824 A
- 2118(<)S
- 2202(0)S
- 2286(||)S
- (stackbytes)420 2412 A
- 2874(<)S
- (nargs)210 2958 A
- 3210(||)S
- (npointers)378 3336 A
- 3756(<)S
- (stackbytes))462 3840 A
- 5940 V
- (40211)210 648 A
- (overflow)336 1362 A
- 1740(=)S
- (TRUE;)210 1824 A
- 6030 V
- (40212)210 648 A
- (for)126 1110 A
- 1278((i)S
- 1404(=)S
- (PTRSIZE;)336 1488 A
- 1866(i)S
- 1950(!=)S
- 2076(0;)S
- (i--))168 2202 A
- 2412({)S
- 6120 V
- (40213)210 648 A
- (temp)168 1362 A
- 1572(=)S
- (stackbytes)420 1656 A
- 2118(+)S
- (npointers;)420 2202 A
- 6210 V
- (40214)210 648 A
- 1362(if)S
- ((temp)210 1488 A
- 1740(<)S
- (stackbytes))462 1824 A
- (overflow)336 2328 A
- 2706(=)S
- (TRUE;)210 2790 A
- 8418 V
- EP
- %%Page: 391 391
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1963(File:)S
- (src/lib/posix/_exec.c)917 2196 A
- 12 B
- (391)180 4248 A
- 900 V
- 7 LST
- (40215)210 648 A
- (stackbytes)420 1362 A
- 1824(=)S
- (temp;)210 1908 A
- 990 V
- (40216)210 648 A
- 1110(})S
- 1080 V
- (40217)210 648 A
- 1110(ap)S
- 1236(=)S
- ((char)210 1320 A
- (**))126 1572 A
- (argv;)210 1740 A
- 1170 V
- (40218)210 648 A
- (for)126 1110 A
- 1278((i)S
- 1404(=)S
- 1488(0;)S
- 1614(i)S
- 1698(<)S
- (nargs;)252 1782 A
- (i++))168 2076 A
- 2286({)S
- 1260 V
- (40219)210 648 A
- (temp)168 1362 A
- 1572(=)S
- (stackbytes)420 1656 A
- 2118(+)S
- (strlen(*ap++);)588 2202 A
- 1350 V
- (40220)210 648 A
- 1362(if)S
- ((temp)210 1488 A
- 1740(<)S
- (stackbytes))462 1824 A
- (overflow)336 2328 A
- 2706(=)S
- (TRUE;)210 2790 A
- 1440 V
- (40221)210 648 A
- (stackbytes)420 1362 A
- 1824(=)S
- (temp;)210 1908 A
- 1530 V
- (40222)210 648 A
- 1110(})S
- 1620 V
- (40223)210 648 A
- 1110(ap)S
- 1236(=)S
- ((char)210 1320 A
- (**))126 1572 A
- (envp;)210 1740 A
- 1710 V
- (40224)210 648 A
- (for)126 1110 A
- 1278((i)S
- 1404(=)S
- 1488(0;)S
- 1614(i)S
- 1698(<)S
- (nenvps;)294 1782 A
- (i++))168 2118 A
- 2328({)S
- 1800 V
- (40225)210 648 A
- (temp)168 1362 A
- 1572(=)S
- (stackbytes)420 1656 A
- 2118(+)S
- (strlen(*ap++);)588 2202 A
- 1890 V
- (40226)210 648 A
- 1362(if)S
- ((temp)210 1488 A
- 1740(<)S
- (stackbytes))462 1824 A
- (overflow)336 2328 A
- 2706(=)S
- (TRUE;)210 2790 A
- 1980 V
- (40227)210 648 A
- (stackbytes)420 1362 A
- 1824(=)S
- (temp;)210 1908 A
- 2070 V
- (40228)210 648 A
- 1110(})S
- 2160 V
- (40229)210 648 A
- (temp)168 1110 A
- 1320(=)S
- (stackbytes)420 1404 A
- 1866(+)S
- (PTRSIZE)294 1950 A
- 2286(-)S
- 2370(1;)S
- 2250 V
- (40230)210 648 A
- 1110(if)S
- ((temp)210 1236 A
- 1488(<)S
- (stackbytes))462 1572 A
- (overflow)336 2076 A
- 2454(=)S
- (TRUE;)210 2538 A
- 2340 V
- (40231)210 648 A
- (stackbytes)420 1110 A
- 1572(=)S
- ((temp)210 1656 A
- 1908(/)S
- (PTRSIZE))336 1992 A
- 2370(*)S
- (PTRSIZE;)336 2454 A
- 2430 V
- (40232)210 648 A
- 2520 V
- (40233)210 648 A
- 1110(/*)S
- (Check)210 1236 A
- (for)126 1488 A
- (overflow)336 1656 A
- (before)252 2034 A
- (committing)420 2328 A
- (sbrk.)210 2790 A
- 3042(*/)S
- 2610 V
- (40234)210 648 A
- 1110(if)S
- ((overflow))420 1236 A
- 1698({)S
- 2700 V
- (40235)210 648 A
- (errno)210 1362 A
- 1614(=)S
- (E2BIG;)252 1698 A
- 2790 V
- (40236)210 648 A
- (return(-1);)462 1362 A
- 2880 V
- (40237)210 648 A
- 1110(})S
- 2970 V
- (40238)210 648 A
- 3060 V
- (40239)210 648 A
- 1110(/*)S
- (Allocate)336 1236 A
- (the)126 1614 A
- (stack.)252 1782 A
- 2076(*/)S
- 3150 V
- (40240)210 648 A
- (stack)210 1110 A
- 1362(=)S
- (sbrk(stackbytes);)714 1446 A
- 3240 V
- (40241)210 648 A
- 1110(if)S
- ((stack)252 1236 A
- 1530(==)S
- ((char)210 1656 A
- 1908(*))S
- (-1))126 2034 A
- 2202({)S
- 3330 V
- (40242)210 648 A
- (errno)210 1362 A
- 1614(=)S
- (E2BIG;)252 1698 A
- 3420 V
- (40243)210 648 A
- (return(-1);)462 1362 A
- 3510 V
- (40244)210 648 A
- 1110(})S
- 3600 V
- (40245)210 648 A
- 3690 V
- (40246)210 648 A
- 1110(/*)S
- (Prepare)294 1236 A
- (the)126 1572 A
- (stack)210 1740 A
- (vector)252 1992 A
- (and)126 2286 A
- (argc.)210 2454 A
- 2706(*/)S
- 3780 V
- (40247)210 648 A
- 1110(ap)S
- 1236(=)S
- ((char)210 1320 A
- (**))126 1572 A
- (stack;)252 1740 A
- 3870 V
- (40248)210 648 A
- 1110(hp)S
- 1236(=)S
- (&stack[npointers)672 1320 A
- 2034(*)S
- (PTRSIZE];)378 2118 A
- 3960 V
- (40249)210 648 A
- (*ap++)210 1110 A
- 1362(=)S
- ((char)210 1446 A
- 1698(*))S
- (nargs;)252 1824 A
- 4050 V
- (40250)210 648 A
- 4140 V
- (40251)210 648 A
- 1110(/*)S
- (Prepare)294 1236 A
- (the)126 1572 A
- (argument)336 1740 A
- (pointers)336 2118 A
- (and)126 2496 A
- (strings.)336 2664 A
- 3042(*/)S
- 4230 V
- (40252)210 648 A
- (for)126 1110 A
- 1278((i)S
- 1404(=)S
- 1488(0;)S
- 1614(i)S
- 1698(<)S
- (nargs;)252 1782 A
- (i++))168 2076 A
- 2286({)S
- 4320 V
- (40253)210 648 A
- (*ap++)210 1362 A
- 1614(=)S
- ((char)210 1698 A
- 1950(*))S
- ((hp)126 2076 A
- 2244(-)S
- (stack);)294 2328 A
- 4410 V
- (40254)210 648 A
- 1362(p)S
- 1446(=)S
- (*argv++;)336 1530 A
- 4500 V
- (40255)210 648 A
- (while)210 1362 A
- 1614(()S
- ((*hp++)252 1698 A
- 1992(=)S
- (*p++))210 2076 A
- 2328(!=)S
- 2454(0))S
- 4590 V
- (40256)210 648 A
- 1698(;)S
- 4680 V
- (40257)210 648 A
- 1110(})S
- 4770 V
- (40258)210 648 A
- (*ap++)210 1110 A
- 1362(=)S
- ((char)210 1446 A
- 1698(*))S
- (NULL;)210 1824 A
- 4860 V
- (40259)210 648 A
- 4950 V
- (40260)210 648 A
- 1110(/*)S
- (Prepare)294 1236 A
- (the)126 1572 A
- (environment)462 1740 A
- (pointers)336 2244 A
- (and)126 2622 A
- (strings.)336 2790 A
- 3168(*/)S
- 5040 V
- (40261)210 648 A
- (for)126 1110 A
- 1278((i)S
- 1404(=)S
- 1488(0;)S
- 1614(i)S
- 1698(<)S
- (nenvps;)294 1782 A
- (i++))168 2118 A
- 2328({)S
- 5130 V
- (40262)210 648 A
- (*ap++)210 1362 A
- 1614(=)S
- ((char)210 1698 A
- 1950(*))S
- ((hp)126 2076 A
- 2244(-)S
- (stack);)294 2328 A
- 5220 V
- (40263)210 648 A
- 1362(p)S
- 1446(=)S
- (*envp++;)336 1530 A
- 5310 V
- (40264)210 648 A
- (while)210 1362 A
- 1614(()S
- ((*hp++)252 1698 A
- 1992(=)S
- (*p++))210 2076 A
- 2328(!=)S
- 2454(0))S
- 5400 V
- (40265)210 648 A
- 1698(;)S
- 5490 V
- (40266)210 648 A
- 1110(})S
- 5580 V
- (40267)210 648 A
- (*ap++)210 1110 A
- 1362(=)S
- ((char)210 1446 A
- 1698(*))S
- (NULL;)210 1824 A
- 5670 V
- (40268)210 648 A
- 5760 V
- (40269)210 648 A
- 1110(/*)S
- 1236(Do)S
- (the)126 1362 A
- (real)168 1530 A
- (work.)210 1740 A
- 1992(*/)S
- 5850 V
- (40270)210 648 A
- (m.m1_i1)294 1110 A
- 1446(=)S
- (strlen(path))504 1530 A
- 2076(+)S
- 2160(1;)S
- 5940 V
- (40271)210 648 A
- (m.m1_i2)294 1110 A
- 1446(=)S
- (stackbytes;)462 1530 A
- 6030 V
- (40272)210 648 A
- (m.m1_p1)294 1110 A
- 1446(=)S
- ((char)210 1530 A
- 1782(*))S
- (path;)210 1908 A
- 6120 V
- (40273)210 648 A
- (m.m1_p2)294 1110 A
- 1446(=)S
- (stack;)252 1530 A
- 6210 V
- (40274)210 648 A
- ((void))252 1110 A
- (_syscall(MM,)504 1404 A
- (EXEC,)210 1950 A
- (&m);)168 2202 A
- 8418 V
- EP
- %%Page: 392 392
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (392)180 648 A
- 11 R
- 1963(File:)S
- (src/lib/posix/_exec.c)917 2196 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (40275)210 648 A
- 990 V
- (40276)210 648 A
- 1110(/*)S
- (The)126 1236 A
- (exec)168 1404 A
- (failed.)294 1614 A
- 1950(*/)S
- 1080 V
- (40277)210 648 A
- (sbrk(-stackbytes);)756 1110 A
- 1170 V
- (40278)210 648 A
- (return(m.m_type);)714 1110 A
- 1260 V
- (40279)210 648 A
- 1026(})S
- 1890 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1980 V
- (src/lib/posix/_execn.c)924 1698 A
- 2070 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2250 V
- (40300)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 2340 V
- (40301)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 2430 V
- (40302)210 648 A
- 2520 V
- (40303)210 648 A
- (#define)294 1026 A
- (PTRSIZE)294 1362 A
- (sizeof(char)462 1698 A
- 2202(*))S
- 2610 V
- (40304)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (_execn,)294 1698 A
- ((char)210 2034 A
- 2286(*)S
- (name));)294 2370 A
- 2700 V
- (40305)210 648 A
- 2790 V
- (40306)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (_execn(name))504 1488 A
- 2880 V
- (40307)210 648 A
- (char)168 1026 A
- (*name;)252 1236 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (file)168 2958 A
- 3168(to)S
- 3294(be)S
- (exec'd)252 3420 A
- 3714(*/)S
- 2970 V
- (40308)210 648 A
- 1026({)S
- 3060 V
- (40309)210 648 A
- 1026(/*)S
- (Special)294 1152 A
- (version)294 1488 A
- (used)168 1824 A
- (when)168 2034 A
- (there)210 2244 A
- (are)126 2496 A
- 2664(no)S
- (args)168 2790 A
- (and)126 3000 A
- 3168(no)S
- (environment.)504 3294 A
- (This)168 3882 A
- (call)168 4092 A
- 3150 V
- (40310)210 648 A
- 1068(*)S
- 1152(is)S
- (principally)462 1278 A
- (used)168 1782 A
- 1992(by)S
- (INIT,)210 2118 A
- 2370(to)S
- (avoid)210 2496 A
- (having)252 2748 A
- 3042(to)S
- (allocate)336 3168 A
- (ARG_MAX.)336 3546 A
- 3240 V
- (40311)210 648 A
- 1068(*/)S
- 3330 V
- (40312)210 648 A
- 3420 V
- (40313)210 648 A
- (PRIVATE)294 1110 A
- (char)168 1446 A
- (stack[3)294 1656 A
- 1992(*)S
- (PTRSIZE];)378 2076 A
- 3510 V
- (40314)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 3600 V
- (40315)210 648 A
- 3690 V
- (40316)210 648 A
- (m.m1_i1)294 1110 A
- 1446(=)S
- (strlen(name))504 1530 A
- 2076(+)S
- 2160(1;)S
- 3780 V
- (40317)210 648 A
- (m.m1_i2)294 1110 A
- 1446(=)S
- (sizeof(stack);)588 1530 A
- 3870 V
- (40318)210 648 A
- (m.m1_p1)294 1110 A
- 1446(=)S
- (name;)210 1530 A
- 3960 V
- (40319)210 648 A
- (m.m1_p2)294 1110 A
- 1446(=)S
- (stack;)252 1530 A
- 4050 V
- (40320)210 648 A
- ((void))252 1110 A
- (_syscall(MM,)504 1404 A
- (EXEC,)210 1950 A
- (&m);)168 2202 A
- 4140 V
- (40321)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/posix/_fcntl.c)924 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (40400)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5040 V
- (40401)210 648 A
- (#define)294 1026 A
- (fcntl)210 1362 A
- (_fcntl)252 1614 A
- 5130 V
- (40402)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 5220 V
- (40403)210 648 A
- (#include)336 1026 A
- (<stdarg.h>)420 1404 A
- 5310 V
- (40404)210 648 A
- 5400 V
- (40405)210 648 A
- (#if)126 1026 A
- (_ANSI)210 1194 A
- 5490 V
- (40406)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (fcntl(int)378 1488 A
- (fd,)126 1908 A
- (int)126 2076 A
- (cmd,)168 2244 A
- (...))168 2454 A
- 5580 V
- (40407)210 648 A
- (#else)210 1026 A
- 5670 V
- (40408)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (fcntl(fd,)378 1488 A
- (cmd))168 1908 A
- 5760 V
- (40409)210 648 A
- (int)126 1026 A
- (fd;)126 1194 A
- 5850 V
- (40410)210 648 A
- (int)126 1026 A
- (cmd;)168 1194 A
- 5940 V
- (40411)210 648 A
- (#endif)252 1026 A
- 6030 V
- (40412)210 648 A
- 1026({)S
- 6120 V
- (40413)210 648 A
- (va_list)294 1110 A
- (argp;)210 1446 A
- 6210 V
- (40414)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 8418 V
- EP
- %%Page: 393 393
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1963(File:)S
- (src/lib/posix/_fcntl.c)916 2196 A
- 12 B
- (393)180 4248 A
- 900 V
- 7 LST
- (40415)210 648 A
- 990 V
- (40416)210 648 A
- (va_start(argp,)588 1110 A
- (cmd);)210 1740 A
- 1080 V
- (40417)210 648 A
- 1170 V
- (40418)210 648 A
- 1110(/*)S
- (Set)126 1236 A
- 1404(up)S
- (for)126 1530 A
- (the)126 1698 A
- (sensible)336 1866 A
- (case)168 2244 A
- (where)210 2454 A
- (there)210 2706 A
- 2958(is)S
- 3084(no)S
- (variable)336 3210 A
- (parameter.)420 3588 A
- (This)168 4092 A
- 1260 V
- (40419)210 648 A
- 1152(*)S
- (covers)252 1236 A
- (F_GETFD,)336 1530 A
- (F_GETFL)294 1908 A
- (and)126 2244 A
- (invalid)294 2412 A
- (commands.)378 2748 A
- 1350 V
- (40420)210 648 A
- 1152(*/)S
- 1440 V
- (40421)210 648 A
- (m.m1_i3)294 1110 A
- 1446(=)S
- 1530(0;)S
- 1530 V
- (40422)210 648 A
- (m.m1_p1)294 1110 A
- 1446(=)S
- (NIL_PTR;)336 1530 A
- 1620 V
- (40423)210 648 A
- 1710 V
- (40424)210 648 A
- 1110(/*)S
- (Adjust)252 1236 A
- (for)126 1530 A
- (the)126 1698 A
- (stupid)252 1866 A
- (cases.)252 2160 A
- 2454(*/)S
- 1800 V
- (40425)210 648 A
- (switch(cmd))462 1110 A
- 1614({)S
- 1890 V
- (40426)210 648 A
- (case)168 1236 A
- (F_DUPFD:)336 1446 A
- 1980 V
- (40427)210 648 A
- (case)168 1236 A
- (F_SETFD:)336 1446 A
- 2070 V
- (40428)210 648 A
- (case)168 1236 A
- (F_SETFL:)336 1446 A
- 2160 V
- (40429)210 648 A
- (m.m1_i3)294 1362 A
- 1698(=)S
- (va_arg(argp,)504 1782 A
- (int);)210 2328 A
- 2250 V
- (40430)210 648 A
- (break;)252 1362 A
- 2340 V
- (40431)210 648 A
- (case)168 1236 A
- (F_GETLK:)336 1446 A
- 2430 V
- (40432)210 648 A
- (case)168 1236 A
- (F_SETLK:)336 1446 A
- 2520 V
- (40433)210 648 A
- (case)168 1236 A
- (F_SETLKW:)378 1446 A
- 2610 V
- (40434)210 648 A
- (m.m1_p1)294 1362 A
- 1698(=)S
- ((char)210 1782 A
- 2034(*))S
- (va_arg(argp,)504 2160 A
- (struct)252 2706 A
- (flock)210 3000 A
- (*);)126 3252 A
- 2700 V
- (40435)210 648 A
- (break;)252 1362 A
- 2790 V
- (40436)210 648 A
- 1110(})S
- 2880 V
- (40437)210 648 A
- 2970 V
- (40438)210 648 A
- 1110(/*)S
- (Clean)210 1236 A
- 1488(up)S
- (and)126 1614 A
- (make)168 1782 A
- (the)126 1992 A
- (system)252 2160 A
- (call.)210 2454 A
- 2706(*/)S
- 3060 V
- (40439)210 648 A
- (va_end(argp);)546 1110 A
- 3150 V
- (40440)210 648 A
- (m.m1_i1)294 1110 A
- 1446(=)S
- (fd;)126 1530 A
- 3240 V
- (40441)210 648 A
- (m.m1_i2)294 1110 A
- 1446(=)S
- (cmd;)168 1530 A
- 3330 V
- (40442)210 648 A
- (return(_syscall(FS,)798 1110 A
- (FCNTL,)252 1950 A
- (&m));)210 2244 A
- 3420 V
- (40443)210 648 A
- 1026(})S
- 3690 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3780 V
- (src/lib/posix/_fork.c)882 1698 A
- 3870 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4050 V
- (40500)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 4140 V
- (40501)210 648 A
- (#define)294 1026 A
- (fork)168 1362 A
- (_fork)210 1698 A
- 4230 V
- (40502)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 4320 V
- (40503)210 648 A
- 4410 V
- (40504)210 648 A
- (PUBLIC)252 1026 A
- (pid_t)210 1320 A
- (fork())252 1572 A
- 4500 V
- (40505)210 648 A
- 1026({)S
- 4590 V
- (40506)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 4680 V
- (40507)210 648 A
- 4770 V
- (40508)210 648 A
- (return(_syscall(MM,)798 1110 A
- (FORK,)210 1950 A
- (&m));)210 2202 A
- 4860 V
- (40509)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 394 394
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (394)180 648 A
- 11 R
- 1853(File:)S
- (src/lib/posix/_fpathconf.c)1137 2086 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/posix/_fpathconf.c)1092 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (40600)210 648 A
- 1026(/*)S
- (POSIX)210 1152 A
- (fpathconf)378 1404 A
- ((Sec.)210 1824 A
- (5.7.1))252 2076 A
- (Author:)294 3042 A
- (Andy)168 3378 A
- (Tanenbaum)378 3588 A
- 4008(*/)S
- 1440 V
- (40601)210 648 A
- 1530 V
- (40602)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 1620 V
- (40603)210 648 A
- (#define)294 1026 A
- (fstat)210 1362 A
- (_fstat)252 2034 A
- 1710 V
- (40604)210 648 A
- (#define)294 1026 A
- (fpathconf)378 1362 A
- (_fpathconf)420 2034 A
- 1800 V
- (40605)210 648 A
- (#include)336 1026 A
- (<sys/stat.h>)504 1404 A
- 1890 V
- (40606)210 648 A
- (#include)336 1026 A
- (<errno.h>)378 1404 A
- 1980 V
- (40607)210 648 A
- (#include)336 1026 A
- (<limits.h>)420 1404 A
- 2070 V
- (40608)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 2160 V
- (40609)210 648 A
- (#include)336 1026 A
- (<termios.h>)462 1404 A
- 2250 V
- (40610)210 648 A
- 2340 V
- (40611)210 648 A
- (PUBLIC)252 1026 A
- (long)168 1320 A
- (fpathconf(fd,)546 1530 A
- (name))210 2118 A
- 2430 V
- (40612)210 648 A
- (int)126 1026 A
- (fd;)126 1194 A
- 2370(/*)S
- (file)168 2496 A
- (descriptor)420 2706 A
- (being)210 3168 A
- (interrogated)504 3420 A
- 3966(*/)S
- 2520 V
- (40613)210 648 A
- (int)126 1026 A
- (name;)210 1194 A
- 2370(/*)S
- (property)336 2496 A
- (being)210 2874 A
- (inspected)378 3126 A
- 3546(*/)S
- 2610 V
- (40614)210 648 A
- 1026({)S
- 2700 V
- (40615)210 648 A
- 1026(/*)S
- (POSIX)210 1152 A
- (allows)252 1404 A
- (some)168 1698 A
- 1908(of)S
- (the)126 2034 A
- (values)252 2202 A
- 2496(in)S
- (<limits.h>)420 2622 A
- 3084(to)S
- 3210(be)S
- (increased)378 3336 A
- 3756(at)S
- 2790 V
- (40616)210 648 A
- 1068(*)S
- (run)126 1152 A
- (time.)210 1320 A
- (The)126 1614 A
- (pathconf)336 1782 A
- (and)126 2160 A
- (fpathconf)378 2328 A
- (functions)378 2748 A
- (allow)210 3168 A
- (these)210 3420 A
- (values)252 3672 A
- 2880 V
- (40617)210 648 A
- 1068(*)S
- 1152(to)S
- 1278(be)S
- (checked)294 1404 A
- 1740(at)S
- (run)126 1866 A
- (time.)210 2034 A
- (MINIX)210 2328 A
- (does)168 2580 A
- (not)126 2790 A
- (use)126 2958 A
- (this)168 3126 A
- (facility.)378 3336 A
- 2970 V
- (40618)210 648 A
- 1068(*)S
- (The)126 1152 A
- (run-time)336 1320 A
- (limits)252 1698 A
- (are)126 1992 A
- (those)210 2160 A
- (given)210 2412 A
- 2664(in)S
- (<limits.h>.)462 2790 A
- 3060 V
- (40619)210 648 A
- 1068(*/)S
- 3150 V
- (40620)210 648 A
- 3240 V
- (40621)210 648 A
- (struct)252 1110 A
- (stat)168 1404 A
- (stbuf;)252 1614 A
- 3330 V
- (40622)210 648 A
- 3420 V
- (40623)210 648 A
- (switch(name))504 1110 A
- 1656({)S
- 3510 V
- (40624)210 648 A
- (case)168 1362 A
- (_PC_LINK_MAX:)546 1572 A
- 3600 V
- (40625)210 648 A
- 1698(/*)S
- (Fstat)210 1824 A
- (the)126 2076 A
- (file.)210 2244 A
- 2538(If)S
- (that)168 2664 A
- (fails,)252 2874 A
- (return)252 3168 A
- (-1.)126 3462 A
- 3630(*/)S
- 3690 V
- (40626)210 648 A
- 1698(if)S
- ((fstat(fd,)420 1824 A
- (&stbuf))294 2286 A
- 2622(!=)S
- 2748(0))S
- (return(-1);)462 2874 A
- 3780 V
- (40627)210 648 A
- 1698(if)S
- ((S_ISDIR(stbuf.st_mode)))1008 1824 A
- 3870 V
- (40628)210 648 A
- (return(1L);)462 2034 A
- 2706(/*)S
- 2832(no)S
- (links)210 2958 A
- 3210(to)S
- (directories)462 3336 A
- 3840(*/)S
- 3960 V
- (40629)210 648 A
- (else)168 1698 A
- 4050 V
- (40630)210 648 A
- (return()294 2034 A
- ((long))252 2370 A
- (LINK_MAX);)420 2664 A
- 4140 V
- (40631)210 648 A
- 4230 V
- (40632)210 648 A
- (case)168 1362 A
- (_PC_MAX_CANON:)588 1572 A
- 4320 V
- (40633)210 648 A
- (return()294 1698 A
- ((long))252 2034 A
- (MAX_CANON);)462 2328 A
- 4410 V
- (40634)210 648 A
- 4500 V
- (40635)210 648 A
- (case)168 1362 A
- (_PC_MAX_INPUT:)588 1572 A
- 4590 V
- (40636)210 648 A
- (return()294 1698 A
- ((long))252 2034 A
- (MAX_INPUT);)462 2328 A
- 4680 V
- (40637)210 648 A
- 4770 V
- (40638)210 648 A
- (case)168 1362 A
- (_PC_NAME_MAX:)546 1572 A
- 4860 V
- (40639)210 648 A
- (return()294 1698 A
- ((long))252 2034 A
- (NAME_MAX);)420 2328 A
- 4950 V
- (40640)210 648 A
- 5040 V
- (40641)210 648 A
- (case)168 1362 A
- (_PC_PATH_MAX:)546 1572 A
- 5130 V
- (40642)210 648 A
- (return()294 1698 A
- ((long))252 2034 A
- (PATH_MAX);)420 2328 A
- 5220 V
- (40643)210 648 A
- 5310 V
- (40644)210 648 A
- (case)168 1362 A
- (_PC_PIPE_BUF:)546 1572 A
- 5400 V
- (40645)210 648 A
- (return()294 1698 A
- ((long))252 2034 A
- (PIPE_BUF);)420 2328 A
- 5490 V
- (40646)210 648 A
- 5580 V
- (40647)210 648 A
- (case)168 1362 A
- (_PC_CHOWN_RESTRICTED:)882 1572 A
- 5670 V
- (40648)210 648 A
- (return()294 1698 A
- ((long))252 2034 A
- (_POSIX_CHOWN_RESTRICTED);)1050 2328 A
- 5760 V
- (40649)210 648 A
- 5850 V
- (40650)210 648 A
- (case)168 1362 A
- (_PC_NO_TRUNC:)546 1572 A
- 5940 V
- (40651)210 648 A
- (return()294 1698 A
- ((long))252 2034 A
- (_POSIX_NO_TRUNC);)714 2328 A
- 6030 V
- (40652)210 648 A
- 6120 V
- (40653)210 648 A
- (case)168 1362 A
- (_PC_VDISABLE:)546 1572 A
- 6210 V
- (40654)210 648 A
- (return()294 1698 A
- ((long))252 2034 A
- (_POSIX_VDISABLE);)714 2328 A
- 8418 V
- EP
- %%Page: 395 395
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1853(File:)S
- (src/lib/posix/_fpathconf.c)1137 2086 A
- 12 B
- (395)180 4248 A
- 900 V
- 7 LST
- (40655)210 648 A
- 990 V
- (40656)210 648 A
- (default:)336 1362 A
- 1080 V
- (40657)210 648 A
- (errno)210 1698 A
- 1950(=)S
- (EINVAL;)294 2034 A
- 1170 V
- (40658)210 648 A
- (return(-1);)462 1698 A
- 1260 V
- (40659)210 648 A
- 1110(})S
- 1350 V
- (40660)210 648 A
- 1026(})S
- 1890 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1980 V
- (src/lib/posix/_fstat.c)924 1698 A
- 2070 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2250 V
- (40700)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 2340 V
- (40701)210 648 A
- (#define)294 1026 A
- (fstat)210 1362 A
- (_fstat)252 1698 A
- 2430 V
- (40702)210 648 A
- (#include)336 1026 A
- (<sys/stat.h>)504 1404 A
- 2520 V
- (40703)210 648 A
- 2610 V
- (40704)210 648 A
- (PUBLIC)252 1026 A
- (int)126 1320 A
- (fstat(fd,)378 1488 A
- (buffer))294 1908 A
- 2700 V
- (40705)210 648 A
- (int)126 1026 A
- (fd;)126 1194 A
- 2790 V
- (40706)210 648 A
- (struct)252 1026 A
- (stat)168 1320 A
- (*buffer;)336 1530 A
- 2880 V
- (40707)210 648 A
- 1026({)S
- 2970 V
- (40708)210 648 A
- (message)294 1110 A
- 1446(m;)S
- 3060 V
- (40709)210 648 A
- 3150 V
- (40710)210 648 A
- (m.m1_i1)294 1110 A
- 1446(=)S
- (fd;)126 1530 A
- 3240 V
- (40711)210 648 A
- (m.m1_p1)294 1110 A
- 1446(=)S
- ((char)210 1530 A
- 1782(*))S
- (buffer;)294 1908 A
- 3330 V
- (40712)210 648 A
- (return(_syscall(FS,)798 1110 A
- (FSTAT,)252 1950 A
- (&m));)210 2244 A
- 3420 V
- (40713)210 648 A
- 1026(})S
- 3690 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3780 V
- (src/lib/posix/_getcwd.c)966 1698 A
- 3870 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4050 V
- (40800)210 648 A
- 1026(/*)S
- (getcwd())336 1362 A
- 1740(-)S
- (get)126 1824 A
- (the)126 1992 A
- (name)168 2160 A
- 2370(of)S
- (the)126 2496 A
- (current)294 2664 A
- (working)294 3000 A
- (directory.)420 3336 A
- 4140 V
- (40801)210 648 A
- 1068(*)S
- (Author:)294 3378 A
- (Kees)168 3714 A
- 3924(J.)S
- (Bot)126 4050 A
- 4230 V
- (40802)210 648 A
- 1068(*)S
- 3714(30)S
- (Apr)126 3840 A
- (1989)168 4008 A
- 4320 V
- (40803)210 648 A
- 1068(*/)S
- 4410 V
- (40804)210 648 A
- (#define)294 1026 A
- (nil)126 1362 A
- 1530(0)S
- 4500 V
- (40805)210 648 A
- (#define)294 1026 A
- (chdir)210 1362 A
- (_chdir)252 1614 A
- 4590 V
- (40806)210 648 A
- (#define)294 1026 A
- (closedir)336 1362 A
- (_closedir)378 1740 A
- 4680 V
- (40807)210 648 A
- (#define)294 1026 A
- (getcwd)252 1362 A
- (_getcwd)294 1656 A
- 4770 V
- (40808)210 648 A
- (#define)294 1026 A
- (opendir)294 1362 A
- (_opendir)336 1698 A
- 4860 V
- (40809)210 648 A
- (#define)294 1026 A
- (readdir)294 1362 A
- (_readdir)336 1698 A
- 4950 V
- (40810)210 648 A
- (#define)294 1026 A
- (rewinddir)378 1362 A
- (_rewinddir)420 1782 A
- 5040 V
- (40811)210 648 A
- (#define)294 1026 A
- (stat)168 1362 A
- (_stat)210 1572 A
- 5130 V
- (40812)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 5220 V
- (40813)210 648 A
- (#include)336 1026 A
- (<sys/stat.h>)504 1404 A
- 5310 V
- (40814)210 648 A
- (#include)336 1026 A
- (<errno.h>)378 1404 A
- 5400 V
- (40815)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 5490 V
- (40816)210 648 A
- (#include)336 1026 A
- (<dirent.h>)420 1404 A
- 5580 V
- (40817)210 648 A
- (#include)336 1026 A
- (<limits.h>)420 1404 A
- 5670 V
- (40818)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 5760 V
- (40819)210 648 A
- 5850 V
- (40820)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (addpath(const)546 1488 A
- (char)168 2076 A
- (*path,)252 2286 A
- (char)168 2580 A
- (**ap,)210 2790 A
- (const)210 3042 A
- (char)168 3294 A
- (*entry))294 3504 A
- 5940 V
- (40821)210 648 A
- 1026(/*)S
- (Add)126 1152 A
- (the)126 1320 A
- (name)168 1488 A
- 1698(of)S
- 1824(a)S
- (directory)378 1908 A
- (entry)210 2328 A
- 2580(at)S
- (the)126 2706 A
- (front)210 2874 A
- 3126(of)S
- (the)126 3252 A
- (path)168 3420 A
- (being)210 3630 A
- (built.)252 3882 A
- 6030 V
- (40822)210 648 A
- 1068(*)S
- (Note)168 1152 A
- (that)168 1362 A
- (the)126 1572 A
- (result)252 1740 A
- (always)252 2034 A
- (starts)252 2328 A
- (with)168 2622 A
- 2832(a)S
- (slash.)252 2916 A
- 6120 V
- (40823)210 648 A
- 1068(*/)S
- 6210 V
- (40824)210 648 A
- 1026({)S
- 8418 V
- EP
- %%Page: 396 396
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (396)180 648 A
- 11 R
- 1905(File:)S
- (src/lib/posix/_getcwd.c)1033 2138 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (40825)210 648 A
- (const)210 1362 A
- (char)168 1614 A
- (*e=)126 1824 A
- (entry;)252 1992 A
- 990 V
- (40826)210 648 A
- (char)168 1362 A
- (*p=)126 1572 A
- (*ap;)168 1740 A
- 1080 V
- (40827)210 648 A
- 1170 V
- (40828)210 648 A
- (while)210 1362 A
- ((*e)126 1614 A
- 1782(!=)S
- 1908(0))S
- (e++;)168 2034 A
- 1260 V
- (40829)210 648 A
- 1350 V
- (40830)210 648 A
- (while)210 1362 A
- 1614((e)S
- 1740(>)S
- (entry)210 1824 A
- 2076(&&)S
- 2202(p)S
- 2286(>)S
- (path))210 2370 A
- (*--p)168 2622 A
- 2832(=)S
- (*--e;)210 2916 A
- 1440 V
- (40831)210 648 A
- 1530 V
- (40832)210 648 A
- 1362(if)S
- 1488((p)S
- 1614(==)S
- (path))210 1740 A
- (return)252 1992 A
- (-1;)126 2286 A
- 1620 V
- (40833)210 648 A
- (*--p)168 1362 A
- 1572(=)S
- ('/';)168 1656 A
- 1710 V
- (40834)210 648 A
- (*ap=)168 1362 A
- 1572(p;)S
- 1800 V
- (40835)210 648 A
- (return)252 1362 A
- 1656(0;)S
- 1890 V
- (40836)210 648 A
- 1026(})S
- 2070 V
- (40838)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (recover(char)504 1488 A
- (*p))126 2034 A
- 2160 V
- (40839)210 648 A
- 1026(/*)S
- (Undo)168 1152 A
- (all)126 1362 A
- (those)210 1530 A
- (chdir("..")'s)546 1782 A
- (that)168 2370 A
- (have)168 2580 A
- (been)168 2790 A
- (recorded)336 3000 A
- 3378(by)S
- (addpath.)336 3504 A
- (This)168 3924 A
- 2250 V
- (40840)210 648 A
- 1068(*)S
- (has)126 1152 A
- 1320(to)S
- 1446(be)S
- (done)168 1572 A
- (entry)210 1782 A
- 2034(by)S
- (entry,)252 2160 A
- (because)294 2454 A
- (the)126 2790 A
- (whole)210 2958 A
- (pathname)336 3210 A
- (may)126 3588 A
- 3756(be)S
- (too)126 3882 A
- (long.)210 4050 A
- 2340 V
- (40841)210 648 A
- 1068(*/)S
- 2430 V
- (40842)210 648 A
- 1026({)S
- 2520 V
- (40843)210 648 A
- (int)126 1362 A
- 1530(e=)S
- (errno,)252 1656 A
- (slash;)252 1950 A
- 2610 V
- (40844)210 648 A
- (char)168 1362 A
- (*p0;)168 1572 A
- 2700 V
- (40845)210 648 A
- 2790 V
- (40846)210 648 A
- (while)210 1362 A
- ((*p)126 1614 A
- 1782(!=)S
- 1908(0))S
- 2034({)S
- 2880 V
- (40847)210 648 A
- (p0=)126 1698 A
- (++p;)168 1866 A
- 2970 V
- (40848)210 648 A
- 3060 V
- (40849)210 648 A
- 1698(do)S
- (p++;)168 1824 A
- (while)210 2034 A
- ((*p)126 2286 A
- 2454(!=)S
- 2580(0)S
- 2664(&&)S
- 2790(*p)S
- 2916(!=)S
- ('/');)210 3042 A
- 3150 V
- (40850)210 648 A
- (slash=)252 1698 A
- (*p;)126 1992 A
- (*p=)126 2160 A
- 2328(0;)S
- 3240 V
- (40851)210 648 A
- 3330 V
- (40852)210 648 A
- 1698(if)S
- ((chdir(p0))420 1824 A
- 2286(<)S
- 2370(0))S
- (return)252 2496 A
- (-1;)126 2790 A
- 3420 V
- (40853)210 648 A
- (*p=)126 1698 A
- (slash;)252 1866 A
- 3510 V
- (40854)210 648 A
- 1362(})S
- 3600 V
- (40855)210 648 A
- (errno=)252 1362 A
- 1656(e;)S
- 3690 V
- (40856)210 648 A
- (return)252 1362 A
- 1656(0;)S
- 3780 V
- (40857)210 648 A
- 1026(})S
- 3960 V
- (40859)210 648 A
- (char)168 1026 A
- (*getcwd(char)504 1236 A
- (*path,)252 1782 A
- (size_t)252 2076 A
- (size))210 2370 A
- 4050 V
- (40860)210 648 A
- 1026({)S
- 4140 V
- (40861)210 648 A
- (struct)252 1362 A
- (stat)168 1656 A
- (above,)252 1866 A
- (current,)336 2160 A
- (tmp;)168 2538 A
- 4230 V
- (40862)210 648 A
- (struct)252 1362 A
- (dirent)252 1656 A
- (*entry;)294 1950 A
- 4320 V
- (40863)210 648 A
- (DIR)126 1362 A
- (*d;)126 1530 A
- 4410 V
- (40864)210 648 A
- (char)168 1362 A
- (*p,)126 1572 A
- (*up,)168 1740 A
- (*dotdot;)336 1950 A
- 4500 V
- (40865)210 648 A
- (int)126 1362 A
- (cycle;)252 1530 A
- 4590 V
- (40866)210 648 A
- 4680 V
- (40867)210 648 A
- 1362(if)S
- ((path)210 1488 A
- 1740(==)S
- (nil)126 1866 A
- 2034(||)S
- (size)168 2160 A
- 2370(<=)S
- 2496(2))S
- 2622({)S
- (errno=)252 2706 A
- (EINVAL;)294 3000 A
- (return)252 3336 A
- (nil;)168 3630 A
- 3840(})S
- 4770 V
- (40868)210 648 A
- 4860 V
- (40869)210 648 A
- 1362(p=)S
- (path)168 1488 A
- 1698(+)S
- (size;)210 1782 A
- 4950 V
- (40870)210 648 A
- (*--p)168 1362 A
- 1572(=)S
- 1656(0;)S
- 5040 V
- (40871)210 648 A
- 5130 V
- (40872)210 648 A
- 1362(if)S
- ((stat(".",)420 1488 A
- (¤t))378 1950 A
- 2370(<)S
- 2454(0))S
- (return)252 2580 A
- (nil;)168 2874 A
- 5220 V
- (40873)210 648 A
- 5310 V
- (40874)210 648 A
- (while)210 1362 A
- ((1))126 1614 A
- 1782({)S
- 5400 V
- (40875)210 648 A
- (dotdot=)294 1698 A
- ("..";)210 2034 A
- 5490 V
- (40876)210 648 A
- 1698(if)S
- ((stat(dotdot,)546 1824 A
- (&above))294 2412 A
- 2748(<)S
- 2832(0))S
- 2958({)S
- (recover(p);)462 3042 A
- (return)252 3546 A
- (nil;)168 3840 A
- 4050(})S
- 5580 V
- (40877)210 648 A
- 5670 V
- (40878)210 648 A
- 1698(if)S
- ((above.st_dev)546 1824 A
- 2412(==)S
- (current.st_dev)588 2538 A
- 5760 V
- (40879)210 648 A
- 2706(&&)S
- (above.st_ino)504 2832 A
- 3378(==)S
- (current.st_ino))630 3504 A
- 5850 V
- (40880)210 648 A
- (break;)252 2034 A
- 2370(/*)S
- (Root)168 2496 A
- (dir)126 2706 A
- (found)210 2874 A
- 3126(*/)S
- 5940 V
- (40881)210 648 A
- 6030 V
- (40882)210 648 A
- 1698(if)S
- (((d=)168 1824 A
- (opendir(dotdot)))672 2034 A
- 2748(==)S
- (nil))168 2874 A
- 3084({)S
- (recover(p);)462 3168 A
- (return)252 3672 A
- (nil;)168 3966 A
- 4176(})S
- 6120 V
- (40883)210 648 A
- 6210 V
- (40884)210 648 A
- 1698(/*)S
- (Cycle)210 1824 A
- 2076(is)S
- 2202(0)S
- (for)126 2286 A
- 2454(a)S
- (simple)252 2538 A
- (inode)210 2832 A
- 3084(nr)S
- (search,)294 3210 A
- 3546(or)S
- 3672(1)S
- (for)126 3756 A
- 3924(a)S
- (search)252 4008 A
- 8418 V
- EP
- %%Page: 397 397
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1905(File:)S
- (src/lib/posix/_getcwd.c)1033 2138 A
- 12 B
- (397)180 4248 A
- 900 V
- 7 LST
- (40885)210 648 A
- 1740(*)S
- (for)126 1824 A
- (inode)210 1992 A
- (*and*)210 2244 A
- (device)252 2496 A
- (nr.)126 2790 A
- 990 V
- (40886)210 648 A
- 1740(*/)S
- 1080 V
- (40887)210 648 A
- (cycle=)252 1698 A
- (above.st_dev)504 1992 A
- 2538(==)S
- (current.st_dev)588 2664 A
- 3294(?)S
- 3378(0)S
- 3462(:)S
- 3546(1;)S
- 1170 V
- (40888)210 648 A
- 1260 V
- (40889)210 648 A
- 1698(do)S
- 1824({)S
- 1350 V
- (40890)210 648 A
- (char)168 2034 A
- (name[3)252 2244 A
- 2538(+)S
- (NAME_MAX)336 2622 A
- 3000(+)S
- (1];)126 3084 A
- 1440 V
- (40891)210 648 A
- 1530 V
- (40892)210 648 A
- (tmp.st_ino=)462 2034 A
- 2538(0;)S
- 1620 V
- (40893)210 648 A
- 2034(if)S
- (((entry=)336 2160 A
- (readdir(d)))462 2538 A
- 3042(==)S
- (nil))168 3168 A
- 3378({)S
- 1710 V
- (40894)210 648 A
- (switch)252 2370 A
- ((++cycle))378 2664 A
- 3084({)S
- 1800 V
- (40895)210 648 A
- (case)168 2370 A
- 2580(1:)S
- 1890 V
- (40896)210 648 A
- (rewinddir(d);)546 2706 A
- 1980 V
- (40897)210 648 A
- (continue;)378 2706 A
- 2070 V
- (40898)210 648 A
- (case)168 2370 A
- 2580(2:)S
- 2160 V
- (40899)210 648 A
- (closedir(d);)504 2706 A
- 2250 V
- (40900)210 648 A
- (errno=)252 2706 A
- (ENOENT;)294 3000 A
- 2340 V
- (40901)210 648 A
- (recover(p);)462 2706 A
- 2430 V
- (40902)210 648 A
- (return)252 2706 A
- (nil;)168 3000 A
- 2520 V
- (40903)210 648 A
- 2370(})S
- 2610 V
- (40904)210 648 A
- 2034(})S
- 2700 V
- (40905)210 648 A
- 2034(if)S
- ((strcmp(entry->d_name,)924 2160 A
- ("."))168 3126 A
- 3336(==)S
- 3462(0))S
- (continue;)378 3588 A
- 2790 V
- (40906)210 648 A
- 2034(if)S
- ((strcmp(entry->d_name,)924 2160 A
- (".."))210 3126 A
- 3378(==)S
- 3504(0))S
- (continue;)378 3630 A
- 2880 V
- (40907)210 648 A
- 2970 V
- (40908)210 648 A
- (switch)252 2034 A
- ((cycle))294 2328 A
- 2664({)S
- 3060 V
- (40909)210 648 A
- (case)168 2034 A
- 2244(0:)S
- 3150 V
- (40910)210 648 A
- 2370(/*)S
- (Simple)252 2496 A
- (test)168 2790 A
- 3000(on)S
- (inode)210 3126 A
- (nr.)126 3378 A
- 3546(*/)S
- 3240 V
- (40911)210 648 A
- 2370(if)S
- ((entry->d_ino)546 2496 A
- 3084(!=)S
- (current.st_ino))630 3210 A
- (continue;)378 3882 A
- 3330 V
- (40912)210 648 A
- (/*FALL)252 2370 A
- (THROUGH*/)378 2664 A
- 3420 V
- (40913)210 648 A
- 3510 V
- (40914)210 648 A
- (case)168 2034 A
- 2244(1:)S
- 3600 V
- (40915)210 648 A
- 2370(/*)S
- (Current)294 2496 A
- 2832(is)S
- (mounted.)336 2958 A
- 3336(*/)S
- 3690 V
- (40916)210 648 A
- (strcpy(name,)504 2370 A
- ("../");)294 2916 A
- 3780 V
- (40917)210 648 A
- (strcpy(name+3,)588 2370 A
- (entry->d_name);)630 3000 A
- 3870 V
- (40918)210 648 A
- 2370(if)S
- ((stat(name,)462 2496 A
- (&tmp))210 3000 A
- 3252(<)S
- 3336(0))S
- (continue;)378 3462 A
- 3960 V
- (40919)210 648 A
- (break;)252 2370 A
- 4050 V
- (40920)210 648 A
- 2034(})S
- 4140 V
- (40921)210 648 A
- 1698(})S
- (while)210 1782 A
- ((tmp.st_ino)462 2034 A
- 2538(!=)S
- (current.st_ino)588 2664 A
- 4230 V
- (40922)210 648 A
- 2706(||)S
- (tmp.st_dev)420 2832 A
- 3294(!=)S
- (current.st_dev);)672 3420 A
- 4320 V
- (40923)210 648 A
- 4410 V
- (40924)210 648 A
- (up=)126 1698 A
- 1866(p;)S
- 4500 V
- (40925)210 648 A
- 1698(if)S
- ((addpath(path,)588 1824 A
- (&up,)168 2454 A
- (entry->d_name))588 2664 A
- 3294(<)S
- 3378(0))S
- 3504({)S
- 4590 V
- (40926)210 648 A
- (closedir(d);)504 2034 A
- 4680 V
- (40927)210 648 A
- (errno)210 2034 A
- 2286(=)S
- (ERANGE;)294 2370 A
- 4770 V
- (40928)210 648 A
- (recover(p);)462 2034 A
- 4860 V
- (40929)210 648 A
- (return)252 2034 A
- (nil;)168 2328 A
- 4950 V
- (40930)210 648 A
- 1698(})S
- 5040 V
- (40931)210 648 A
- (closedir(d);)504 1698 A
- 5130 V
- (40932)210 648 A
- 5220 V
- (40933)210 648 A
- 1698(if)S
- ((chdir(dotdot))588 1824 A
- 2454(<)S
- 2538(0))S
- 2664({)S
- (recover(p);)462 2748 A
- (return)252 3252 A
- (nil;)168 3546 A
- 3756(})S
- 5310 V
- (40934)210 648 A
- 1698(p=)S
- (up;)126 1824 A
- 5400 V
- (40935)210 648 A
- 5490 V
- (40936)210 648 A
- (current=)336 1698 A
- (above;)252 2076 A
- 5580 V
- (40937)210 648 A
- 1362(})S
- 5670 V
- (40938)210 648 A
- 1362(if)S
- ((recover(p))462 1488 A
- 1992(<)S
- 2076(0))S
- (return)252 2202 A
- (nil;)168 2496 A
- 2706(/*)S
- (Undo)168 2832 A
- (all)126 3042 A
- (those)210 3210 A
- (chdir("..")'s.)588 3462 A
- 4092(*/)S
- 5760 V
- (40939)210 648 A
- 1362(if)S
- ((*p)126 1488 A
- 1656(==)S
- 1782(0))S
- (*--p)168 1908 A
- 2118(=)S
- ('/';)168 2202 A
- 2706(/*)S
- (Cwd)126 2832 A
- 3000(is)S
- ("/")126 3126 A
- 3294(if)S
- (nothing)294 3420 A
- (added)210 3756 A
- 4008(*/)S
- 5850 V
- (40940)210 648 A
- 1362(if)S
- 1488((p)S
- 1614(>)S
- (path))210 1698 A
- (strcpy(path,)504 1950 A
- (p);)126 2496 A
- 2706(/*)S
- (Move)168 2832 A
- (string)252 3042 A
- 3336(to)S
- (start)210 3462 A
- 3714(of)S
- (path.)210 3840 A
- 4092(*/)S
- 5940 V
- (40941)210 648 A
- (return)252 1362 A
- (path;)210 1656 A