LIB.PS
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:2183k
- 4410 V
- (33134)210 648 A
- (return(-1);)462 1362 A
- 4500 V
- (33135)210 648 A
- 1110(})S
- 4590 V
- (33136)210 648 A
- 4680 V
- (33137)210 648 A
- (lseek(fd,)378 1110 A
- ((off_t))294 1530 A
- (BLOCK_SIZE,)462 1866 A
- (SEEK_SET);)420 2370 A
- 3042(/*)S
- (skip)168 3168 A
- (boot)168 3378 A
- (block)210 3588 A
- 3840(*/)S
- 4770 V
- (33138)210 648 A
- 1110(if)S
- ((read(fd,)378 1236 A
- ((char)210 1656 A
- 1908(*))S
- (&super,)294 2034 A
- ((unsigned))420 2370 A
- (SUPER_SIZE))462 2832 A
- 3336(!=)S
- (SUPER_SIZE))462 3462 A
- 3966({)S
- 4860 V
- (33139)210 648 A
- (std_err(prog);)588 1362 A
- 4950 V
- (33140)210 648 A
- (std_err(")378 1362 A
- (cannot)252 1782 A
- (read)168 2076 A
- (super)210 2286 A
- (block)210 2538 A
- 2790(on)S
- (");)126 2916 A
- 5040 V
- (33141)210 648 A
- (perror(dev);)504 1362 A
- 5130 V
- (33142)210 648 A
- (close(fd);)420 1362 A
- 5220 V
- (33143)210 648 A
- (return(-1);)462 1362 A
- 5310 V
- (33144)210 648 A
- 1110(})S
- 5400 V
- (33145)210 648 A
- (close(fd);)420 1110 A
- 5490 V
- (33146)210 648 A
- 1110(sp)S
- 1236(=)S
- (&super;)294 1320 A
- 5580 V
- (33147)210 648 A
- 1110(if)S
- ((sp->s_magic)504 1236 A
- 1782(==)S
- (SUPER_MAGIC))504 1908 A
- (return(1);)420 2454 A
- 5670 V
- (33148)210 648 A
- 1110(if)S
- ((sp->s_magic)504 1236 A
- 1782(==)S
- (SUPER_V2))378 1908 A
- (return(2);)420 2328 A
- 5760 V
- (33149)210 648 A
- (return(-1);)462 1110 A
- 5850 V
- (33150)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 321 321
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1916(File:)S
- (src/lib/other/getgrent.c)1010 2149 A
- 12 B
- (321)180 4248 A
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/other/getgrent.c)1008 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (33200)210 648 A
- 1026(/*)S
- (getgrent(),)462 1362 A
- (getgrgid(),)462 1866 A
- (getgrnam())420 2370 A
- 2832(-)S
- (group)210 2916 A
- (file)168 3168 A
- (routines)336 3378 A
- 1440 V
- (33201)210 648 A
- 1068(*)S
- 1530 V
- (33202)210 648 A
- 1068(*)S
- (Author:)294 3378 A
- (Kees)168 3714 A
- 3924(J.)S
- (Bot)126 4050 A
- 1620 V
- (33203)210 648 A
- 1068(*)S
- 3714(31)S
- (Jan)126 3840 A
- (1994)168 4008 A
- 1710 V
- (33204)210 648 A
- 1068(*/)S
- 1800 V
- (33205)210 648 A
- (#define)294 1026 A
- (nil)126 1362 A
- 1530(0)S
- 1890 V
- (33206)210 648 A
- (#define)294 1026 A
- (open)168 1362 A
- (_open)210 1572 A
- 1980 V
- (33207)210 648 A
- (#define)294 1026 A
- (fcntl)210 1362 A
- (_fcntl)252 1614 A
- 2070 V
- (33208)210 648 A
- (#define)294 1026 A
- (read)168 1362 A
- (_read)210 1572 A
- 2160 V
- (33209)210 648 A
- (#define)294 1026 A
- (close)210 1362 A
- (_close)252 1614 A
- 2250 V
- (33210)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 2340 V
- (33211)210 648 A
- (#include)336 1026 A
- (<grp.h>)294 1404 A
- 2430 V
- (33212)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 2520 V
- (33213)210 648 A
- (#include)336 1026 A
- (<stdlib.h>)420 1404 A
- 2610 V
- (33214)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 2700 V
- (33215)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 2790 V
- (33216)210 648 A
- 2880 V
- (33217)210 648 A
- (#define)294 1026 A
- (arraysize(a))504 1362 A
- ((sizeof(a))420 2034 A
- 2496(/)S
- (sizeof((a)[0])))630 2580 A
- 2970 V
- (33218)210 648 A
- (#define)294 1026 A
- (arraylimit(a))546 1362 A
- (((a))168 2034 A
- 2244(+)S
- (arraysize(a)))546 2328 A
- 3060 V
- (33219)210 648 A
- 3150 V
- (33220)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (GROUP[]=)336 1530 A
- ("/etc/group";)546 1908 A
- 2706(/*)S
- (The)126 2832 A
- (group)210 3000 A
- (file.)210 3252 A
- 3504(*/)S
- 3240 V
- (33221)210 648 A
- (static)252 1026 A
- (const)210 1320 A
- (char)168 1572 A
- (*grfile;)336 1782 A
- 2706(/*)S
- (Current)294 2832 A
- (group)210 3168 A
- (file.)210 3420 A
- 3672(*/)S
- 3330 V
- (33222)210 648 A
- 3420 V
- (33223)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (buf[1024];)420 1530 A
- 2706(/*)S
- (Read)168 2832 A
- (buffer.)294 3042 A
- 3378(*/)S
- 3510 V
- (33224)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (grline[512];)504 1530 A
- 2706(/*)S
- (One)126 2832 A
- (line)168 3000 A
- (from)168 3210 A
- (the)126 3420 A
- (group)210 3588 A
- (file.)210 3840 A
- 4092(*/)S
- 3600 V
- (33225)210 648 A
- (static)252 1026 A
- (struct)252 1320 A
- (group)210 1614 A
- (entry;)252 1866 A
- 2706(/*)S
- (Entry)210 2832 A
- 3084(to)S
- (fill)168 3210 A
- (and)126 3420 A
- (return.)294 3588 A
- 3924(*/)S
- 3690 V
- (33226)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*members[64];)546 1530 A
- 2706(/*)S
- (Group)210 2832 A
- (members)294 3084 A
- (with)168 3420 A
- (the)126 3630 A
- (entry.)252 3798 A
- 4092(*/)S
- 3780 V
- (33227)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (grfd=)210 1488 A
- (-1;)126 1740 A
- 2706(/*)S
- (Filedescriptor)588 2832 A
- 3462(to)S
- (the)126 3588 A
- (file.)210 3756 A
- 4008(*/)S
- 3870 V
- (33228)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*bufptr;)336 1530 A
- 2706(/*)S
- (Place)210 2832 A
- 3084(in)S
- (buf.)168 3210 A
- 3420(*/)S
- 3960 V
- (33229)210 648 A
- (static)252 1026 A
- (ssize_t)294 1320 A
- (buflen=)294 1656 A
- 1992(0;)S
- 2706(/*)S
- (Remaining)378 2832 A
- (characters)420 3252 A
- 3714(in)S
- (buf.)168 3840 A
- 4050(*/)S
- 4050 V
- (33230)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*lineptr;)378 1530 A
- 2706(/*)S
- (Place)210 2832 A
- 3084(in)S
- (the)126 3210 A
- (line.)210 3378 A
- 3630(*/)S
- 4140 V
- (33231)210 648 A
- 4230 V
- (33232)210 648 A
- (void)168 1026 A
- (endgrent(void))588 1236 A
- 4320 V
- (33233)210 648 A
- 1026(/*)S
- (Close)210 1152 A
- (the)126 1404 A
- (group)210 1572 A
- (file.)210 1824 A
- 2076(*/)S
- 4410 V
- (33234)210 648 A
- 1026({)S
- 4500 V
- (33235)210 648 A
- 1362(if)S
- ((grfd)210 1488 A
- 1740(>=)S
- 1866(0))S
- 1992({)S
- 4590 V
- (33236)210 648 A
- ((void))252 1698 A
- (close(grfd);)504 1992 A
- 4680 V
- (33237)210 648 A
- (grfd=)210 1698 A
- (-1;)126 1950 A
- 4770 V
- (33238)210 648 A
- (buflen=)294 1698 A
- 2034(0;)S
- 4860 V
- (33239)210 648 A
- 1362(})S
- 4950 V
- (33240)210 648 A
- 1026(})S
- 5130 V
- (33242)210 648 A
- (int)126 1026 A
- (setgrent(void))588 1194 A
- 5220 V
- (33243)210 648 A
- 1026(/*)S
- (Open)168 1152 A
- (the)126 1362 A
- (group)210 1530 A
- (file.)210 1782 A
- 2034(*/)S
- 5310 V
- (33244)210 648 A
- 1026({)S
- 5400 V
- (33245)210 648 A
- 1362(if)S
- ((grfd)210 1488 A
- 1740(>=)S
- 1866(0))S
- (endgrent();)462 1992 A
- 5490 V
- (33246)210 648 A
- 5580 V
- (33247)210 648 A
- 1362(if)S
- ((grfile)294 1488 A
- 1824(==)S
- (nil))168 1950 A
- (grfile=)294 2160 A
- (GROUP;)252 2496 A
- 5670 V
- (33248)210 648 A
- 5760 V
- (33249)210 648 A
- 1362(if)S
- (((grfd=)294 1488 A
- (open(grfile,)504 1824 A
- (O_RDONLY)))420 2370 A
- 2832(<)S
- 2916(0))S
- (return)252 3042 A
- (-1;)126 3336 A
- 5850 V
- (33250)210 648 A
- ((void))252 1362 A
- (fcntl(grfd,)462 1656 A
- (F_SETFD,)336 2160 A
- (fcntl(grfd,)462 2538 A
- (F_GETFD))336 3042 A
- 3420(|)S
- (FD_CLOEXEC);)504 3504 A
- 5940 V
- (33251)210 648 A
- (return)252 1362 A
- 1656(0;)S
- 6030 V
- (33252)210 648 A
- 1026(})S
- 6210 V
- (33254)210 648 A
- (void)168 1026 A
- (setgrfile(const)630 1236 A
- (char)168 1908 A
- (*file))252 2118 A
- 8418 V
- EP
- %%Page: 322 322
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (322)180 648 A
- 11 R
- 1916(File:)S
- (src/lib/other/getgrent.c)1010 2149 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (33255)210 648 A
- 1026(/*)S
- (Prepare)294 1152 A
- (for)126 1488 A
- (reading)294 1656 A
- 1992(an)S
- (alternate)378 2118 A
- (group)210 2538 A
- (file.)210 2790 A
- 3042(*/)S
- 990 V
- (33256)210 648 A
- 1026({)S
- 1080 V
- (33257)210 648 A
- (endgrent();)462 1362 A
- 1170 V
- (33258)210 648 A
- (grfile=)294 1362 A
- (file;)210 1698 A
- 1260 V
- (33259)210 648 A
- 1026(})S
- 1440 V
- (33261)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (getline(void))546 1488 A
- 1530 V
- (33262)210 648 A
- 1026(/*)S
- (Get)126 1152 A
- (one)126 1320 A
- (line)168 1488 A
- (from)168 1698 A
- (the)126 1908 A
- (group)210 2076 A
- (file,)210 2328 A
- (return)252 2580 A
- 2874(0)S
- 2958(if)S
- (bad)126 3084 A
- 3252(or)S
- (EOF.)168 3378 A
- 3588(*/)S
- 1620 V
- (33263)210 648 A
- 1026({)S
- 1710 V
- (33264)210 648 A
- (lineptr=)336 1362 A
- (grline;)294 1740 A
- 1800 V
- (33265)210 648 A
- 1890 V
- (33266)210 648 A
- 1362(do)S
- 1488({)S
- 1980 V
- (33267)210 648 A
- 1698(if)S
- ((buflen)294 1824 A
- 2160(==)S
- 2286(0))S
- 2412({)S
- 2070 V
- (33268)210 648 A
- 2034(if)S
- (((buflen=)378 2160 A
- (read(grfd,)420 2580 A
- (buf,)168 3042 A
- (sizeof(buf))))546 3252 A
- 3840(<=)S
- 3966(0))S
- 2160 V
- (33269)210 648 A
- (return)252 2370 A
- 2664(0;)S
- 2250 V
- (33270)210 648 A
- (bufptr=)294 2034 A
- (buf;)168 2370 A
- 2340 V
- (33271)210 648 A
- 1698(})S
- 2430 V
- (33272)210 648 A
- 2520 V
- (33273)210 648 A
- 1698(if)S
- ((lineptr)336 1824 A
- 2202(==)S
- (arraylimit(grline)))798 2328 A
- (return)252 3168 A
- 3462(0;)S
- 2610 V
- (33274)210 648 A
- (buflen--;)378 1698 A
- 2700 V
- (33275)210 648 A
- 1362(})S
- (while)210 1446 A
- (((*lineptr++)504 1698 A
- 2244(=)S
- (*bufptr++))420 2328 A
- 2790(!=)S
- ('\n');)252 2916 A
- 2790 V
- (33276)210 648 A
- 2880 V
- (33277)210 648 A
- (lineptr=)336 1362 A
- (grline;)294 1740 A
- 2970 V
- (33278)210 648 A
- (return)252 1362 A
- 1656(1;)S
- 3060 V
- (33279)210 648 A
- 1026(})S
- 3240 V
- (33281)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*scan_punct(int)630 1530 A
- (punct))252 2202 A
- 3330 V
- (33282)210 648 A
- 1026(/*)S
- (Scan)168 1152 A
- (for)126 1362 A
- 1530(a)S
- (field)210 1614 A
- (separator)378 1866 A
- 2286(in)S
- 2412(a)S
- (line,)210 2496 A
- (return)252 2748 A
- (the)126 3042 A
- (start)210 3210 A
- 3462(of)S
- (the)126 3588 A
- (field.)252 3756 A
- 4050(*/)S
- 3420 V
- (33283)210 648 A
- 1026({)S
- 3510 V
- (33284)210 648 A
- (char)168 1362 A
- (*field=)294 1572 A
- (lineptr;)336 1908 A
- 3600 V
- (33285)210 648 A
- (char)168 1362 A
- (*last;)252 1572 A
- 3690 V
- (33286)210 648 A
- 3780 V
- (33287)210 648 A
- (for)126 1362 A
- ((;;))168 1530 A
- 1740({)S
- 3870 V
- (33288)210 648 A
- (last=)210 1698 A
- (lineptr;)336 1950 A
- 3960 V
- (33289)210 648 A
- 1698(if)S
- ((*lineptr)378 1824 A
- 2244(==)S
- 2370(0))S
- (return)252 2496 A
- (nil;)168 2790 A
- 4050 V
- (33290)210 648 A
- 1698(if)S
- ((*lineptr)378 1824 A
- 2244(==)S
- ('\n'))210 2370 A
- (break;)252 2622 A
- 4140 V
- (33291)210 648 A
- 1698(if)S
- ((*lineptr++)462 1824 A
- 2328(==)S
- (punct))252 2454 A
- (break;)252 2748 A
- 4230 V
- (33292)210 648 A
- 1698(if)S
- ((lineptr[-1])504 1824 A
- 2370(==)S
- (':'))168 2496 A
- (return)252 2706 A
- (nil;)168 3000 A
- 3378(/*)S
- (:::,,,:,,,?)462 3504 A
- 4008(*/)S
- 4320 V
- (33293)210 648 A
- 1362(})S
- 4410 V
- (33294)210 648 A
- (*last=)252 1362 A
- 1656(0;)S
- 4500 V
- (33295)210 648 A
- (return)252 1362 A
- (field;)252 1656 A
- 4590 V
- (33296)210 648 A
- 1026(})S
- 4770 V
- (33298)210 648 A
- (struct)252 1026 A
- (group)210 1320 A
- (*getgrent(void))630 1572 A
- 4860 V
- (33299)210 648 A
- 1026(/*)S
- (Read)168 1152 A
- (one)126 1362 A
- (entry)210 1530 A
- (from)168 1782 A
- (the)126 1992 A
- (group)210 2160 A
- (file.)210 2412 A
- 2664(*/)S
- 4950 V
- (33300)210 648 A
- 1026({)S
- 5040 V
- (33301)210 648 A
- (char)168 1362 A
- (*p;)126 1572 A
- 5130 V
- (33302)210 648 A
- (char)168 1362 A
- (**mem;)252 1572 A
- 5220 V
- (33303)210 648 A
- 5310 V
- (33304)210 648 A
- 1362(/*)S
- (Open)168 1488 A
- (the)126 1698 A
- (file)168 1866 A
- 2076(if)S
- (not)126 2202 A
- (yet)126 2370 A
- (open.)210 2538 A
- 2790(*/)S
- 5400 V
- (33305)210 648 A
- 1362(if)S
- ((grfd)210 1488 A
- 1740(<)S
- 1824(0)S
- 1908(&&)S
- (setgrent())420 2034 A
- 2496(<)S
- 2580(0))S
- (return)252 2706 A
- (nil;)168 3000 A
- 5490 V
- (33306)210 648 A
- 5580 V
- (33307)210 648 A
- 1362(/*)S
- (Until)210 1488 A
- 1740(a)S
- (good)168 1824 A
- (line)168 2034 A
- 2244(is)S
- (read.)210 2370 A
- 2622(*/)S
- 5670 V
- (33308)210 648 A
- (for)126 1362 A
- ((;;))168 1530 A
- 1740({)S
- 5760 V
- (33309)210 648 A
- 1698(if)S
- ((!getline()))504 1824 A
- (return)252 2370 A
- (nil;)168 2664 A
- 3042(/*)S
- (EOF)126 3168 A
- 3336(or)S
- (corrupt.)336 3462 A
- 3840(*/)S
- 5850 V
- (33310)210 648 A
- 5940 V
- (33311)210 648 A
- 1698(if)S
- (((entry.gr_name=)672 1824 A
- (scan_punct(':')))672 2538 A
- 3252(==)S
- (nil))168 3378 A
- (continue;)378 3588 A
- 6030 V
- (33312)210 648 A
- 1698(if)S
- (((entry.gr_passwd=)756 1824 A
- (scan_punct(':')))672 2622 A
- 3336(==)S
- (nil))168 3462 A
- (continue;)378 3672 A
- 6120 V
- (33313)210 648 A
- 1698(if)S
- (((p=)168 1824 A
- (scan_punct(':')))672 2034 A
- 2748(==)S
- (nil))168 2874 A
- (continue;)378 3084 A
- 6210 V
- (33314)210 648 A
- (entry.gr_gid=)546 1698 A
- (strtol(p,)378 2286 A
- (nil,)168 2706 A
- (0);)126 2916 A
- 8418 V
- EP
- %%Page: 323 323
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1916(File:)S
- (src/lib/other/getgrent.c)1010 2149 A
- 12 B
- (323)180 4248 A
- 900 V
- 7 LST
- (33315)210 648 A
- 990 V
- (33316)210 648 A
- (entry.gr_mem=)546 1698 A
- (mem=)168 2286 A
- (members;)336 2496 A
- 1080 V
- (33317)210 648 A
- 1698(if)S
- ((*lineptr)378 1824 A
- 2244(!=)S
- ('\n'))210 2370 A
- 2622({)S
- 1170 V
- (33318)210 648 A
- 2034(do)S
- 2160({)S
- 1260 V
- (33319)210 648 A
- 2370(if)S
- (((*mem=)294 2496 A
- (scan_punct(',')))672 2832 A
- 3546(==)S
- (nil))168 3672 A
- (goto)168 3882 A
- (again;)252 4092 A
- 1350 V
- (33320)210 648 A
- 2370(if)S
- ((mem)168 2496 A
- 2706(<)S
- (arraylimit(members))798 2790 A
- 3630(-)S
- 3714(1))S
- (mem++;)252 3840 A
- 1440 V
- (33321)210 648 A
- 2034(})S
- (while)210 2118 A
- ((*lineptr)378 2370 A
- 2790(!=)S
- (0);)126 2916 A
- 1530 V
- (33322)210 648 A
- 1698(})S
- 1620 V
- (33323)210 648 A
- (*mem=)210 1698 A
- (nil;)168 1950 A
- 1710 V
- (33324)210 648 A
- (return)252 1698 A
- (&entry;)294 1992 A
- 1800 V
- (33325)210 648 A
- (again:;)294 1362 A
- 1890 V
- (33326)210 648 A
- 1362(})S
- 1980 V
- (33327)210 648 A
- 1026(})S
- 2160 V
- (33329)210 648 A
- (struct)252 1026 A
- (group)210 1320 A
- (*getgrgid(Gid_t)630 1572 A
- (gid))168 2244 A
- 2250 V
- (33330)210 648 A
- 1026(/*)S
- (Return)252 1152 A
- (the)126 1446 A
- (group)210 1614 A
- (file)168 1866 A
- (entry)210 2076 A
- (belonging)378 2328 A
- 2748(to)S
- (the)126 2874 A
- (user-id.)336 3042 A
- 3420(*/)S
- 2340 V
- (33331)210 648 A
- 1026({)S
- 2430 V
- (33332)210 648 A
- (struct)252 1362 A
- (group)210 1656 A
- (*gr;)168 1908 A
- 2520 V
- (33333)210 648 A
- 2610 V
- (33334)210 648 A
- (endgrent();)462 1362 A
- 2700 V
- (33335)210 648 A
- (while)210 1362 A
- (((gr=)210 1614 A
- (getgrent()))462 1866 A
- 2370(!=)S
- (nil)126 2496 A
- 2664(&&)S
- (gr->gr_gid)420 2790 A
- 3252(!=)S
- (gid))168 3378 A
- 3588({})S
- 2790 V
- (33336)210 648 A
- (endgrent();)462 1362 A
- 2880 V
- (33337)210 648 A
- (return)252 1362 A
- (gr;)126 1656 A
- 2970 V
- (33338)210 648 A
- 1026(})S
- 3150 V
- (33340)210 648 A
- (struct)252 1026 A
- (group)210 1320 A
- (*getgrnam(const)630 1572 A
- (char)168 2244 A
- (*name))252 2454 A
- 3240 V
- (33341)210 648 A
- 1026(/*)S
- (Return)252 1152 A
- (the)126 1446 A
- (group)210 1614 A
- (file)168 1866 A
- (entry)210 2076 A
- (belonging)378 2328 A
- 2748(to)S
- (the)126 2874 A
- (user)168 3042 A
- (name.)210 3252 A
- 3504(*/)S
- 3330 V
- (33342)210 648 A
- 1026({)S
- 3420 V
- (33343)210 648 A
- (struct)252 1362 A
- (group)210 1656 A
- (*gr;)168 1908 A
- 3510 V
- (33344)210 648 A
- 3600 V
- (33345)210 648 A
- (endgrent();)462 1362 A
- 3690 V
- (33346)210 648 A
- (while)210 1362 A
- (((gr=)210 1614 A
- (getgrent()))462 1866 A
- 2370(!=)S
- (nil)126 2496 A
- 2664(&&)S
- (strcmp(gr->gr_name,)798 2790 A
- (name))210 3630 A
- 3882(!=)S
- 4008(0))S
- 4134({})S
- 3780 V
- (33347)210 648 A
- (endgrent();)462 1362 A
- 3870 V
- (33348)210 648 A
- (return)252 1362 A
- (gr;)126 1656 A
- 3960 V
- (33349)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/other/getlogin.c)1008 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (33400)210 648 A
- 1026(/*)S
- (getlogin(3))462 1194 A
- 5040 V
- (33401)210 648 A
- 1068(*)S
- 5130 V
- (33402)210 648 A
- 1068(*)S
- (Author:)294 1194 A
- (Terrence)336 1530 A
- 1908(W.)S
- (Holm)168 2034 A
- (Aug.)168 2622 A
- (1988)168 2832 A
- 5220 V
- (33403)210 648 A
- 1068(*/)S
- 5310 V
- (33404)210 648 A
- 5400 V
- (33405)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5490 V
- (33406)210 648 A
- (#include)336 1026 A
- (<pwd.h>)294 1404 A
- 5580 V
- (33407)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 5670 V
- (33408)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 5760 V
- (33409)210 648 A
- (#include)336 1026 A
- (<stdio.h>)378 1404 A
- 5850 V
- (33410)210 648 A
- 5940 V
- (33411)210 648 A
- (#ifndef)294 1026 A
- (L_cuserid)378 1404 A
- 6030 V
- (33412)210 648 A
- (#define)294 1026 A
- (L_cuserid)378 1404 A
- 1908(9)S
- 6120 V
- (33413)210 648 A
- (#endif)252 1026 A
- 6210 V
- (33414)210 648 A
- 8418 V
- EP
- %%Page: 324 324
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (324)180 648 A
- 11 R
- 1917(File:)S
- (src/lib/other/getlogin.c)1009 2150 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (33415)210 648 A
- (char)168 1026 A
- (*getlogin())462 1236 A
- 990 V
- (33416)210 648 A
- 1026({)S
- 1080 V
- (33417)210 648 A
- (PRIVATE)294 1110 A
- (char)168 1446 A
- (userid[L_cuserid];)756 1656 A
- 1170 V
- (33418)210 648 A
- (struct)252 1110 A
- (passwd)252 1404 A
- (*pw_entry;)420 1698 A
- 1260 V
- (33419)210 648 A
- 1350 V
- (33420)210 648 A
- (pw_entry)336 1110 A
- 1488(=)S
- (getpwuid(getuid());)798 1572 A
- 1440 V
- (33421)210 648 A
- 1530 V
- (33422)210 648 A
- 1110(if)S
- ((pw_entry)378 1236 A
- 1656(==)S
- ((struct)294 1782 A
- (passwd)252 2118 A
- (*)NULL))294 2412 A
- (return((char)504 2748 A
- (*)NULL);)336 3294 A
- 1620 V
- (33423)210 648 A
- 1710 V
- (33424)210 648 A
- (strcpy(userid,)588 1110 A
- (pw_entry->pw_name);)798 1740 A
- 1800 V
- (33425)210 648 A
- 1890 V
- (33426)210 648 A
- (return(userid);)630 1110 A
- 1980 V
- (33427)210 648 A
- 1026(})S
- 2340 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2430 V
- (src/lib/other/getopt.c)924 1698 A
- 2520 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2700 V
- (33500)210 648 A
- 1026(/*)S
- 2790 V
- (33501)210 648 A
- 1068(*)S
- (getopt)252 1152 A
- 1446(-)S
- (parse)210 1530 A
- (command-line)504 1782 A
- (options)294 2328 A
- 2880 V
- (33502)210 648 A
- 1068(*/)S
- 2970 V
- (33503)210 648 A
- 1026(/*)S
- ($Header:)336 1152 A
- (getopt.c,v)420 1530 A
- (1.1)126 1992 A
- (89/12/18)336 2160 A
- (14:39:31)336 2538 A
- (eck)126 2916 A
- (Exp)126 3084 A
- 3252($)S
- 3336(*/)S
- 3060 V
- (33504)210 648 A
- 3150 V
- (33505)210 648 A
- (#include)336 1026 A
- (<stdlib.h>)420 1698 A
- 3240 V
- (33506)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1698 A
- 3330 V
- (33507)210 648 A
- (#include)336 1026 A
- (<stdio.h>)378 1698 A
- 3420 V
- (33508)210 648 A
- 3510 V
- (33509)210 648 A
- (#define)294 1026 A
- (ERR(s,)252 1362 A
- 1656(c))S
- (if(opterr){\)504 2034 A
- 3600 V
- (33510)210 648 A
- (fputs(argv[0],)588 1362 A
- (stderr);\)378 1992 A
- 3690 V
- (33511)210 648 A
- (fputs(s,)336 1362 A
- (stderr);\)378 1740 A
- 3780 V
- (33512)210 648 A
- (fputc(c,)336 1362 A
- (stderr);\)378 1740 A
- 3870 V
- (33513)210 648 A
- (fputc('\n',)462 1362 A
- (stderr);})378 1866 A
- 3960 V
- (33514)210 648 A
- 4050 V
- (33515)210 648 A
- (int)126 1026 A
- (opterr)252 1362 A
- 1656(=)S
- 1740(1;)S
- 4140 V
- (33516)210 648 A
- (int)126 1026 A
- (optind)252 1362 A
- 1656(=)S
- 1740(1;)S
- 4230 V
- (33517)210 648 A
- (int)126 1026 A
- (optopt;)294 1362 A
- 4320 V
- (33518)210 648 A
- (char)168 1026 A
- (*optarg;)336 1362 A
- 4410 V
- (33519)210 648 A
- 4500 V
- (33520)210 648 A
- (int)126 1026 A
- 4590 V
- (33521)210 648 A
- (getopt(argc,)504 1026 A
- (argv,)210 1572 A
- (opts))210 1824 A
- 4680 V
- (33522)210 648 A
- (int)126 1026 A
- (argc;)210 1194 A
- 4770 V
- (33523)210 648 A
- (char)168 1026 A
- (**argv;)294 1236 A
- 4860 V
- (33524)210 648 A
- (char)168 1026 A
- (*opts;)252 1236 A
- 4950 V
- (33525)210 648 A
- 1026({)S
- 5040 V
- (33526)210 648 A
- (static)252 1362 A
- (int)126 1656 A
- 1824(sp)S
- 1950(=)S
- 2034(1;)S
- 5130 V
- (33527)210 648 A
- (register)336 1362 A
- 1740(c;)S
- 5220 V
- (33528)210 648 A
- (register)336 1362 A
- (char)168 1740 A
- (*cp;)168 1950 A
- 5310 V
- (33529)210 648 A
- 5400 V
- (33530)210 648 A
- 1362(if)S
- ((sp)126 1488 A
- 1656(==)S
- 1782(1))S
- 5490 V
- (33531)210 648 A
- 1698(if)S
- ((optind)294 1824 A
- 2160(>=)S
- (argc)168 2286 A
- 2496(||)S
- 5580 V
- (33532)210 648 A
- (argv[optind][0])630 1824 A
- 2496(!=)S
- ('-')126 2622 A
- 2790(||)S
- (argv[optind][1])630 2916 A
- 3588(==)S
- ('\0'))210 3714 A
- 5670 V
- (33533)210 648 A
- (return)252 2034 A
- (EOF;)168 2328 A
- 5760 V
- (33534)210 648 A
- (else)168 1698 A
- 1908(if)S
- ((!strcmp(argv[optind],)924 2034 A
- ("--")))252 3000 A
- 3294({)S
- 5850 V
- (33535)210 648 A
- (optind++;)378 2034 A
- 5940 V
- (33536)210 648 A
- (return)252 2034 A
- (EOF;)168 2328 A
- 6030 V
- (33537)210 648 A
- 1698(})S
- 6120 V
- (33538)210 648 A
- (optopt)252 1362 A
- 1656(=)S
- 1740(c)S
- 1824(=)S
- (argv[optind][sp];)714 1908 A
- 6210 V
- (33539)210 648 A
- 1362(if)S
- 1488((c)S
- 1614(==)S
- (':')126 1740 A
- 1908(||)S
- ((cp=strchr(opts,)672 2034 A
- (c)))126 2748 A
- 2916(==)S
- (NULL))210 3042 A
- 3294({)S
- 8418 V
- EP
- %%Page: 325 325
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1960(File:)S
- (src/lib/other/getopt.c)923 2193 A
- 12 B
- (325)180 4248 A
- 900 V
- 7 LST
- (33540)210 648 A
- (ERR)126 1698 A
- ((":)126 1866 A
- (illegal)294 2034 A
- (option)252 2370 A
- 2664(--)S
- 2790(",)S
- (c);)126 2916 A
- 990 V
- (33541)210 648 A
- 1698(if)S
- ((argv[optind][++sp])798 1824 A
- 2664(==)S
- ('\0'))210 2790 A
- 3042({)S
- 1080 V
- (33542)210 648 A
- (optind++;)378 2034 A
- 1170 V
- (33543)210 648 A
- 2034(sp)S
- 2160(=)S
- 2244(1;)S
- 1260 V
- (33544)210 648 A
- 1698(})S
- 1350 V
- (33545)210 648 A
- (return)252 1698 A
- ('?';)168 1992 A
- 1440 V
- (33546)210 648 A
- 1362(})S
- 1530 V
- (33547)210 648 A
- 1362(if)S
- ((*++cp)252 1488 A
- 1782(==)S
- (':'))168 1908 A
- 2118({)S
- 1620 V
- (33548)210 648 A
- 1698(if)S
- ((argv[optind][sp+1])798 1824 A
- 2664(!=)S
- ('\0'))210 2790 A
- 1710 V
- (33549)210 648 A
- (optarg)252 2034 A
- 2328(=)S
- (&argv[optind++][sp+1];)924 2412 A
- 1800 V
- (33550)210 648 A
- (else)168 1698 A
- 1908(if)S
- ((++optind)378 2034 A
- 2454(>=)S
- (argc))210 2580 A
- 2832({)S
- 1890 V
- (33551)210 648 A
- (ERR)126 2034 A
- ((":)126 2202 A
- (option)252 2370 A
- (requires)336 2664 A
- 3042(an)S
- (argument)336 3168 A
- 3546(--)S
- 3672(",)S
- (c);)126 3798 A
- 1980 V
- (33552)210 648 A
- 2034(sp)S
- 2160(=)S
- 2244(1;)S
- 2070 V
- (33553)210 648 A
- (return)252 2034 A
- ('?';)168 2328 A
- 2160 V
- (33554)210 648 A
- 1698(})S
- (else)168 1782 A
- 2250 V
- (33555)210 648 A
- (optarg)252 2034 A
- 2328(=)S
- (argv[optind++];)630 2412 A
- 2340 V
- (33556)210 648 A
- 1698(sp)S
- 1824(=)S
- 1908(1;)S
- 2430 V
- (33557)210 648 A
- 1362(})S
- (else)168 1446 A
- 1656({)S
- 2520 V
- (33558)210 648 A
- 1698(if)S
- ((argv[optind][++sp])798 1824 A
- 2664(==)S
- ('\0'))210 2790 A
- 3042({)S
- 2610 V
- (33559)210 648 A
- 2034(sp)S
- 2160(=)S
- 2244(1;)S
- 2700 V
- (33560)210 648 A
- (optind++;)378 2034 A
- 2790 V
- (33561)210 648 A
- 1698(})S
- 2880 V
- (33562)210 648 A
- (optarg)252 1698 A
- 1992(=)S
- (NULL;)210 2076 A
- 2970 V
- (33563)210 648 A
- 1362(})S
- 3060 V
- (33564)210 648 A
- (return)252 1362 A
- 1656(c;)S
- 3150 V
- (33565)210 648 A
- 1026(})S
- 3690 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3780 V
- (src/lib/other/getpass.c)966 1698 A
- 3870 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4050 V
- (33600)210 648 A
- 1026(/*)S
- (getpass())378 1362 A
- 1782(-)S
- (read)168 1866 A
- 2076(a)S
- (password)336 2160 A
- (Author:)294 3042 A
- (Kees)168 3378 A
- 3588(J.)S
- (Bot)126 3714 A
- 4140 V
- (33601)210 648 A
- 1068(*)S
- (Feb)126 3378 A
- 3546(16)S
- (1993)168 3672 A
- 4230 V
- (33602)210 648 A
- 1068(*/)S
- 4320 V
- (33603)210 648 A
- (#define)294 1026 A
- (open)168 1362 A
- (_open)210 1572 A
- 4410 V
- (33604)210 648 A
- (#define)294 1026 A
- (sigaction)378 1362 A
- (_sigaction)420 1782 A
- 4500 V
- (33605)210 648 A
- (#define)294 1026 A
- (sigemptyset)462 1362 A
- (_sigemptyset)504 1866 A
- 4590 V
- (33606)210 648 A
- (#define)294 1026 A
- (tcgetattr)378 1362 A
- (_tcgetattr)420 1782 A
- 4680 V
- (33607)210 648 A
- (#define)294 1026 A
- (tcsetattr)378 1362 A
- (_tcsetattr)420 1782 A
- 4770 V
- (33608)210 648 A
- (#define)294 1026 A
- (write)210 1362 A
- (_write)252 1614 A
- 4860 V
- (33609)210 648 A
- (#define)294 1026 A
- (read)168 1362 A
- (_read)210 1572 A
- 4950 V
- (33610)210 648 A
- (#define)294 1026 A
- (close)210 1362 A
- (_close)252 1614 A
- 5040 V
- (33611)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 5130 V
- (33612)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 5220 V
- (33613)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 5310 V
- (33614)210 648 A
- (#include)336 1026 A
- (<signal.h>)420 1404 A
- 5400 V
- (33615)210 648 A
- (#include)336 1026 A
- (<termios.h>)462 1404 A
- 5490 V
- (33616)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 5580 V
- (33617)210 648 A
- 5670 V
- (33618)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (intr;)210 1488 A
- 5760 V
- (33619)210 648 A
- 5850 V
- (33620)210 648 A
- (static)252 1026 A
- (void)168 1320 A
- (catch(int)378 1530 A
- (sig))168 1950 A
- 5940 V
- (33621)210 648 A
- 1026({)S
- 6030 V
- (33622)210 648 A
- (intr=)210 1362 A
- 1614(1;)S
- 6120 V
- (33623)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 326 326
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (326)180 648 A
- 11 R
- 1935(File:)S
- (src/lib/other/getpass.c)973 2168 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (33625)210 648 A
- (char)168 1026 A
- (*getpass(const)588 1236 A
- (char)168 1866 A
- (*prompt))336 2076 A
- 990 V
- (33626)210 648 A
- 1026({)S
- 1080 V
- (33627)210 648 A
- (struct)252 1362 A
- (sigaction)378 1656 A
- (osa,)168 2076 A
- (sa;)126 2286 A
- 1170 V
- (33628)210 648 A
- (struct)252 1362 A
- (termios)294 1656 A
- (cooked,)294 1992 A
- (raw;)168 2328 A
- 1260 V
- (33629)210 648 A
- (static)252 1362 A
- (char)168 1656 A
- (password[32+1];)630 1866 A
- 1350 V
- (33630)210 648 A
- (int)126 1362 A
- (fd,)126 1530 A
- 1698(n=)S
- 1824(0;)S
- 1440 V
- (33631)210 648 A
- 1530 V
- (33632)210 648 A
- 1362(/*)S
- (Try)126 1488 A
- 1656(to)S
- (open)168 1782 A
- (the)126 1992 A
- (controlling)462 2160 A
- (terminal.)378 2664 A
- 3084(*/)S
- 1620 V
- (33633)210 648 A
- 1362(if)S
- (((fd=)210 1488 A
- (open("/dev/tty",)672 1740 A
- (O_RDONLY)))420 2454 A
- 2916(<)S
- 3000(0))S
- (return)252 3126 A
- (NULL;)210 3420 A
- 1710 V
- (33634)210 648 A
- 1800 V
- (33635)210 648 A
- 1362(/*)S
- (Trap)168 1488 A
- (interrupts)420 1698 A
- (unless)252 2160 A
- (ignored.)336 2454 A
- 2832(*/)S
- 1890 V
- (33636)210 648 A
- (intr=)210 1362 A
- 1614(0;)S
- 1980 V
- (33637)210 648 A
- (sigaction(SIGINT,)714 1362 A
- (NULL,)210 2118 A
- (&osa);)252 2370 A
- 2070 V
- (33638)210 648 A
- 1362(if)S
- ((osa.sa_handler)630 1488 A
- 2160(!=)S
- (SIG_IGN))336 2286 A
- 2664({)S
- 2160 V
- (33639)210 648 A
- (sigemptyset(&sa.sa_mask);)1050 1698 A
- 2250 V
- (33640)210 648 A
- (sa.sa_flags=)504 1698 A
- 2244(0;)S
- 2340 V
- (33641)210 648 A
- (sa.sa_handler=)588 1698 A
- (catch;)252 2328 A
- 2430 V
- (33642)210 648 A
- (sigaction(SIGINT,)714 1698 A
- (&sa,)168 2454 A
- (&osa);)252 2664 A
- 2520 V
- (33643)210 648 A
- 1362(})S
- 2610 V
- (33644)210 648 A
- 2700 V
- (33645)210 648 A
- 1362(/*)S
- (Set)126 1488 A
- (the)126 1656 A
- (terminal)336 1824 A
- 2202(to)S
- (non-echo)336 2328 A
- (mode.)210 2706 A
- 2958(*/)S
- 2790 V
- (33646)210 648 A
- (tcgetattr(fd,)546 1362 A
- (&cooked);)378 1950 A
- 2880 V
- (33647)210 648 A
- (raw=)168 1362 A
- (cooked;)294 1572 A
- 2970 V
- (33648)210 648 A
- (raw.c_iflag|=)546 1362 A
- (ICRNL;)252 1950 A
- 3060 V
- (33649)210 648 A
- (raw.c_lflag&=)546 1362 A
- (304ECHO;)252 1950 A
- 3150 V
- (33650)210 648 A
- (raw.c_lflag|=)546 1362 A
- (ECHONL;)294 1950 A
- 3240 V
- (33651)210 648 A
- (raw.c_oflag|=)546 1362 A
- (OPOST)210 1950 A
- 2202(|)S
- (ONLCR;)252 2286 A
- 3330 V
- (33652)210 648 A
- (tcsetattr(fd,)546 1362 A
- (TCSANOW,)336 1950 A
- (&raw);)252 2328 A
- 3420 V
- (33653)210 648 A
- 3510 V
- (33654)210 648 A
- 1362(/*)S
- (Print)210 1488 A
- (the)126 1740 A
- (prompt.)294 1908 A
- ((After)252 2286 A
- (setting)294 2580 A
- (non-echo!))420 2916 A
- 3378(*/)S
- 3600 V
- (33655)210 648 A
- (write(2,)336 1362 A
- (prompt,)294 1740 A
- (strlen(prompt));)672 2076 A
- 3690 V
- (33656)210 648 A
- 3780 V
- (33657)210 648 A
- 1362(/*)S
- (Read)168 1488 A
- (the)126 1698 A
- (password,)378 1866 A
- 2286(32)S
- (characters)420 2412 A
- (max.)168 2874 A
- 3084(*/)S
- 3870 V
- (33658)210 648 A
- (while)210 1362 A
- ((read(fd,)378 1614 A
- (password+n,)462 2034 A
- 2538(1))S
- 2664(>)S
- 2748(0))S
- 2874({)S
- 3960 V
- (33659)210 648 A
- 1698(if)S
- ((password[n])504 1824 A
- 2370(==)S
- ('\n'))210 2496 A
- (break;)252 2748 A
- 4050 V
- (33660)210 648 A
- 1698(if)S
- 1824((n)S
- 1950(<)S
- (32))126 2034 A
- (n++;)168 2202 A
- 4140 V
- (33661)210 648 A
- 1362(})S
- 4230 V
- (33662)210 648 A
- (password[n]=)504 1362 A
- 1908(0;)S
- 4320 V
- (33663)210 648 A
- 4410 V
- (33664)210 648 A
- 1362(/*)S
- (Terminal)336 1488 A
- (back)168 1866 A
- 2076(to)S
- (cooked)252 2202 A
- (mode.)210 2496 A
- 2748(*/)S
- 4500 V
- (33665)210 648 A
- (tcsetattr(fd,)546 1362 A
- (TCSANOW,)336 1950 A
- (&cooked);)378 2328 A
- 4590 V
- (33666)210 648 A
- 4680 V
- (33667)210 648 A
- (close(fd);)420 1362 A
- 4770 V
- (33668)210 648 A
- 4860 V
- (33669)210 648 A
- 1362(/*)S
- (Interrupt?)420 1488 A
- 1950(*/)S
- 4950 V
- (33670)210 648 A
- (sigaction(SIGINT,)714 1362 A
- (&osa,)210 2118 A
- (NULL);)252 2370 A
- 5040 V
- (33671)210 648 A
- 1362(if)S
- ((intr))252 1488 A
- (raise(SIGINT);)588 1782 A
- 5130 V
- (33672)210 648 A
- 5220 V
- (33673)210 648 A
- (return)252 1362 A
- (password;)378 1656 A
- 5310 V
- (33674)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 327 327
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1895(File:)S
- (src/lib/other/getpwent.c)1053 2128 A
- 12 B
- (327)180 4248 A
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/other/getpwent.c)1008 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (33700)210 648 A
- 1026(/*)S
- (getpwent(),)462 1362 A
- (getpwuid(),)462 1866 A
- (getpwnam())420 2370 A
- 2832(-)S
- (password)336 2916 A
- (file)168 3294 A
- (routines)336 3504 A
- 1440 V
- (33701)210 648 A
- 1068(*)S
- 1530 V
- (33702)210 648 A
- 1068(*)S
- (Author:)294 3378 A
- (Kees)168 3714 A
- 3924(J.)S
- (Bot)126 4050 A
- 1620 V
- (33703)210 648 A
- 1068(*)S
- 3714(31)S
- (Jan)126 3840 A
- (1994)168 4008 A
- 1710 V
- (33704)210 648 A
- 1068(*/)S
- 1800 V
- (33705)210 648 A
- (#define)294 1026 A
- (nil)126 1362 A
- 1530(0)S
- 1890 V
- (33706)210 648 A
- (#define)294 1026 A
- (open)168 1362 A
- (_open)210 1572 A
- 1980 V
- (33707)210 648 A
- (#define)294 1026 A
- (fcntl)210 1362 A
- (_fcntl)252 1614 A
- 2070 V
- (33708)210 648 A
- (#define)294 1026 A
- (read)168 1362 A
- (_read)210 1572 A
- 2160 V
- (33709)210 648 A
- (#define)294 1026 A
- (close)210 1362 A
- (_close)252 1614 A
- 2250 V
- (33710)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 2340 V
- (33711)210 648 A
- (#include)336 1026 A
- (<pwd.h>)294 1404 A
- 2430 V
- (33712)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 2520 V
- (33713)210 648 A
- (#include)336 1026 A
- (<stdlib.h>)420 1404 A
- 2610 V
- (33714)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 2700 V
- (33715)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 2790 V
- (33716)210 648 A
- 2880 V
- (33717)210 648 A
- (#define)294 1026 A
- (arraysize(a))504 1362 A
- ((sizeof(a))420 2034 A
- 2496(/)S
- (sizeof((a)[0])))630 2580 A
- 2970 V
- (33718)210 648 A
- (#define)294 1026 A
- (arraylimit(a))546 1362 A
- (((a))168 2034 A
- 2244(+)S
- (arraysize(a)))546 2328 A
- 3060 V
- (33719)210 648 A
- 3150 V
- (33720)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (PASSWD[]=)378 1530 A
- ("/etc/passwd";)588 1950 A
- 2706(/*)S
- (The)126 2832 A
- (password)336 3000 A
- (file.)210 3378 A
- 3630(*/)S
- 3240 V
- (33721)210 648 A
- (static)252 1026 A
- (const)210 1320 A
- (char)168 1572 A
- (*pwfile;)336 1782 A
- 2706(/*)S
- (Current)294 2832 A
- (password)336 3168 A
- (file.)210 3546 A
- 3798(*/)S
- 3330 V
- (33722)210 648 A
- 3420 V
- (33723)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (buf[1024];)420 1530 A
- 2706(/*)S
- (Read)168 2832 A
- (buffer.)294 3042 A
- 3378(*/)S
- 3510 V
- (33724)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (pwline[256];)504 1530 A
- 2706(/*)S
- (One)126 2832 A
- (line)168 3000 A
- (from)168 3210 A
- (the)126 3420 A
- (password)336 3588 A
- (file.)210 3966 A
- 4218(*/)S
- 3600 V
- (33725)210 648 A
- (static)252 1026 A
- (struct)252 1320 A
- (passwd)252 1614 A
- (entry;)252 1908 A
- 2706(/*)S
- (Entry)210 2832 A
- 3084(to)S
- (fill)168 3210 A
- (and)126 3420 A
- (return.)294 3588 A
- 3924(*/)S
- 3690 V
- (33726)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (pwfd=)210 1488 A
- (-1;)126 1740 A
- 2706(/*)S
- (Filedescriptor)588 2832 A
- 3462(to)S
- (the)126 3588 A
- (file.)210 3756 A
- 4008(*/)S
- 3780 V
- (33727)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*bufptr;)336 1530 A
- 2706(/*)S
- (Place)210 2832 A
- 3084(in)S
- (buf.)168 3210 A
- 3420(*/)S
- 3870 V
- (33728)210 648 A
- (static)252 1026 A
- (ssize_t)294 1320 A
- (buflen=)294 1656 A
- 1992(0;)S
- 2706(/*)S
- (Remaining)378 2832 A
- (characters)420 3252 A
- 3714(in)S
- (buf.)168 3840 A
- 4050(*/)S
- 3960 V
- (33729)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*lineptr;)378 1530 A
- 2706(/*)S
- (Place)210 2832 A
- 3084(in)S
- (the)126 3210 A
- (line.)210 3378 A
- 3630(*/)S
- 4050 V
- (33730)210 648 A
- 4140 V
- (33731)210 648 A
- (void)168 1026 A
- (endpwent(void))588 1236 A
- 4230 V
- (33732)210 648 A
- 1026(/*)S
- (Close)210 1152 A
- (the)126 1404 A
- (password)336 1572 A
- (file.)210 1950 A
- 2202(*/)S
- 4320 V
- (33733)210 648 A
- 1026({)S
- 4410 V
- (33734)210 648 A
- 1362(if)S
- ((pwfd)210 1488 A
- 1740(>=)S
- 1866(0))S
- 1992({)S
- 4500 V
- (33735)210 648 A
- ((void))252 1698 A
- (close(pwfd);)504 1992 A
- 4590 V
- (33736)210 648 A
- (pwfd=)210 1698 A
- (-1;)126 1950 A
- 4680 V
- (33737)210 648 A
- (buflen=)294 1698 A
- 2034(0;)S
- 4770 V
- (33738)210 648 A
- 1362(})S
- 4860 V
- (33739)210 648 A
- 1026(})S
- 5040 V
- (33741)210 648 A
- (int)126 1026 A
- (setpwent(void))588 1194 A
- 5130 V
- (33742)210 648 A
- 1026(/*)S
- (Open)168 1152 A
- (the)126 1362 A
- (password)336 1530 A
- (file.)210 1908 A
- 2160(*/)S
- 5220 V
- (33743)210 648 A
- 1026({)S
- 5310 V
- (33744)210 648 A
- 1362(if)S
- ((pwfd)210 1488 A
- 1740(>=)S
- 1866(0))S
- (endpwent();)462 1992 A
- 5400 V
- (33745)210 648 A
- 5490 V
- (33746)210 648 A
- 1362(if)S
- ((pwfile)294 1488 A
- 1824(==)S
- (nil))168 1950 A
- (pwfile=)294 2160 A
- (PASSWD;)294 2496 A
- 5580 V
- (33747)210 648 A
- 5670 V
- (33748)210 648 A
- 1362(if)S
- (((pwfd=)294 1488 A
- (open(pwfile,)504 1824 A
- (O_RDONLY)))420 2370 A
- 2832(<)S
- 2916(0))S
- (return)252 3042 A
- (-1;)126 3336 A
- 5760 V
- (33749)210 648 A
- ((void))252 1362 A
- (fcntl(pwfd,)462 1656 A
- (F_SETFD,)336 2160 A
- (fcntl(pwfd,)462 2538 A
- (F_GETFD))336 3042 A
- 3420(|)S
- (FD_CLOEXEC);)504 3504 A
- 5850 V
- (33750)210 648 A
- (return)252 1362 A
- 1656(0;)S
- 5940 V
- (33751)210 648 A
- 1026(})S
- 6120 V
- (33753)210 648 A
- (void)168 1026 A
- (setpwfile(const)630 1236 A
- (char)168 1908 A
- (*file))252 2118 A
- 6210 V
- (33754)210 648 A
- 1026(/*)S
- (Prepare)294 1152 A
- (for)126 1488 A
- (reading)294 1656 A
- 1992(an)S
- (alternate)378 2118 A
- (password)336 2538 A
- (file.)210 2916 A
- 3168(*/)S
- 8418 V
- EP
- %%Page: 328 328
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (328)180 648 A
- 11 R
- 1895(File:)S
- (src/lib/other/getpwent.c)1053 2128 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (33755)210 648 A
- 1026({)S
- 990 V
- (33756)210 648 A
- (endpwent();)462 1362 A
- 1080 V
- (33757)210 648 A
- (pwfile=)294 1362 A
- (file;)210 1698 A
- 1170 V
- (33758)210 648 A
- 1026(})S
- 1350 V
- (33760)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (getline(void))546 1488 A
- 1440 V
- (33761)210 648 A
- 1026(/*)S
- (Get)126 1152 A
- (one)126 1320 A
- (line)168 1488 A
- (from)168 1698 A
- (the)126 1908 A
- (password)336 2076 A
- (file,)210 2454 A
- (return)252 2706 A
- 3000(0)S
- 3084(if)S
- (bad)126 3210 A
- 3378(or)S
- (EOF.)168 3504 A
- 3714(*/)S
- 1530 V
- (33762)210 648 A
- 1026({)S
- 1620 V
- (33763)210 648 A
- (lineptr=)336 1362 A
- (pwline;)294 1740 A
- 1710 V
- (33764)210 648 A
- 1800 V
- (33765)210 648 A
- 1362(do)S
- 1488({)S
- 1890 V
- (33766)210 648 A
- 1698(if)S
- ((buflen)294 1824 A
- 2160(==)S
- 2286(0))S
- 2412({)S
- 1980 V
- (33767)210 648 A
- 2034(if)S
- (((buflen=)378 2160 A
- (read(pwfd,)420 2580 A
- (buf,)168 3042 A
- (sizeof(buf))))546 3252 A
- 3840(<=)S
- 3966(0))S
- 2070 V
- (33768)210 648 A
- (return)252 2370 A
- 2664(0;)S
- 2160 V
- (33769)210 648 A
- (bufptr=)294 2034 A
- (buf;)168 2370 A
- 2250 V
- (33770)210 648 A
- 1698(})S
- 2340 V
- (33771)210 648 A
- 2430 V
- (33772)210 648 A
- 1698(if)S
- ((lineptr)336 1824 A
- 2202(==)S
- (arraylimit(pwline)))798 2328 A
- (return)252 3168 A
- 3462(0;)S
- 2520 V
- (33773)210 648 A
- (buflen--;)378 1698 A
- 2610 V
- (33774)210 648 A
- 1362(})S
- (while)210 1446 A
- (((*lineptr++)504 1698 A
- 2244(=)S
- (*bufptr++))420 2328 A
- 2790(!=)S
- ('\n');)252 2916 A
- 2700 V
- (33775)210 648 A
- 2790 V
- (33776)210 648 A
- (lineptr=)336 1362 A
- (pwline;)294 1740 A
- 2880 V
- (33777)210 648 A
- (return)252 1362 A
- 1656(1;)S
- 2970 V
- (33778)210 648 A
- 1026(})S
- 3150 V
- (33780)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*scan_colon(void))714 1530 A
- 3240 V
- (33781)210 648 A
- 1026(/*)S
- (Scan)168 1152 A
- (for)126 1362 A
- 1530(a)S
- (field)210 1614 A
- (separator)378 1866 A
- 2286(in)S
- 2412(a)S
- (line,)210 2496 A
- (return)252 2748 A
- (the)126 3042 A
- (start)210 3210 A
- 3462(of)S
- (the)126 3588 A
- (field.)252 3756 A
- 4050(*/)S
- 3330 V
- (33782)210 648 A
- 1026({)S
- 3420 V
- (33783)210 648 A
- (char)168 1362 A
- (*field=)294 1572 A
- (lineptr;)336 1908 A
- 3510 V
- (33784)210 648 A
- (char)168 1362 A
- (*last;)252 1572 A
- 3600 V
- (33785)210 648 A
- 3690 V
- (33786)210 648 A
- (for)126 1362 A
- ((;;))168 1530 A
- 1740({)S
- 3780 V
- (33787)210 648 A
- (last=)210 1698 A
- (lineptr;)336 1950 A
- 3870 V
- (33788)210 648 A
- 1698(if)S
- ((*lineptr)378 1824 A
- 2244(==)S
- 2370(0))S
- (return)252 2496 A
- (nil;)168 2790 A
- 3960 V
- (33789)210 648 A
- 1698(if)S
- ((*lineptr)378 1824 A
- 2244(==)S
- ('\n'))210 2370 A
- (break;)252 2622 A
- 4050 V
- (33790)210 648 A
- 1698(if)S
- ((*lineptr++)462 1824 A
- 2328(==)S
- (':'))168 2454 A
- (break;)252 2664 A
- 4140 V
- (33791)210 648 A
- 1362(})S
- 4230 V
- (33792)210 648 A
- (*last=)252 1362 A
- 1656(0;)S
- 4320 V
- (33793)210 648 A
- (return)252 1362 A
- (field;)252 1656 A
- 4410 V
- (33794)210 648 A
- 1026(})S
- 4590 V
- (33796)210 648 A
- (struct)252 1026 A
- (passwd)252 1320 A
- (*getpwent(void))630 1614 A
- 4680 V
- (33797)210 648 A
- 1026(/*)S
- (Read)168 1152 A
- (one)126 1362 A
- (entry)210 1530 A
- (from)168 1782 A
- (the)126 1992 A
- (password)336 2160 A
- (file.)210 2538 A
- 2790(*/)S
- 4770 V
- (33798)210 648 A
- 1026({)S
- 4860 V
- (33799)210 648 A
- (char)168 1362 A
- (*p;)126 1572 A
- 4950 V
- (33800)210 648 A
- 5040 V
- (33801)210 648 A
- 1362(/*)S
- (Open)168 1488 A
- (the)126 1698 A
- (file)168 1866 A
- 2076(if)S
- (not)126 2202 A
- (yet)126 2370 A
- (open.)210 2538 A
- 2790(*/)S
- 5130 V
- (33802)210 648 A
- 1362(if)S
- ((pwfd)210 1488 A
- 1740(<)S
- 1824(0)S
- 1908(&&)S
- (setpwent())420 2034 A
- 2496(<)S
- 2580(0))S
- (return)252 2706 A
- (nil;)168 3000 A
- 5220 V
- (33803)210 648 A
- 5310 V
- (33804)210 648 A
- 1362(/*)S
- (Until)210 1488 A
- 1740(a)S
- (good)168 1824 A
- (line)168 2034 A
- 2244(is)S
- (read.)210 2370 A
- 2622(*/)S
- 5400 V
- (33805)210 648 A
- (for)126 1362 A
- ((;;))168 1530 A
- 1740({)S
- 5490 V
- (33806)210 648 A
- 1698(if)S
- ((!getline()))504 1824 A
- (return)252 2370 A
- (nil;)168 2664 A
- 3042(/*)S
- (EOF)126 3168 A
- 3336(or)S
- (corrupt.)336 3462 A
- 3840(*/)S
- 5580 V
- (33807)210 648 A
- 5670 V
- (33808)210 648 A
- 1698(if)S
- (((entry.pw_name=)672 1824 A
- (scan_colon()))546 2538 A
- 3126(==)S
- (nil))168 3252 A
- (continue;)378 3462 A
- 5760 V
- (33809)210 648 A
- 1698(if)S
- (((entry.pw_passwd=)756 1824 A
- (scan_colon()))546 2622 A
- 3210(==)S
- (nil))168 3336 A
- (continue;)378 3546 A
- 5850 V
- (33810)210 648 A
- 1698(if)S
- (((p=)168 1824 A
- (scan_colon()))546 2034 A
- 2622(==)S
- (nil))168 2748 A
- (continue;)378 2958 A
- 5940 V
- (33811)210 648 A
- (entry.pw_uid=)546 1698 A
- (strtol(p,)378 2286 A
- (nil,)168 2706 A
- (0);)126 2916 A
- 6030 V
- (33812)210 648 A
- 1698(if)S
- (((p=)168 1824 A
- (scan_colon()))546 2034 A
- 2622(==)S
- (nil))168 2748 A
- (continue;)378 2958 A
- 6120 V
- (33813)210 648 A
- (entry.pw_gid=)546 1698 A
- (strtol(p,)378 2286 A
- (nil,)168 2706 A
- (0);)126 2916 A
- 6210 V
- (33814)210 648 A
- 1698(if)S
- (((entry.pw_gecos=)714 1824 A
- (scan_colon()))546 2580 A
- 3168(==)S
- (nil))168 3294 A
- (continue;)378 3504 A
- 8418 V
- EP
- %%Page: 329 329
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1895(File:)S
- (src/lib/other/getpwent.c)1053 2128 A
- 12 B
- (329)180 4248 A
- 900 V
- 7 LST
- (33815)210 648 A
- 1698(if)S
- (((entry.pw_dir=)630 1824 A
- (scan_colon()))546 2496 A
- 3084(==)S
- (nil))168 3210 A
- (continue;)378 3420 A
- 990 V
- (33816)210 648 A
- 1698(if)S
- (((entry.pw_shell=)714 1824 A
- (scan_colon()))546 2580 A
- 3168(==)S
- (nil))168 3294 A
- (continue;)378 3504 A
- 1080 V
- (33817)210 648 A
- 1170 V
- (33818)210 648 A
- 1698(if)S
- ((*lineptr)378 1824 A
- 2244(==)S
- 2370(0))S
- (return)252 2496 A
- (&entry;)294 2790 A
- 1260 V
- (33819)210 648 A
- 1362(})S
- 1350 V
- (33820)210 648 A
- 1026(})S
- 1530 V
- (33822)210 648 A
- (struct)252 1026 A
- (passwd)252 1320 A
- (*getpwuid(Uid_t)630 1614 A
- (uid))168 2286 A
- 1620 V
- (33823)210 648 A
- 1026(/*)S
- (Return)252 1152 A
- (the)126 1446 A
- (password)336 1614 A
- (file)168 1992 A
- (entry)210 2202 A
- (belonging)378 2454 A
- 2874(to)S
- (the)126 3000 A
- (user-id.)336 3168 A
- 3546(*/)S
- 1710 V
- (33824)210 648 A
- 1026({)S
- 1800 V
- (33825)210 648 A
- (struct)252 1362 A
- (passwd)252 1656 A
- (*pw;)168 1950 A
- 1890 V
- (33826)210 648 A
- 1980 V
- (33827)210 648 A
- (endpwent();)462 1362 A
- 2070 V
- (33828)210 648 A
- (while)210 1362 A
- (((pw=)210 1614 A
- (getpwent()))462 1866 A
- 2370(!=)S
- (nil)126 2496 A
- 2664(&&)S
- (pw->pw_uid)420 2790 A
- 3252(!=)S
- (uid))168 3378 A
- 3588({})S
- 2160 V
- (33829)210 648 A
- (endpwent();)462 1362 A
- 2250 V
- (33830)210 648 A
- (return)252 1362 A
- (pw;)126 1656 A
- 2340 V
- (33831)210 648 A
- 1026(})S
- 2520 V
- (33833)210 648 A
- (struct)252 1026 A
- (passwd)252 1320 A
- (*getpwnam(const)630 1614 A
- (char)168 2286 A
- (*name))252 2496 A
- 2610 V
- (33834)210 648 A
- 1026(/*)S
- (Return)252 1152 A
- (the)126 1446 A
- (password)336 1614 A
- (file)168 1992 A
- (entry)210 2202 A
- (belonging)378 2454 A
- 2874(to)S
- (the)126 3000 A
- (user)168 3168 A
- (name.)210 3378 A
- 3630(*/)S
- 2700 V
- (33835)210 648 A
- 1026({)S
- 2790 V
- (33836)210 648 A
- (struct)252 1362 A
- (passwd)252 1656 A
- (*pw;)168 1950 A
- 2880 V
- (33837)210 648 A
- 2970 V
- (33838)210 648 A
- (endpwent();)462 1362 A
- 3060 V
- (33839)210 648 A
- (while)210 1362 A
- (((pw=)210 1614 A
- (getpwent()))462 1866 A
- 2370(!=)S
- (nil)126 2496 A
- 2664(&&)S
- (strcmp(pw->pw_name,)798 2790 A
- (name))210 3630 A
- 3882(!=)S
- 4008(0))S
- 4134({})S
- 3150 V
- (33840)210 648 A
- (endpwent();)462 1362 A
- 3240 V
- (33841)210 648 A
- (return)252 1362 A
- (pw;)126 1656 A
- 3330 V
- (33842)210 648 A
- 1026(})S
- 3690 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3780 V
- (src/lib/other/getttyent.c)1050 1698 A
- 3870 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4050 V
- (33900)210 648 A
- 1026(/*)S
- (getttyent(3))504 1362 A
- 1908(-)S
- (get)126 1992 A
- 2160(a)S
- (ttytab)252 2244 A
- (entry)210 2538 A
- (Author:)294 3378 A
- (Kees)168 3714 A
- 3924(J.)S
- (Bot)126 4050 A
- 4140 V
- (33901)210 648 A
- 1068(*)S
- 3714(28)S
- (Oct)126 3840 A
- (1995)168 4008 A
- 4230 V
- (33902)210 648 A
- 1068(*/)S
- 4320 V
- (33903)210 648 A
- (#define)294 1026 A
- (nil)126 1362 A
- 1530(0)S
- 4410 V
- (33904)210 648 A
- (#define)294 1026 A
- (open)168 1362 A
- (_open)210 1572 A
- 4500 V
- (33905)210 648 A
- (#define)294 1026 A
- (close)210 1362 A
- (_close)252 1614 A
- 4590 V
- (33906)210 648 A
- (#define)294 1026 A
- (fcntl)210 1362 A
- (_fcntl)252 1614 A
- 4680 V
- (33907)210 648 A
- (#define)294 1026 A
- (read)168 1362 A
- (_read)210 1572 A
- 4770 V
- (33908)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 4860 V
- (33909)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 4950 V
- (33910)210 648 A
- (#include)336 1026 A
- (<ttyent.h>)420 1404 A
- 5040 V
- (33911)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 5130 V
- (33912)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 5220 V
- (33913)210 648 A
- 5310 V
- (33914)210 648 A
- (#define)294 1026 A
- (arraysize(a))504 1362 A
- ((sizeof(a))420 2034 A
- 2496(/)S
- (sizeof((a)[0])))630 2580 A
- 5400 V
- (33915)210 648 A
- (#define)294 1026 A
- (arraylimit(a))546 1362 A
- (((a))168 2034 A
- 2244(+)S
- (arraysize(a)))546 2328 A
- 5490 V
- (33916)210 648 A
- 5580 V
- (33917)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (TTYTAB[]=)378 1530 A
- ("/etc/ttytab";)588 1950 A
- 2706(/*)S
- (The)126 2832 A
- (table)210 3000 A
- 3252(of)S
- (terminal)336 3378 A
- (devices.)336 3756 A
- 4134(*/)S
- 5670 V
- (33918)210 648 A
- 5760 V
- (33919)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (buf[512];)378 1530 A
- 2706(/*)S
- (Read)168 2832 A
- (buffer.)294 3042 A
- 3378(*/)S
- 5850 V
- (33920)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (ttline[256];)504 1530 A
- 2706(/*)S
- (One)126 2832 A
- (line)168 3000 A
- (from)168 3210 A
- (the)126 3420 A
- (ttytab)252 3588 A
- (file.)210 3882 A
- 4134(*/)S
- 5940 V
- (33921)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*ttargv[32];)504 1530 A
- 2706(/*)S
- (Compound)336 2832 A
- (arguments.)420 3210 A
- 3672(*/)S
- 6030 V
- (33922)210 648 A
- (static)252 1026 A
- (struct)252 1320 A
- (ttyent)252 1614 A
- (entry;)252 1908 A
- 2706(/*)S
- (Entry)210 2832 A
- 3084(to)S
- (fill)168 3210 A
- (and)126 3420 A
- (return.)294 3588 A
- 3924(*/)S
- 6120 V
- (33923)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (ttfd=)210 1488 A
- (-1;)126 1740 A
- 2706(/*)S
- (Filedescriptor)588 2832 A
- 3462(to)S
- (the)126 3588 A
- (file.)210 3756 A
- 4008(*/)S
- 6210 V
- (33924)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*bufptr;)336 1530 A
- 2706(/*)S
- (Place)210 2832 A
- 3084(in)S
- (buf.)168 3210 A
- 3420(*/)S
- 8418 V
- EP
- %%Page: 330 330
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (330)180 648 A
- 11 R
- 1904(File:)S
- (src/lib/other/getttyent.c)1035 2137 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (33925)210 648 A
- (static)252 1026 A
- (ssize_t)294 1320 A
- (buflen=)294 1656 A
- 1992(0;)S
- 2706(/*)S
- (Remaining)378 2832 A
- (characters)420 3252 A
- 3714(in)S
- (buf.)168 3840 A
- 4050(*/)S
- 990 V
- (33926)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*lineptr;)378 1530 A
- 2706(/*)S
- (Place)210 2832 A
- 3084(in)S
- (the)126 3210 A
- (line.)210 3378 A
- 3630(*/)S
- 1080 V
- (33927)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (**argvptr;)420 1530 A
- 2706(/*)S
- (Place)210 2832 A
- 3084(in)S
- (word)168 3210 A
- (lists.)252 3420 A
- 3714(*/)S
- 1170 V
- (33928)210 648 A
- 1260 V
- (33929)210 648 A
- (void)168 1026 A
- (endttyent(void))630 1236 A
- 1350 V
- (33930)210 648 A
- 1026(/*)S
- (Close)210 1152 A
- (the)126 1404 A
- (ttytab)252 1572 A
- (file.)210 1866 A
- 2118(*/)S
- 1440 V
- (33931)210 648 A
- 1026({)S
- 1530 V
- (33932)210 648 A
- 1362(if)S
- ((ttfd)210 1488 A
- 1740(>=)S
- 1866(0))S
- 1992({)S
- 1620 V
- (33933)210 648 A
- ((void))252 1698 A
- (close(ttfd);)504 1992 A
- 1710 V
- (33934)210 648 A
- (ttfd=)210 1698 A
- (-1;)126 1950 A
- 1800 V
- (33935)210 648 A
- (buflen=)294 1698 A
- 2034(0;)S
- 1890 V
- (33936)210 648 A
- 1362(})S
- 1980 V
- (33937)210 648 A
- 1026(})S
- 2160 V
- (33939)210 648 A
- (int)126 1026 A
- (setttyent(void))630 1194 A
- 2250 V
- (33940)210 648 A
- 1026(/*)S
- (Open)168 1152 A
- (the)126 1362 A
- (ttytab)252 1530 A
- (file.)210 1824 A
- 2076(*/)S
- 2340 V
- (33941)210 648 A
- 1026({)S
- 2430 V
- (33942)210 648 A
- 1362(if)S
- ((ttfd)210 1488 A
- 1740(>=)S
- 1866(0))S
- (endttyent();)504 1992 A
- 2520 V
- (33943)210 648 A
- 2610 V
- (33944)210 648 A
- 1362(if)S
- (((ttfd=)294 1488 A
- (open(TTYTAB,)504 1824 A
- (O_RDONLY)))420 2370 A
- 2832(<)S
- 2916(0))S
- (return)252 3042 A
- (-1;)126 3336 A
- 2700 V
- (33945)210 648 A
- ((void))252 1362 A
- (fcntl(ttfd,)462 1656 A
- (F_SETFD,)336 2160 A
- (fcntl(ttfd,)462 2538 A
- (F_GETFD))336 3042 A
- 3420(|)S
- (FD_CLOEXEC);)504 3504 A
- 2790 V
- (33946)210 648 A
- (return)252 1362 A
- 1656(0;)S
- 2880 V
- (33947)210 648 A
- 1026(})S
- 3060 V
- (33949)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (getline(void))546 1488 A
- 3150 V
- (33950)210 648 A
- 1026(/*)S
- (Get)126 1152 A
- (one)126 1320 A
- (line)168 1488 A
- (from)168 1698 A
- (the)126 1908 A
- (ttytab)252 2076 A
- (file,)210 2370 A
- (return)252 2622 A
- 2916(0)S
- 3000(if)S
- (bad)126 3126 A
- 3294(or)S
- (EOF.)168 3420 A
- 3630(*/)S
- 3240 V
- (33951)210 648 A
- 1026({)S
- 3330 V
- (33952)210 648 A
- (lineptr=)336 1362 A
- (ttline;)294 1740 A
- 3420 V
- (33953)210 648 A
- (argvptr=)336 1362 A
- (ttargv;)294 1740 A
- 3510 V
- (33954)210 648 A
- 3600 V
- (33955)210 648 A
- 1362(do)S
- 1488({)S
- 3690 V
- (33956)210 648 A
- 1698(if)S
- ((buflen)294 1824 A
- 2160(==)S
- 2286(0))S
- 2412({)S
- 3780 V
- (33957)210 648 A
- 2034(if)S
- (((buflen=)378 2160 A
- (read(ttfd,)420 2580 A
- (buf,)168 3042 A
- (sizeof(buf))))546 3252 A
- 3840(<=)S
- 3966(0))S
- 3870 V
- (33958)210 648 A
- (return)252 2370 A
- 2664(0;)S
- 3960 V
- (33959)210 648 A
- (bufptr=)294 2034 A
- (buf;)168 2370 A
- 4050 V
- (33960)210 648 A
- 1698(})S
- 4140 V
- (33961)210 648 A
- 4230 V
- (33962)210 648 A
- 1698(if)S
- ((lineptr)336 1824 A
- 2202(==)S
- (arraylimit(ttline)))798 2328 A
- (return)252 3168 A
- 3462(0;)S
- 4320 V
- (33963)210 648 A
- (buflen--;)378 1698 A
- 4410 V
- (33964)210 648 A
- 1362(})S
- (while)210 1446 A
- (((*lineptr++)504 1698 A
- 2244(=)S
- (*bufptr++))420 2328 A
- 2790(!=)S
- ('\n');)252 2916 A
- 4500 V
- (33965)210 648 A
- 4590 V
- (33966)210 648 A
- (lineptr=)336 1362 A
- (ttline;)294 1740 A
- 4680 V
- (33967)210 648 A
- (return)252 1362 A
- 1656(1;)S
- 4770 V
- (33968)210 648 A
- 1026(})S
- 4950 V
- (33970)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (white(int)378 1488 A
- 1908(c))S
- 5040 V
- (33971)210 648 A
- 1026(/*)S
- (Whitespace?)462 1152 A
- 1656(*/)S
- 5130 V
- (33972)210 648 A
- 1026({)S
- 5220 V
- (33973)210 648 A
- (return)252 1362 A
- 1656(c)S
- 1740(==)S
- 1866(')S
- 1950(')S
- 2034(||)S
- 2160(c)S
- 2244(==)S
- ('\t';)210 2370 A
- 5310 V
- (33974)210 648 A
- 1026(})S
- 5490 V
- (33976)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*scan_white(int)630 1530 A
- (quoted))294 2202 A
- 5580 V
- (33977)210 648 A
- 1026(/*)S
- (Scan)168 1152 A
- (for)126 1362 A
- 1530(a)S
- (field)210 1614 A
- (separator)378 1866 A
- 2286(in)S
- 2412(a)S
- (line,)210 2496 A
- (return)252 2748 A
- (the)126 3042 A
- (start)210 3210 A
- 3462(of)S
- (the)126 3588 A
- (field.)252 3756 A
- 5670 V
- (33978)210 648 A
- 1068(*)S
- ("quoted")336 1152 A
- 1530(is)S
- (set)126 1656 A
- 1824(if)S
- 1950(we)S
- (have)168 2076 A
- 2286(to)S
- (watch)210 2412 A
- (out)126 2664 A
- (for)126 2832 A
- (double)252 3000 A
- (quotes.)294 3294 A
- 5760 V
- (33979)210 648 A
- 1068(*/)S
- 5850 V
- (33980)210 648 A
- 1026({)S
- 5940 V
- (33981)210 648 A
- (char)168 1362 A
- (*field,)294 1572 A
- (*last;)252 1908 A
- 6030 V
- (33982)210 648 A
- 6120 V
- (33983)210 648 A
- (while)210 1362 A
- ((white(*lineptr)))714 1614 A
- (lineptr++;)420 2370 A
- 6210 V
- (33984)210 648 A
- 1362(if)S
- ((!quoted)336 1488 A
- 1866(&&)S
- (*lineptr)336 1992 A
- 2370(==)S
- ('#'))168 2496 A
- (return)252 2706 A
- (nil;)168 3000 A
- 8418 V
- EP
- %%Page: 331 331
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1904(File:)S
- (src/lib/other/getttyent.c)1035 2137 A
- 12 B
- (331)180 4248 A
- 900 V
- 7 LST
- (33985)210 648 A
- 990 V
- (33986)210 648 A
- (field=)252 1362 A
- (lineptr;)336 1656 A
- 1080 V
- (33987)210 648 A
- (for)126 1362 A
- ((;;))168 1530 A
- 1740({)S
- 1170 V
- (33988)210 648 A
- (last=)210 1698 A
- (lineptr;)336 1950 A
- 1260 V
- (33989)210 648 A
- 1698(if)S
- ((*lineptr)378 1824 A
- 2244(==)S
- 2370(0))S
- (return)252 2496 A
- (nil;)168 2790 A
- 1350 V
- (33990)210 648 A
- 1698(if)S
- ((*lineptr)378 1824 A
- 2244(==)S
- ('\n'))210 2370 A
- (break;)252 2622 A
- 1440 V
- (33991)210 648 A
- 1698(if)S
- ((quoted)294 1824 A
- 2160(&&)S
- (*lineptr)336 2286 A
- 2664(==)S
- ('"'))168 2790 A
- (return)252 3000 A
- (field;)252 3294 A
- 1530 V
- (33992)210 648 A
- 1698(if)S
- ((white(*lineptr++)))798 1824 A
- (break;)252 2664 A
- 1620 V
- (33993)210 648 A
- 1362(})S
- 1710 V
- (33994)210 648 A
- (*last=)252 1362 A
- 1656(0;)S
- 1800 V
- (33995)210 648 A
- (return)252 1362 A
- (*field)252 1656 A
- 1950(==)S
- 2076(0)S
- 2160(?)S
- (nil)126 2244 A
- 2412(:)S
- (field;)252 2496 A
- 1890 V
- (33996)210 648 A
- 1026(})S
- 2070 V
- (33998)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (**scan_quoted(void))798 1530 A
- 2160 V
- (33999)210 648 A
- 1026(/*)S
- (Read)168 1152 A
- 1362(a)S
- (field)210 1446 A
- (that)168 1698 A
- (may)126 1908 A
- 2076(be)S
- 2202(a)S
- (quoted)252 2286 A
- (list)168 2580 A
- 2790(of)S
- (words.)252 2916 A
- 3210(*/)S
- 2250 V
- (34000)210 648 A
- 1026({)S
- 2340 V
- (34001)210 648 A
- (char)168 1362 A
- (*p,)126 1572 A
- (**field=)336 1740 A
- (argvptr;)336 2118 A
- 2430 V
- (34002)210 648 A
- 2520 V
- (34003)210 648 A
- (while)210 1362 A
- ((white(*lineptr)))714 1614 A
- (lineptr++;)420 2370 A
- 2610 V
- (34004)210 648 A
- 2700 V
- (34005)210 648 A
- 1362(if)S
- ((*lineptr)378 1488 A
- 1908(==)S
- ('"'))168 2034 A
- 2244({)S
- 2790 V
- (34006)210 648 A
- 1698(/*)S
- (Quoted)252 1824 A
- (list)168 2118 A
- 2328(of)S
- (words.)252 2454 A
- 2748(*/)S
- 2880 V
- (34007)210 648 A
- (lineptr++;)420 1698 A
- 2970 V
- (34008)210 648 A
- (while)210 1698 A
- (((p=)168 1950 A
- (scan_white(1)))588 2160 A
- 2790(!=)S
- (nil)126 2916 A
- 3084(&&)S
- 3210(*p)S
- 3336(!=)S
- ('"'))168 3462 A
- 3672({)S
- 3060 V
- (34009)210 648 A
- 2034(if)S
- ((argvptr)336 2160 A
- 2538(==)S
- (arraylimit(ttargv)))798 2664 A
- (return)252 3504 A
- (nil;)168 3798 A
- 3150 V
- (34010)210 648 A
- (*argvptr++=)462 2034 A
- 2538(p;)S
- 3240 V
- (34011)210 648 A
- 1698(})S
- 3330 V
- (34012)210 648 A
- 1698(if)S
- ((*lineptr)378 1824 A
- 2244(==)S
- ('"'))168 2370 A
- (*lineptr++=)462 2580 A
- 3084(0;)S
- 3420 V
- (34013)210 648 A
- 1362(})S
- (else)168 1446 A
- 1656({)S
- 3510 V
- (34014)210 648 A
- 1698(/*)S
- (Just)168 1824 A
- (one)126 2034 A
- (word.)210 2202 A
- 2454(*/)S
- 3600 V
- (34015)210 648 A
- 1698(if)S
- (((p=)168 1824 A
- (scan_white(0)))588 2034 A
- 2664(==)S
- (nil))168 2790 A
- (return)252 3000 A
- (nil;)168 3294 A
- 3690 V
- (34016)210 648 A
- 1698(if)S
- ((argvptr)336 1824 A
- 2202(==)S
- (arraylimit(ttargv)))798 2328 A
- (return)252 3168 A
- (nil;)168 3462 A
- 3780 V
- (34017)210 648 A
- (*argvptr++=)462 1698 A
- 2202(p;)S
- 3870 V
- (34018)210 648 A
- 1362(})S
- 3960 V
- (34019)210 648 A
- 1362(if)S
- ((argvptr)336 1488 A
- 1866(==)S
- (arraylimit(ttargv)))798 1992 A
- (return)252 2832 A
- (nil;)168 3126 A
- 4050 V
- (34020)210 648 A
- (*argvptr++=)462 1362 A
- (nil;)168 1866 A
- 4140 V
- (34021)210 648 A
- (return)252 1362 A
- (field;)252 1656 A
- 4230 V
- (34022)210 648 A
- 1026(})S
- 4410 V
- (34024)210 648 A
- (struct)252 1026 A
- (ttyent)252 1320 A
- (*getttyent(void))672 1614 A
- 4500 V
- (34025)210 648 A
- 1026(/*)S
- (Read)168 1152 A
- (one)126 1362 A
- (entry)210 1530 A
- (from)168 1782 A
- (the)126 1992 A
- (ttytab)252 2160 A
- (file.)210 2454 A
- 2706(*/)S
- 4590 V
- (34026)210 648 A
- 1026({)S
- 4680 V
- (34027)210 648 A
- 1362(/*)S
- (Open)168 1488 A
- (the)126 1698 A
- (file)168 1866 A
- 2076(if)S
- (not)126 2202 A
- (yet)126 2370 A
- (open.)210 2538 A
- 2790(*/)S
- 4770 V
- (34028)210 648 A
- 1362(if)S
- ((ttfd)210 1488 A
- 1740(<)S
- 1824(0)S
- 1908(&&)S
- (setttyent())462 2034 A
- 2538(<)S
- 2622(0))S
- (return)252 2748 A
- (nil;)168 3042 A
- 4860 V
- (34029)210 648 A
- 4950 V
- (34030)210 648 A
- 1362(/*)S
- (Look)168 1488 A
- (for)126 1698 A
- 1866(a)S
- (line)168 1950 A
- (with)168 2160 A
- (something)378 2370 A
- 2790(on)S
- (it.)126 2916 A
- 3084(*/)S
- 5040 V
- (34031)210 648 A
- (for)126 1362 A
- ((;;))168 1530 A
- 1740({)S
- 5130 V
- (34032)210 648 A
- 1698(if)S
- ((!getline()))504 1824 A
- (return)252 2370 A
- (nil;)168 2664 A
- 3042(/*)S
- (EOF)126 3168 A
- 3336(or)S
- (corrupt.)336 3462 A
- 3840(*/)S
- 5220 V
- (34033)210 648 A
- 5310 V
- (34034)210 648 A
- 1698(if)S
- (((entry.ty_name=)672 1824 A
- (scan_white(0)))588 2538 A
- 3168(==)S
- (nil))168 3294 A
- (continue;)378 3504 A
- 5400 V
- (34035)210 648 A
- (entry.ty_type=)588 1698 A
- (scan_white(0);)588 2328 A
- 5490 V
- (34036)210 648 A
- (entry.ty_getty=)630 1698 A
- (scan_quoted();)588 2370 A
- 5580 V
- (34037)210 648 A
- (entry.ty_init=)588 1698 A
- (scan_quoted();)588 2328 A
- 5670 V
- (34038)210 648 A
- 5760 V
- (34039)210 648 A
- (return)252 1698 A
- (&entry;)294 1992 A
- 5850 V
- (34040)210 648 A
- 1362(})S
- 5940 V
- (34041)210 648 A
- 1026(})S
- 6120 V
- (34043)210 648 A
- (struct)252 1026 A
- (ttyent)252 1320 A
- (*getttynam(const)672 1614 A
- (char)168 2328 A
- (*name))252 2538 A
- 6210 V
- (34044)210 648 A
- 1026(/*)S
- (Return)252 1152 A
- (the)126 1446 A
- (ttytab)252 1614 A
- (file)168 1908 A
- (entry)210 2118 A
- (for)126 2370 A
- 2538(a)S
- (given)210 2622 A
- (tty.)168 2874 A
- 3084(*/)S
- 8418 V
- EP
- %%Page: 332 332
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (332)180 648 A
- 11 R
- 1904(File:)S
- (src/lib/other/getttyent.c)1035 2137 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (34045)210 648 A
- 1026({)S
- 990 V
- (34046)210 648 A
- (struct)252 1362 A
- (ttyent)252 1656 A
- (*tty;)210 1950 A
- 1080 V
- (34047)210 648 A
- 1170 V
- (34048)210 648 A
- (endttyent();)504 1362 A
- 1260 V
- (34049)210 648 A
- (while)210 1362 A
- (((tty=)252 1614 A
- (getttyent()))504 1908 A
- 2454(!=)S
- (nil)126 2580 A
- 2748(&&)S
- (strcmp(tty->ty_name,)840 2874 A
- (name))210 3756 A
- 4008(!=)S
- 4134(0))S
- 4260({})S
- 1350 V
- (34050)210 648 A
- (endttyent();)504 1362 A
- 1440 V
- (34051)210 648 A
- (return)252 1362 A
- (tty;)168 1656 A
- 1530 V
- (34052)210 648 A
- 1026(})S
- 1890 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1980 V
- (src/lib/other/getw.c)840 1698 A
- 2070 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2250 V
- (34100)210 648 A
- 1026(/*)S
- 2340 V
- (34101)210 648 A
- 1068(*)S
- (getw)168 1152 A
- 1362(-)S
- (read)168 1446 A
- 1656(a)S
- (word)168 1740 A
- (from)168 1950 A
- 2160(a)S
- (stream)252 2244 A
- 2430 V
- (34102)210 648 A
- 1068(*/)S
- 2520 V
- (34103)210 648 A
- 1026(/*)S
- ($Header:)336 1152 A
- (getw.c,v)336 1530 A
- (1.1)126 1908 A
- (89/12/18)336 2076 A
- (14:39:51)336 2454 A
- (eck)126 2832 A
- (Exp)126 3000 A
- 3168($)S
- 3252(*/)S
- 2610 V
- (34104)210 648 A
- 2700 V
- (34105)210 648 A
- (#include)336 1026 A
- (<stdio.h>)378 1698 A
- 2790 V
- (34106)210 648 A
- 2880 V
- (34107)210 648 A
- (_PROTOTYPE(int)588 1026 A
- (getw,)210 1656 A
- ((FILE)210 1908 A
- (*stream)294 2160 A
- ());)126 2496 A
- 2970 V
- (34108)210 648 A
- 3060 V
- (34109)210 648 A
- (int)126 1026 A
- (getw(stream))504 1194 A
- 3150 V
- (34110)210 648 A
- (register)336 1026 A
- (FILE)168 1404 A
- (*stream;)336 1614 A
- 3240 V
- (34111)210 648 A
- 1026({)S
- 3330 V
- (34112)210 648 A
- (register)336 1362 A
- (int)126 1740 A
- (cnt)126 1908 A
- 2076(=)S
- (sizeof(int);)504 2160 A
- 3420 V
- (34113)210 648 A
- (int)126 1362 A
- 1530(w;)S
- 3510 V
- (34114)210 648 A
- (register)336 1362 A
- (char)168 1740 A
- 1950(*p)S
- 2076(=)S
- ((char)210 2160 A
- 2412(*))S
- (&w;)126 2538 A
- 3600 V
- (34115)210 648 A
- 3690 V
- (34116)210 648 A
- (while)210 1362 A
- ((cnt--))294 1614 A
- 1950({)S
- 3780 V
- (34117)210 648 A
- (*p++)168 1698 A
- 1908(=)S
- (getc(stream);)546 1992 A
- 3870 V
- (34118)210 648 A
- 1362(})S
- 3960 V
- (34119)210 648 A
- 1362(if)S
- ((feof(stream))546 1488 A
- 2076(||)S
- (ferror(stream)))630 2202 A
- (return)252 2874 A
- (EOF;)168 3168 A
- 4050 V
- (34120)210 648 A
- (return)252 1362 A
- 1656(w;)S
- 4140 V
- (34121)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/other/hypot.c)882 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (34200)210 648 A
- 1026(/*)S
- 5040 V
- (34201)210 648 A
- 1068(*)S
- ((c))126 1152 A
- (copyright)378 1320 A
- (1988)168 1740 A
- 1950(by)S
- (the)126 2076 A
- (Vrije)210 2244 A
- (Universiteit,)546 2496 A
- (Amsterdam,)420 3084 A
- (The)126 3546 A
- (Netherlands.)504 3714 A
- 5130 V
- (34202)210 648 A
- 1068(*)S
- (See)126 1152 A
- (the)126 1320 A
- (copyright)378 1488 A
- (notice)252 1908 A
- 2202(in)S
- (the)126 2328 A
- (ACK)126 2496 A
- (home)168 2664 A
- (directory,)420 2874 A
- 3336(in)S
- (the)126 3462 A
- (file)168 3630 A
- ("Copyright".)504 3840 A
- 5220 V
- (34203)210 648 A
- 1068(*)S
- 5310 V
- (34204)210 648 A
- 1068(*)S
- (Author:)294 1152 A
- (Ceriel)252 1488 A
- (J.H.)168 1782 A
- (Jacobs)252 1992 A
- 5400 V
- (34205)210 648 A
- 1068(*/)S
- 5490 V
- (34206)210 648 A
- 5580 V
- (34207)210 648 A
- (#include)336 1026 A
- (<math.h>)336 1404 A
- 5670 V
- (34208)210 648 A
- 5760 V
- (34209)210 648 A
- (struct)252 1026 A
- (complex)294 1320 A
- 1656({)S
- 5850 V
- (34210)210 648 A
- (double)252 1362 A
- (r,i;)168 1656 A
- 5940 V
- (34211)210 648 A
- 1026(};)S
- 6030 V
- (34212)210 648 A
- 6120 V
- (34213)210 648 A
- (_PROTOTYPE(double)714 1026 A
- (hypot,)252 1782 A
- ((double)294 2076 A
- 2412(x,)S
- (double)252 2538 A
- 2832(y)S
- ());)126 2916 A
- 6210 V
- (34214)210 648 A
- (_PROTOTYPE(double)714 1026 A
- (cabs,)210 1782 A
- ((struct)294 2034 A
- (complex)294 2370 A
- (p_compl)294 2706 A
- ());)126 3042 A
- 8418 V
- EP
- %%Page: 333 333
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1973(File:)S
- (src/lib/other/hypot.c)897 2206 A
- 12 B
- (333)180 4248 A
- 900 V
- 7 LST
- (34215)210 648 A
- 990 V
- (34216)210 648 A
- 1026(/*)S
- ($Header:)336 1152 A
- (hypot.c,v)378 1530 A
- (1.1)126 1950 A
- (91/02/26)336 2118 A
- (18:08:08)336 2496 A
- (ceriel)252 2874 A
- (Exp)126 3168 A
- 3336($)S
- 3420(*/)S
- 1080 V
- (34217)210 648 A
- 1170 V
- (34218)210 648 A
- (double)252 1026 A
- 1260 V
- (34219)210 648 A
- (hypot(x,)336 1026 A
- 1404(y))S
- 1350 V
- (34220)210 648 A
- (double)252 1026 A
- 1320(x,)S
- 1446(y;)S
- 1440 V
- (34221)210 648 A
- 1026({)S
- 1530 V
- (34222)210 648 A
- 1362(/*)S
- (Computes)336 1698 A
- (sqrt(x*x+y*y),)588 2076 A
- (avoiding)336 2706 A
- (overflow)336 3084 A
- 3462(*/)S
- 1620 V
- (34223)210 648 A
- 1710 V
- (34224)210 648 A
- 1362(if)S
- 1488((x)S
- 1614(<)S
- 1698(0))S
- 1824(x)S
- 1908(=)S
- (-x;)126 1992 A
- 1800 V
- (34225)210 648 A
- 1362(if)S
- 1488((y)S
- 1614(<)S
- 1698(0))S
- 1824(y)S
- 1908(=)S
- (-y;)126 1992 A
- 1890 V
- (34226)210 648 A
- 1362(if)S
- 1488((x)S
- 1614(>)S
- 1698(y))S
- 1824({)S
- 1980 V
- (34227)210 648 A
- (double)252 1698 A
- 1992(t)S
- 2076(=)S
- 2160(y;)S
- 2070 V
- (34228)210 648 A
- 1698(y)S
- 1782(=)S
- 1866(x;)S
- 2160 V
- (34229)210 648 A
- 1698(x)S
- 1782(=)S
- 1866(t;)S
- 2250 V
- (34230)210 648 A
- 1362(})S
- 2340 V
- (34231)210 648 A
- 1362(/*)S
- (sqrt(x*x+y*y))546 1488 A
- 2076(=)S
- (sqrt(y*y*(x*x/(y*y)+1.0)))1050 2160 A
- 3252(=)S
- (y*sqrt(x*x/(y*y)+1.0))882 3336 A
- 4260(*/)S
- 2430 V
- (34232)210 648 A
- 1362(if)S
- 1488((y)S
- 1614(==)S
- (0.0))168 1740 A
- (return)252 1950 A
- (0.0;)168 2244 A
- 2520 V
- (34233)210 648 A
- 1362(x)S
- 1446(/=)S
- 1572(y;)S
- 2610 V
- (34234)210 648 A
- (return)252 1362 A
- (y*sqrt(x*x+1.0);)672 1656 A
- 2700 V
- (34235)210 648 A
- 1026(})S
- 2880 V
- (34237)210 648 A
- (double)252 1026 A
- 2970 V
- (34238)210 648 A
- (cabs(p_compl))546 1026 A
- 3060 V
- (34239)210 648 A
- (struct)252 1026 A
- (complex)294 1320 A
- (p_compl;)336 1656 A
- 3150 V
- (34240)210 648 A
- 1026({)S
- 3240 V
- (34241)210 648 A
- (return)252 1362 A
- (hypot(p_compl.r,)672 1656 A
- (p_compl.i);)462 2370 A
- 3330 V
- (34242)210 648 A
- 1026(})S
- 3690 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3780 V
- (src/lib/other/index.c)882 1698 A
- 3870 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4050 V
- (34300)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 4140 V
- (34301)210 648 A
- 1026(/*)S
- (index)210 1152 A
- 1404(-)S
- (find)168 1488 A
- (first)210 1698 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
- 3546(*/)S
- 4230 V
- (34302)210 648 A
- 4320 V
- (34303)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 4410 V
- (34304)210 648 A
- 4500 V
- (34305)210 648 A
- (char)168 1026 A
- (*index(s,)378 1236 A
- (charwanted))462 1656 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
- 4590 V
- (34306)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*s;)126 1530 A
- 4680 V
- (34307)210 648 A
- (char)168 1026 A
- (charwanted;)462 1236 A
- 4770 V
- (34308)210 648 A
- 1026({)S
- 4860 V
- (34309)210 648 A
- (return(strchr(s,)672 1110 A
- (charwanted));)546 1824 A
- 4950 V
- (34310)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 334 334
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (334)180 648 A
- 11 R
- 2015(File:)S
- (src/lib/other/itoa.c)813 2248 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/other/itoa.c)840 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (34400)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 1440 V
- (34401)210 648 A
- 1026(/*)S
- (Integer)294 1152 A
- 1488(to)S
- (ASCII)210 1614 A
- (for)126 1866 A
- (signed)252 2034 A
- (decimal)294 2328 A
- (integers.)378 2664 A
- 3084(*/)S
- 1530 V
- (34402)210 648 A
- 1620 V
- (34403)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (next;)210 1530 A
- 1710 V
- (34404)210 648 A
- (PRIVATE)294 1026 A
- (char)168 1362 A
- (qbuf[8];)336 1572 A
- 1800 V
- (34405)210 648 A
- 1890 V
- (34406)210 648 A
- (_PROTOTYPE()462 1026 A
- (char)168 1530 A
- (*itoa,)252 1740 A
- ((int)168 2034 A
- (n));)168 2244 A
- 1980 V
- (34407)210 648 A
- 2070 V
- (34408)210 648 A
- (char)168 1026 A
- (*itoa(n))336 1236 A
- 2160 V
- (34409)210 648 A
- (int)126 1026 A
- 1194(n;)S
- 2250 V
- (34410)210 648 A
- 1026({)S
- 2340 V
- (34411)210 648 A
- (register)336 1110 A
- (int)126 1488 A
- 1656(r,)S
- 1782(k;)S
- 2430 V
- (34412)210 648 A
- (int)126 1110 A
- (flag)168 1278 A
- 1488(=)S
- 1572(0;)S
- 2520 V
- (34413)210 648 A
- 2610 V
- (34414)210 648 A
- (next)168 1110 A
- 1320(=)S
- 1404(0;)S
- 2700 V
- (34415)210 648 A
- 1110(if)S
- 1236((n)S
- 1362(<)S
- 1446(0))S
- 1572({)S
- 2790 V
- (34416)210 648 A
- (qbuf[next++])504 1362 A
- 1908(=)S
- ('-';)168 1992 A
- 2880 V
- (34417)210 648 A
- 1362(n)S
- 1446(=)S
- (-n;)126 1530 A
- 2970 V
- (34418)210 648 A
- 1110(})S
- 3060 V
- (34419)210 648 A
- 1110(if)S
- 1236((n)S
- 1362(==)S
- 1488(0))S
- 1614({)S
- 3150 V
- (34420)210 648 A
- (qbuf[next++])504 1362 A
- 1908(=)S
- ('0';)168 1992 A
- 3240 V
- (34421)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 3330 V
- (34422)210 648 A
- 1362(k)S
- 1446(=)S
- (10000;)252 1530 A
- 3420 V
- (34423)210 648 A
- (while)210 1362 A
- 1614((k)S
- 1740(>)S
- 1824(0))S
- 1950({)S
- 3510 V
- (34424)210 648 A
- 1698(r)S
- 1782(=)S
- 1866(n)S
- 1950(/)S
- 2034(k;)S
- 3600 V
- (34425)210 648 A
- 1698(if)S
- ((flag)210 1824 A
- 2076(||)S
- 2202(r)S
- 2286(>)S
- 2370(0))S
- 2496({)S
- 3690 V
- (34426)210 648 A
- (qbuf[next++])504 2034 A
- 2580(=)S
- ('0')126 2664 A
- 2832(+)S
- 2916(r;)S
- 3780 V
- (34427)210 648 A
- (flag)168 2034 A
- 2244(=)S
- 2328(1;)S
- 3870 V
- (34428)210 648 A
- 1698(})S
- 3960 V
- (34429)210 648 A
- 1698(n)S
- 1782(-=)S
- 1908(r)S
- 1992(*)S
- 2076(k;)S
- 4050 V
- (34430)210 648 A
- 1698(k)S
- 1782(=)S
- 1866(k)S
- 1950(/)S
- (10;)126 2034 A
- 4140 V
- (34431)210 648 A
- 1362(})S
- 4230 V
- (34432)210 648 A
- 1110(})S
- 4320 V
- (34433)210 648 A
- (qbuf[next])420 1110 A
- 1572(=)S
- 1656(0;)S
- 4410 V
- (34434)210 648 A
- (return(qbuf);)546 1110 A
- 4500 V
- (34435)210 648 A
- 1026(})S
- 5040 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 5130 V
- (src/lib/other/loadname.c)1008 1698 A
- 5220 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 5400 V
- (34500)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5490 V
- (34501)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 5580 V
- (34502)210 648 A
- 5670 V
- (34503)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (_loadname(name,)630 1530 A
- (msgptr))294 2202 A
- 5760 V
- (34504)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*name;)252 1530 A
- 5850 V
- (34505)210 648 A
- (message)294 1026 A
- (*msgptr;)336 1362 A
- 5940 V
- (34506)210 648 A
- 1026({)S
- 6030 V
- (34507)210 648 A
- 1026(/*)S
- (This)168 1152 A
- (function)336 1362 A
- 1740(is)S
- (used)168 1866 A
- 2076(to)S
- (load)168 2202 A
- 2412(a)S
- (string)252 2496 A
- (into)168 2790 A
- 3000(a)S
- (type)168 3084 A
- 3294(m3)S
- (message.)336 3420 A
- 3798(If)S
- (the)126 3924 A
- 6120 V
- (34508)210 648 A
- 1068(*)S
- (string)252 1152 A
- (fits)168 1446 A
- 1656(in)S
- (the)126 1782 A
- (message,)336 1950 A
- 2328(it)S
- 2454(is)S
- (copied)252 2580 A
- (there.)252 2874 A
- 3210(If)S
- (not,)168 3336 A
- 3546(a)S
- (pointer)294 3630 A
- 3966(to)S
- 6210 V
- (34509)210 648 A
- 1068(*)S
- 1152(it)S
- 1278(is)S
- (passed.)294 1404 A
- 8418 V
- EP
- %%Page: 335 335
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1882(File:)S
- (src/lib/other/loadname.c)1078 2115 A
- 12 B
- (335)180 4248 A
- 900 V
- 7 LST
- (34510)210 648 A
- 1068(*/)S
- 990 V
- (34511)210 648 A
- 1080 V
- (34512)210 648 A
- (register)336 1110 A
- (size_t)252 1488 A
- 1782(k;)S
- 1170 V
- (34513)210 648 A
- 1260 V
- (34514)210 648 A
- 1110(k)S
- 1194(=)S
- (strlen(name))504 1278 A
- 1824(+)S
- 1908(1;)S
- 1350 V
- (34515)210 648 A
- (msgptr->m3_i1)546 1110 A
- 1698(=)S
- 1782(k;)S
- 1440 V
- (34516)210 648 A
- (msgptr->m3_p1)546 1110 A
- 1698(=)S
- ((char)210 1782 A
- 2034(*))S
- (name;)210 2160 A
- 1530 V
- (34517)210 648 A
- 1110(if)S
- 1236((k)S
- 1362(<=)S
- (sizeof)252 1488 A
- (msgptr->m3_ca1))630 1782 A
- (strcpy(msgptr->m3_ca1,)924 2454 A
- (name);)252 3420 A
- 1620 V
- (34518)210 648 A
- 1026(})S
- 1890 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1980 V
- (src/lib/other/lock.c)840 1698 A
- 2070 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2250 V
- (34600)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 2340 V
- (34601)210 648 A
- (#include)336 1026 A
- (<errno.h>)378 1404 A
- 2430 V
- (34602)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 2520 V
- (34603)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 2610 V
- (34604)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 2700 V
- (34605)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 2790 V
- (34606)210 648 A
- (#include)336 1026 A
- (<stdio.h>)378 1404 A
- 2880 V
- (34607)210 648 A
- (#if)126 1026 A
- (_ANSI)210 1194 A
- 2970 V
- (34608)210 648 A
- (#include)336 1026 A
- (<stdlib.h>)420 1404 A
- 3060 V
- (34609)210 648 A
- (#endif)252 1026 A
- 3150 V
- (34610)210 648 A
- 3240 V
- (34611)210 648 A
- (typedef)294 1026 A
- (enum)168 1362 A
- 1572({)S
- 3330 V
- (34612)210 648 A
- (False,)252 1110 A
- (True)168 1404 A
- 3420 V
- (34613)210 648 A
- 1026(})S
- (BOOLEAN;)336 1110 A
- 3510 V
- (34614)210 648 A
- 3600 V
- (34615)210 648 A
- (#define)294 1026 A
- (LOCKDIR)294 1362 A
- ("/tmp/")294 1698 A
- 2370(/*)S
- 2496(or)S
- (/usr/tmp/)378 2622 A
- 3042(as)S
- (the)126 3168 A
- (case)168 3336 A
- (may)126 3546 A
- 3714(be)S
- 3840(*/)S
- 3690 V
- (34616)210 648 A
- (#define)294 1026 A
- (MAXTRIES)336 1362 A
- 1740(3)S
- 3780 V
- (34617)210 648 A
- (#define)294 1026 A
- (NAPTIME)294 1362 A
- ((unsigned)378 1698 A
- (int)5)210 2118 A
- 3870 V
- (34618)210 648 A
- 3960 V
- (34619)210 648 A
- (PRIVATE)294 1026 A
- (_PROTOTYPE()462 1362 A
- (char)168 1866 A
- (*lockpath,)420 2076 A
- ((char)210 2538 A
- (*name));)336 2790 A
- 4050 V
- (34620)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (syserr,)294 1740 A
- ((char)210 2076 A
- (*errstring));)546 2328 A
- 4140 V
- (34621)210 648 A
- (_PROTOTYPE()462 1026 A
- (BOOLEAN)294 1530 A
- (lock,)210 1866 A
- ((char)210 2118 A
- (*name));)336 2370 A
- 4230 V
- (34622)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (unlock,)294 1740 A
- ((char)210 2076 A
- (*name));)336 2328 A
- 4320 V
- (34623)210 648 A
- 4410 V
- (34624)210 648 A
- (void)168 1026 A
- 4500 V
- (34625)210 648 A
- (syserr(errstring))714 1026 A
- 4590 V
- (34626)210 648 A
- (char)168 1026 A
- (*errstring;)462 1236 A
- 4680 V
- (34627)210 648 A
- 1026({)S
- 4770 V
- (34628)210 648 A
- (fprintf(stderr,"couldn't)1008 1362 A
- (%s\n",)252 2412 A
- (errstring);)462 2706 A
- 4860 V
- (34629)210 648 A
- (exit(1);)336 1362 A
- 4950 V
- (34630)210 648 A
- 1026(})S
- 5130 V
- (34632)210 648 A
- (BOOLEAN)294 1026 A
- (lock(name))420 1362 A
- 2370(/*)S
- (acquire)294 2496 A
- (lock)168 2832 A
- 3042(*/)S
- 5220 V
- (34633)210 648 A
- (char)168 1026 A
- (*name;)252 1236 A
- 5310 V
- (34634)210 648 A
- 1026({)S
- 5400 V
- (34635)210 648 A
- (char)168 1110 A
- (*path;)252 1320 A
- 5490 V
- (34636)210 648 A
- (int)126 1110 A
- (fd,)126 1278 A
- (tries;)252 1446 A
- 5580 V
- (34637)210 648 A
- 5670 V
- (34638)210 648 A
- (path)168 1110 A
- 1320(=)S
- (lockpath(name);)630 1404 A
- 5760 V
- (34639)210 648 A
- (tries)210 1110 A
- 1362(=)S
- 1446(0;)S
- 5850 V
- (34640)210 648 A
- (while)210 1110 A
- (((fd)168 1362 A
- 1572(=)S
- (creat(path,)462 1656 A
- (0)))126 2160 A
- 2328(==)S
- 2454(-1)S
- 2580(&&)S
- (errno)210 2706 A
- 2958(==)S
- (EACCES))294 3084 A
- 3420({)S
- 5940 V
- (34641)210 648 A
- 1362(if)S
- ((++tries)336 1488 A
- 1866(>=)S
- (MAXTRIES))378 1992 A
- (return(False);)588 2412 A
- 6030 V
- (34642)210 648 A
- (sleep(NAPTIME);)630 1362 A
- 6120 V
- (34643)210 648 A
- 1110(})S
- 6210 V
- (34644)210 648 A
- 1110(if)S
- ((fd)126 1236 A
- 1404(==)S
- 1530(-1)S
- 1656(||)S
- (close(fd))378 1782 A
- 2202(==)S
- (-1))126 2328 A
- (syserr("lock");)630 2496 A
- 8418 V
- EP
- %%Page: 336 336
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (336)180 648 A
- 11 R
- 2003(File:)S
- (src/lib/other/lock.c)837 2236 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (34645)210 648 A
- (return(True);)546 1110 A
- 990 V
- (34646)210 648 A
- 1026(})S
- 1170 V
- (34648)210 648 A
- (void)168 1026 A
- (unlock(name))504 1236 A
- 2370(/*)S
- (free)168 2496 A
- (lock)168 2706 A
- 2916(*/)S
- 1260 V
- (34649)210 648 A
- (char)168 1026 A
- (*name;)252 1236 A
- 1350 V
- (34650)210 648 A
- 1026({)S
- 1440 V
- (34651)210 648 A
- 1110(if)S
- ((unlink(lockpath(name)))966 1236 A
- 2244(==)S
- (-1))126 2370 A
- (syserr("unlock");)714 2538 A
- 1530 V
- (34652)210 648 A
- 1026(})S
- 1710 V
- (34654)210 648 A
- (PRIVATE)294 1026 A
- (char)168 1362 A
- (*lockpath(name))630 1572 A
- 2370(/*)S
- (generate)336 2496 A
- (lock)168 2874 A
- (file)168 3084 A
- (path)168 3294 A
- 3504(*/)S
- 1800 V
- (34655)210 648 A
- (char)168 1026 A
- (*name;)252 1236 A
- 1890 V
- (34656)210 648 A
- 1026({)S
- 1980 V
- (34657)210 648 A
- (PRIVATE)294 1110 A
- (char)168 1446 A
- (path[20];)378 1656 A
- 2070 V
- (34658)210 648 A
- 2160 V
- (34659)210 648 A
- (strcpy(path,)504 1110 A
- (LOCKDIR);)378 1656 A
- 2250 V
- (34660)210 648 A
- (return(strcat(path,)798 1110 A
- (name));)294 1950 A
- 2340 V
- (34661)210 648 A
- 1026(})S
- 2790 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2880 V
- (src/lib/other/lrand.c)882 1698 A
- 2970 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3150 V
- (34700)210 648 A
- 1026(/*)S
- (lrand(3))336 1194 A
- 3240 V
- (34701)210 648 A
- 1068(*)S
- 3330 V
- (34702)210 648 A
- 1068(*)S
- (Author:)294 1194 A
- (Terrence)336 1530 A
- 1908(W.)S
- (Holm)168 2034 A
- (Nov.)168 2622 A
- (1988)168 2832 A
- 3420 V
- (34703)210 648 A
- 1068(*)S
- 3510 V
- (34704)210 648 A
- 1068(*)S
- 3600 V
- (34705)210 648 A
- 1068(*)S
- 1194(A)S
- (prime)210 1278 A
- (modulus)294 1530 A
- (multiplicative)588 1866 A
- (linear)252 2496 A
- (congruential)504 2790 A
- 3690 V
- (34706)210 648 A
- 1068(*)S
- (generator)378 1194 A
- ((PMMLCG),)378 1614 A
- 2034(or)S
- ("Lehmer)294 2160 A
- (generator".)462 2496 A
- 3780 V
- (34707)210 648 A
- 1068(*)S
- (Implementation)588 1194 A
- (directly)336 1824 A
- (derived)294 2202 A
- (from)168 2538 A
- (the)126 2748 A
- (article:)336 2916 A
- 3870 V
- (34708)210 648 A
- 1068(*)S
- 3960 V
- (34709)210 648 A
- 1068(*)S
- 1362(S.)S
- 1488(K.)S
- (Park)168 1614 A
- (and)126 1824 A
- 1992(K.)S
- 2118(W.)S
- (Miller)252 2244 A
- 4050 V
- (34710)210 648 A
- 1068(*)S
- (Random)252 1362 A
- (Number)252 1656 A
- (Generators:)462 1950 A
- (Good)168 2454 A
- (Ones)168 2664 A
- (are)126 2874 A
- (Hard)168 3042 A
- 3252(to)S
- (Find)168 3378 A
- 4140 V
- (34711)210 648 A
- 1068(*)S
- (CACM)168 1362 A
- (vol)126 1572 A
- (31,)126 1740 A
- (#10.)168 1908 A
- (Oct.)168 2118 A
- (1988.)210 2328 A
- 2580(pp)S
- (1192-1201.)420 2706 A
- 4230 V
- (34712)210 648 A
- 1068(*)S
- 4320 V
- (34713)210 648 A
- 1068(*)S
- 4410 V
- (34714)210 648 A
- 1068(*)S
- (Using)210 1194 A
- (the)126 1446 A
- (following)378 1614 A
- (multiplier)420 2034 A
- (and)126 2496 A
- (modulus,)336 2664 A
- 3042(we)S
- (obtain)252 3168 A
- 3462(a)S
- 4500 V
- (34715)210 648 A
- 1068(*)S
- (generator)378 1194 A
- (which:)252 1614 A
- 4590 V
- (34716)210 648 A
- 1068(*)S
- 4680 V
- (34717)210 648 A
- 1068(*)S
- 1362(1))S
- (Has)126 1530 A
- 1698(a)S
- (full)168 1782 A
- (period:)294 1992 A
- 2328(1)S
- 2412(to)S
- (230331)168 2538 A
- 2748(-)S
- 2832(2.)S
- 4770 V
- (34718)210 648 A
- 1068(*)S
- 1362(2))S
- 1530(Is)S
- (testably)336 1656 A
- ("random")336 2034 A
- ((see)168 2412 A
- (the)126 2622 A
- (article).)378 2790 A
- 4860 V
- (34719)210 648 A
- 1068(*)S
- 1362(3))S
- (Has)126 1530 A
- 1698(a)S
- (known)210 1782 A
- (implementation)588 2034 A
- 2664(by)S
- 2790(E.)S
- 2916(L.)S
- (Schrage.)336 3042 A
- 4950 V
- (34720)210 648 A
- 1068(*/)S
- 5040 V
- (34721)210 648 A
- 5130 V
- (34722)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5220 V
- (34723)210 648 A
- 5310 V
- (34724)210 648 A
- (_PROTOTYPE()462 1026 A
- (long)168 1530 A
- (seed,)210 1740 A
- ((long)210 1992 A
- (lseed));)336 2244 A
- 5400 V
- (34725)210 648 A
- (_PROTOTYPE()462 1026 A
- (long)168 1530 A
- (lrand,)252 1740 A
- ((void));)336 2034 A
- 5490 V
- (34726)210 648 A
- 5580 V
- (34727)210 648 A
- (#define)294 1026 A
- 1404(A)S
- (16807L)252 1782 A
- 2370(/*)S
- 2496(A)S
- ("good")252 2580 A
- (multiplier)420 2874 A
- 3462(*/)S
- 5670 V
- (34728)210 648 A
- (#define)294 1026 A
- 1404(M)S
- (2147483647L)462 1572 A
- 2370(/*)S
- (Modulus:)336 2496 A
- (230331)168 2874 A
- 3084(-)S
- 3168(1)S
- 3462(*/)S
- 5760 V
- (34729)210 648 A
- (#define)294 1026 A
- 1404(Q)S
- (127773L)294 1740 A
- 2370(/*)S
- 2496(M)S
- 2580(/)S
- 2664(A)S
- 3462(*/)S
- 5850 V
- (34730)210 648 A
- (#define)294 1026 A
- 1404(R)S
- (2836L)210 1824 A
- 2370(/*)S
- 2496(M)S
- 2580(%)S
- 2664(A)S
- 3462(*/)S
- 5940 V
- (34731)210 648 A
- 6030 V
- (34732)210 648 A
- (PRIVATE)294 1026 A
- (long)168 1362 A
- (_lseed)252 1572 A
- 1866(=)S
- (1L;)126 1950 A
- 6120 V
- (34733)210 648 A
- 6210 V
- (34734)210 648 A
- (long)168 1026 A
- (seed(lseed))462 1236 A
- 8418 V
- EP
- %%Page: 337 337
- 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/lrand.c)874 2217 A
- 12 B
- (337)180 4248 A
- 900 V
- 7 LST
- (34735)210 648 A
- (long)168 1026 A
- (lseed;)252 1236 A
- 990 V
- (34736)210 648 A
- 1026({)S
- 1080 V
- (34737)210 648 A
- (long)168 1110 A
- (previous_seed)546 1320 A
- 1908(=)S
- (_lseed;)294 1992 A
- 1170 V
- (34738)210 648 A
- 1260 V
- (34739)210 648 A
- (_lseed)252 1110 A
- 1404(=)S
- (lseed;)252 1488 A
- 1350 V
- (34740)210 648 A
- 1440 V
- (34741)210 648 A
- (return(previous_seed);)924 1110 A
- 1530 V
- (34742)210 648 A
- 1026(})S
- 1800 V
- (34745)210 648 A
- (long)168 1026 A
- (lrand())294 1236 A
- 1890 V
- (34746)210 648 A
- 1026({)S
- 1980 V
- (34747)210 648 A
- (_lseed)252 1110 A
- 1404(=)S
- 1488(A)S
- 1572(*)S
- ((_lseed)294 1656 A
- 1992(%)S
- 2076(Q))S
- 2202(-)S
- 2286(R)S
- 2370(*)S
- ((_lseed)294 2454 A
- 2790(/)S
- (Q);)126 2874 A
- 2070 V
- (34748)210 648 A
- 2160 V
- (34749)210 648 A
- 1110(if)S
- ((_lseed)294 1236 A
- 1572(<)S
- 1656(0))S
- (_lseed)252 1782 A
- 2076(+=)S
- 2202(M;)S
- 2250 V
- (34750)210 648 A
- 2340 V
- (34751)210 648 A
- (return(_lseed);)630 1110 A
- 2430 V
- (34752)210 648 A
- 1026(})S
- 2790 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2880 V
- (src/lib/other/lsearch.c)966 1698 A
- 2970 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3150 V
- (34800)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 3240 V
- (34801)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 3330 V
- (34802)210 648 A
- 1026(/*)S
- (lsearch(3))420 1194 A
- (and)126 1698 A
- (lfind(3))336 1908 A
- 3420 V
- (34803)210 648 A
- 1068(*)S
- 3510 V
- (34804)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
- 3600 V
- (34805)210 648 A
- 1068(*/)S
- 3690 V
- (34806)210 648 A
- 3780 V
- (34807)210 648 A
- (#include)336 1026 A
- (<stddef.h>)420 1404 A
- 3870 V
- (34808)210 648 A
- 3960 V
- (34809)210 648 A
- (_PROTOTYPE()462 1026 A
- (char)168 1530 A
- (*lsearch,)378 1740 A
- ((char)210 2160 A
- (*key,)210 2412 A
- (char)168 2664 A
- (*base,)252 2874 A
- 4050 V
- (34810)210 648 A
- (unsigned)336 2202 A
- (*count,)294 2580 A
- (unsigned)336 2916 A
- (width,)252 3294 A
- 4140 V
- (34811)210 648 A
- (int)126 2202 A
- ((*keycmp)(const)630 2370 A
- (void)168 3042 A
- 3252(*,)S
- (const)210 3378 A
- (void)168 3630 A
- (*)));)210 3840 A
- 4230 V
- (34812)210 648 A
- (_PROTOTYPE()462 1026 A
- (char)168 1530 A
- (*lfind,)294 1740 A
- ((char)210 2076 A
- (*key,)210 2328 A
- (char)168 2580 A
- (*base,)252 2790 A
- 4320 V
- (34813)210 648 A
- (unsigned)336 2202 A
- (*count,)294 2580 A
- (unsigned)336 2916 A
- (width,)252 3294 A
- 4410 V
- (34814)210 648 A
- (int)126 2202 A
- ((*keycmp)(const)630 2370 A
- (void)168 3042 A
- 3252(*,)S
- (const)210 3378 A
- (void)168 3630 A
- (*)));)210 3840 A
- 4500 V
- (34815)210 648 A
- 4590 V
- (34816)210 648 A
- (char)168 1026 A
- (*lsearch(key,)546 1236 A
- (base,)210 1824 A
- (count,)252 2076 A
- (width,)252 2370 A
- (keycmp))294 2664 A
- 4680 V
- (34817)210 648 A
- (char)168 1026 A
- (*key;)210 1236 A
- 4770 V
- (34818)210 648 A
- (char)168 1026 A
- (*base;)252 1236 A
- 4860 V
- (34819)210 648 A
- (unsigned)336 1026 A
- (*count;)294 1404 A
- 4950 V
- (34820)210 648 A
- (unsigned)336 1026 A
- (width;)252 1404 A
- 5040 V
- (34821)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- ((*keycmp),)420 1698 A
- ((const)252 2160 A
- (void)168 2454 A
- 2664(*,)S
- (const)210 2790 A
- (void)168 3042 A
- (*));)168 3252 A
- 5130 V
- (34822)210 648 A
- 1026({)S
- 5220 V
- (34823)210 648 A
- (char)168 1110 A
- (*entry;)294 1320 A
- 5310 V
- (34824)210 648 A
- (char)168 1110 A
- (*last)210 1320 A
- 1572(=)S
- (base)168 1656 A
- 1866(+)S
- (*count)252 1950 A
- 2244(*)S
- (width;)252 2328 A
- 5400 V
- (34825)210 648 A
- 5490 V
- (34826)210 648 A
- (for)126 1110 A
- ((entry)252 1278 A
- 1572(=)S
- (base;)210 1656 A
- (entry)210 1908 A
- 2160(<)S
- (last;)210 2244 A
- (entry)210 2496 A
- 2748(+=)S
- (width))252 2874 A
- 5580 V
- (34827)210 648 A
- 1362(if)S
- ((keycmp(key,)504 1488 A
- (entry))252 2034 A
- 2328(==)S
- 2454(0))S
- (return(entry);)588 2580 A
- 5670 V
- (34828)210 648 A
- 5760 V
- (34829)210 648 A
- (bcopy(key,)420 1110 A
- (last,)210 1572 A
- (width);)294 1824 A
- 5850 V
- (34830)210 648 A
- (*count)252 1110 A
- 1404(+=)S
- 1530(1;)S
- 5940 V
- (34831)210 648 A
- (return(last);)546 1110 A
- 6030 V
- (34832)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 338 338
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (338)180 648 A
- 11 R
- 1940(File:)S
- (src/lib/other/lsearch.c)962 2173 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (34835)210 648 A
- (char)168 1026 A
- (*lfind(key,)462 1236 A
- (base,)210 1740 A
- (count,)252 1992 A
- (width,)252 2286 A
- (keycmp))294 2580 A
- 990 V
- (34836)210 648 A
- (char)168 1026 A
- (*key;)210 1236 A
- 1080 V
- (34837)210 648 A
- (char)168 1026 A
- (*base;)252 1236 A
- 1170 V
- (34838)210 648 A
- (unsigned)336 1026 A
- (*count;)294 1404 A
- 1260 V
- (34839)210 648 A
- (unsigned)336 1026 A
- (width;)252 1404 A
- 1350 V
- (34840)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- ((*keycmp),)420 1698 A
- ((const)252 2160 A
- (void)168 2454 A
- 2664(*,)S
- (const)210 2790 A
- (void)168 3042 A
- (*));)168 3252 A
- 1440 V
- (34841)210 648 A
- 1026({)S
- 1530 V
- (34842)210 648 A
- (char)168 1110 A
- (*entry;)294 1320 A
- 1620 V
- (34843)210 648 A
- (char)168 1110 A
- (*last)210 1320 A
- 1572(=)S
- (base)168 1656 A
- 1866(+)S
- (*count)252 1950 A
- 2244(*)S
- (width;)252 2328 A
- 1710 V
- (34844)210 648 A
- 1800 V
- (34845)210 648 A
- (for)126 1110 A
- ((entry)252 1278 A
- 1572(=)S
- (base;)210 1656 A
- (entry)210 1908 A
- 2160(<)S
- (last;)210 2244 A
- (entry)210 2496 A
- 2748(+=)S
- (width))252 2874 A
- 1890 V
- (34846)210 648 A
- 1362(if)S
- ((keycmp(key,)504 1488 A
- (entry))252 2034 A
- 2328(==)S
- 2454(0))S
- (return(entry);)588 2580 A
- 1980 V
- (34847)210 648 A
- 2070 V
- (34848)210 648 A
- (return((char)504 1110 A
- (*)NULL);)336 1656 A
- 2160 V
- (34849)210 648 A
- 1026(})S
- 2790 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2880 V
- (src/lib/other/memccpy.c)966 1698 A
- 2970 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3150 V
- (34900)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 3240 V
- (34901)210 648 A
- 1026(/*)S
- (memccpy)294 1152 A
- 1488(-)S
- (copy)168 1572 A
- (bytes)210 1782 A
- 2034(up)S
- 2160(to)S
- 2286(a)S
- (certain)294 2370 A
- (char)168 2706 A
- 3330 V
- (34902)210 648 A
- 1068(*)S
- 3420 V
- (34903)210 648 A
- 1068(*)S
- (CHARBITS)336 1152 A
- (should)252 1530 A
- 1824(be)S
- (defined)294 1950 A
- (only)168 2286 A
- 2496(if)S
- (the)126 2622 A
- (compiler)336 2790 A
- (lacks)210 3168 A
- ("unsigned)378 3420 A
- (char".)252 3840 A
- 3510 V
- (34904)210 648 A
- 1068(*)S
- 1152(It)S
- (should)252 1278 A
- 1572(be)S
- 1698(a)S
- (mask,)210 1782 A
- (e.g.)168 2034 A
- (0377)168 2244 A
- (for)126 2454 A
- 2622(an)S
- (8-bit)210 2748 A
- (machine.)336 3000 A
- 3600 V
- (34905)210 648 A
- 1068(*/)S
- 3690 V
- (34906)210 648 A
- 3780 V
- (34907)210 648 A
- (#include)336 1026 A
- (<ansi.h>)336 1404 A
- 3870 V
- (34908)210 648 A
- (#include)336 1026 A
- (<stddef.h>)420 1404 A
- 3960 V
- (34909)210 648 A
- 4050 V
- (34910)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (*memccpy,)378 1740 A
- ((void)210 2160 A
- (*dst,)210 2412 A
- (const)210 2664 A
- (void)168 2916 A
- (*src,)210 3126 A
- 4140 V
- (34911)210 648 A
- (int)126 2202 A
- (ucharstop,)420 2370 A
- (size_t)252 2832 A
- (size));)294 3126 A
- 4230 V
- (34912)210 648 A
- (#ifndef)294 1026 A
- (CHARBITS)336 1362 A
- 4320 V
- (34913)210 648 A
- 1026(#)S
- (define)252 1362 A
- (UNSCHAR(c))420 1698 A
- (((unsigned)420 2370 A
- (char)(c)))378 2832 A
- 4410 V
- (34914)210 648 A
- (#else)210 1026 A
- 4500 V
- (34915)210 648 A
- 1026(#)S
- (define)252 1362 A
- (UNSCHAR(c))420 1698 A
- (((c)&CHARBITS))588 2370 A
- 4590 V
- (34916)210 648 A
- (#endif)252 1026 A
- 4680 V
- (34917)210 648 A
- 4770 V
- (34918)210 648 A
- (void)168 1026 A
- (*memccpy(dst,)546 1236 A
- (src,)168 1824 A
- (ucharstop,)420 2034 A
- (size))210 2496 A
- 4860 V
- (34919)210 648 A
- (void)168 1026 A
- 1236(*)S
- (dst;)168 1320 A
- 4950 V
- (34920)210 648 A
- (_CONST)252 1026 A
- (void)168 1320 A
- 1530(*)S
- (src;)168 1614 A
- 5040 V
- (34921)210 648 A
- (int)126 1026 A
- (ucharstop;)420 1194 A
- 5130 V
- (34922)210 648 A
- (_SIZET)252 1026 A
- (size;)210 1320 A
- 5220 V
- (34923)210 648 A
- 1026({)S
- 5310 V
- (34924)210 648 A
- (register)336 1110 A
- (char)168 1488 A
- (*d;)126 1698 A
- 5400 V
- (34925)210 648 A
- (register)336 1110 A
- (_CONST)252 1488 A
- (char)168 1782 A
- (*s;)126 1992 A
- 5490 V
- (34926)210 648 A
- (register)336 1110 A
- (_SIZET)252 1488 A
- 1782(n;)S
- 5580 V
- (34927)210 648 A
- (register)336 1110 A
- (int)126 1488 A
- (uc;)126 1656 A
- 5670 V
- (34928)210 648 A
- 5760 V
- (34929)210 648 A
- 1110(if)S
- ((size)210 1236 A
- 1488(<=)S
- 1614(0))S
- (return()294 1740 A
- ((void)210 2076 A
- 2328(*))S
- (NULL);)252 2454 A
- 5850 V
- (34930)210 648 A
- 5940 V
- (34931)210 648 A
- 1110(s)S
- 1194(=)S
- ((char)210 1278 A
- 1530(*))S
- (src;)168 1656 A
- 6030 V
- (34932)210 648 A
- 1110(d)S
- 1194(=)S
- ((char)210 1278 A
- 1530(*))S
- (dst;)168 1656 A
- 6120 V
- (34933)210 648 A
- 1110(uc)S
- 1236(=)S
- (UNSCHAR(ucharstop);)798 1320 A
- 6210 V
- (34934)210 648 A
- (for)126 1110 A
- 1278((n)S
- 1404(=)S
- (size;)210 1488 A
- 1740(n)S
- 1824(>)S
- 1908(0;)S
- (n--))168 2034 A
- 8418 V
- EP
- %%Page: 339 339
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1882(File:)S
- (src/lib/other/memccpy.c)1078 2115 A
- 12 B
- (339)180 4248 A
- 900 V
- 7 LST
- (34935)210 648 A
- 1362(if)S
- ((UNSCHAR(*d++)546 1488 A
- 2076(=)S
- (*s++))210 2160 A
- 2412(==)S
- ((char))252 2538 A
- (uc))126 2832 A
- (return()294 3000 A
- ((void)210 3336 A
- 3588(*))S
- (d);)126 3714 A
- 990 V
- (34936)210 648 A
- 1080 V
- (34937)210 648 A
- (return()294 1110 A
- ((void)210 1446 A
- 1698(*))S
- (NULL);)252 1824 A
- 1170 V
- (34938)210 648 A
- 1026(})S
- 1440 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1530 V
- (src/lib/other/mtab.c)840 1698 A
- 1620 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1800 V
- (35000)210 648 A
- 1026(/*)S
- (This)168 1152 A
- (package)294 1362 A
- (consists)336 1698 A
- 2076(of)S
- 2202(4)S
- (routines)336 2286 A
- (for)126 2664 A
- (handling)336 2832 A
- (the)126 3210 A
- (/etc/mtab)378 3378 A
- (file.)210 3798 A
- 1890 V
- (35001)210 648 A
- 1068(*)S
- (The)126 1152 A
- (/etc/mtab)378 1320 A
- (file)168 1740 A
- (contains)336 1950 A
- (information)462 2328 A
- (about)210 2832 A
- (the)126 3084 A
- (root)168 3252 A
- (and)126 3462 A
- (mounted)294 3630 A
- (file)168 3966 A
- 1980 V
- (35002)210 648 A
- 1068(*)S
- (systems)294 1152 A
- 1488(as)S
- 1614(a)S
- (series)252 1698 A
- 1992(of)S
- (lines,)252 2118 A
- (each)168 2412 A
- (one)126 2622 A
- (with)168 2790 A
- (exactly)294 3000 A
- (four)168 3336 A
- (fields)252 3546 A
- (separated)378 3840 A
- 2070 V
- (35003)210 648 A
- 1068(*)S
- 1152(by)S
- (one)126 1278 A
- (space)210 1446 A
- 1698(as)S
- (follows:)336 1824 A
- 2160 V
- (35004)210 648 A
- 1068(*)S
- 2250 V
- (35005)210 648 A
- 1068(*)S
- (special)294 1362 A
- (mounted_on)420 1698 A
- (version)294 2160 A
- (rw_flag)294 2496 A
- 2340 V
- (35006)210 648 A
- 1068(*)S
- 2430 V
- (35007)210 648 A
- 1068(*)S
- (where)210 1152 A
- 2520 V
- (35008)210 648 A
- 1068(*)S
- (special)294 1362 A
- 1698(is)S
- (the)126 1824 A
- (name)168 1992 A
- 2202(of)S
- (the)126 2328 A
- (block)210 2496 A
- (special)294 2748 A
- (file)168 3084 A
- 2610 V
- (35009)210 648 A
- 1068(*)S
- (mounted_on)420 1362 A
- 1824(is)S
- (the)126 1950 A
- (directory)378 2118 A
- 2538(on)S
- (which)210 2664 A
- 2916(it)S
- 3042(is)S
- (mounted)294 3168 A
- 2700 V
- (35010)210 648 A
- 1068(*)S
- (version)294 1362 A
- 1698(is)S
- (either)252 1824 A
- 2118(1)S
- 2202(or)S
- 2328(2)S
- (for)126 2412 A
- (MINIX)210 2580 A
- 2832(V1)S
- (and)126 2958 A
- 3126(V2)S
- (file)168 3252 A
- (systems)294 3462 A
- 2790 V
- (35011)210 648 A
- 1068(*)S
- (rw_flag)294 1362 A
- 1698(is)S
- 1824(rw)S
- 1950(or)S
- 2076(ro)S
- (for)126 2202 A
- (read/write)420 2370 A
- 2832(or)S
- (read)168 2958 A
- (only)168 3168 A
- 2880 V
- (35012)210 648 A
- 1068(*)S
- 2970 V
- (35013)210 648 A
- 1068(*)S
- 1152(An)S
- (example)294 1278 A
- (/etc/mtab:)420 1614 A
- 3060 V
- (35014)210 648 A
- 1068(*)S
- 3150 V
- (35015)210 648 A
- 1068(*)S
- (/dev/ram)336 1362 A
- 1740(/)S
- 1824(2)S
- 1908(rw)S
- 3240 V
- (35016)210 648 A
- 1068(*)S
- (/dev/hd1)336 1362 A
- (/usr)168 1740 A
- 1950(2)S
- 2034(rw)S
- 3330 V
- (35017)210 648 A
- 1068(*)S
- (/dev/fd0)336 1362 A
- (/user)210 1740 A
- 1992(1)S
- 2076(ro)S
- 3420 V
- (35018)210 648 A
- 1068(*)S
- 3510 V
- (35019)210 648 A
- 1068(*)S
- 3600 V
- (35020)210 648 A
- 1068(*)S
- (The)126 1152 A
- (four)168 1320 A
- (routines)336 1530 A
- (for)126 1908 A
- (handling)336 2076 A
- (/etc/mtab)378 2454 A
- (are)126 2874 A
- 3042(as)S
- (follows.)336 3168 A
- (They)168 3588 A
- (use)126 3798 A
- (two)126 3966 A
- 3690 V
- (35021)210 648 A
- 1068(*)S
- ((hidden))336 1152 A
- (internal)336 1530 A
- (buffers,)336 1908 A
- (mtab_in)294 2286 A
- (for)126 2622 A
- (input)210 2790 A
- (and)126 3042 A
- (mtab_out)336 3210 A
- (for)126 3588 A
- (output.)294 3756 A
- 3780 V
- (35022)210 648 A
- 1068(*)S
- 3870 V
- (35023)210 648 A
- 1068(*)S
- (load_mtab(&prog_name))882 1362 A
- 2832(-)S
- (read)168 2916 A
- (/etc/mtab)378 3126 A
- (into)168 3546 A
- (mtab_in)294 3756 A
- 3960 V
- (35024)210 648 A
- 1068(*)S
- (get_mtab_entry(&s1,)798 1362 A
- (&s2,)168 2202 A
- (&s3,)168 2412 A
- (&s4))168 2622 A
- 2832(-)S
- (arrays)252 2916 A
- (that)168 3210 A
- (are)126 3420 A
- (filled)252 3588 A
- 3882(in)S
- 4050 V
- (35025)210 648 A
- 1068(*)S
- (put_mtab_entry(&s1,)798 1362 A
- (&s2,)168 2202 A
- (&s3,)168 2412 A
- (&s4))168 2622 A
- 2832(-)S
- (append)252 2916 A
- 3210(a)S
- (line)168 3294 A
- 3504(to)S
- (mtab_out)336 3630 A
- 4140 V
- (35026)210 648 A
- 1068(*)S
- (rewrite_mtab(&prog_name))1008 1362 A
- 2832(-)S
- (write)210 2916 A
- (mtab_out)336 3168 A
- 3546(to)S
- (/etc/mtab)378 3672 A
- 4230 V
- (35027)210 648 A
- 1068(*)S
- 4320 V
- (35028)210 648 A
- 1068(*)S
- 1152(If)S
- (load_mtab)378 1278 A
- (and)126 1698 A
- (rewrite_mtab)504 1866 A
- (work,)210 2412 A
- (they)168 2664 A
- (return)252 2874 A
- 3168(0.)S
- 3336(If)S
- (they)168 3462 A
- (fail,)210 3672 A
- (they)168 3924 A
- 4410 V
- (35029)210 648 A
- 1068(*)S
- (print)210 1152 A
- (their)210 1404 A
- (own)126 1656 A
- (error)210 1824 A
- (messages)336 2076 A
- 2454(on)S
- (stderr)252 2580 A
- (and)126 2874 A
- (return)252 3042 A
- (-1.)126 3336 A
- (When)168 3546 A
- (get_mtab_entry)588 3756 A
- 4500 V
- (35030)210 648 A
- 1068(*)S
- (runs)168 1152 A
- (out)126 1362 A
- 1530(of)S
- (entries)294 1656 A
- 1992(to)S
- (return,)294 2118 A
- 2454(it)S
- (sets)168 2580 A
- (the)126 2790 A
- (first)210 2958 A
- (pointer)294 3210 A
- 3546(to)S
- (NULL)168 3672 A
- (and)126 3882 A
- (returns)294 4050 A
- 4590 V
- (35031)210 648 A
- 1068(*)S
- 1152(-1)S
- (instead)294 1278 A
- 1614(of)S
- 1740(0.)S
- (Also,)210 1908 A
- (rewrite_mtab)504 2160 A
- (returns)294 2706 A
- 3042(-1)S
- 3168(if)S
- 3294(it)S
- (fails.)252 3420 A
- 4680 V
- (35032)210 648 A
- 1068(*/)S
- 4770 V
- (35033)210 648 A
- 4860 V
- (35034)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 4950 V
- (35035)210 648 A
- (#include)336 1026 A
- (<minix/minlib.h>)672 1404 A
- 5040 V
- (35036)210 648 A
- (#include)336 1026 A
- (<ctype.h>)378 1404 A
- 5130 V
- (35037)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 5220 V
- (35038)210 648 A
- (#include)336 1026 A
- (<stdlib.h>)420 1404 A
- 5310 V
- (35039)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 5400 V
- (35040)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 5490 V
- (35041)210 648 A
- (#include)336 1026 A
- (<stdio.h>)378 1404 A
- 5580 V
- (35042)210 648 A
- 5670 V
- (35043)210 648 A
- (#define)294 1026 A
- (BUF_SIZE)336 1362 A
- (512)126 1824 A
- 2454(/*)S
- (size)168 2580 A
- 2790(of)S
- (the)126 2916 A
- (/etc/mtab)378 3084 A
- (buffer)252 3504 A
- 3798(*/)S
- 5760 V
- (35044)210 648 A
- 5850 V
- (35045)210 648 A
- (char)168 1026 A
- (*etc_mtab)378 1236 A
- 1656(=)S
- ("/etc/mtab";)504 1740 A
- 2454(/*)S
- (name)168 2580 A
- 2790(of)S
- (the)126 2916 A
- (/etc/mtab)378 3084 A
- (file)168 3504 A
- 3714(*/)S
- 5940 V
- (35046)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (mtab_in[BUF_SIZE+1];)840 1530 A
- 2454(/*)S
- (holds)210 2580 A
- (/etc/mtab)378 2832 A
- (when)168 3252 A
- 3462(it)S
- 3588(is)S
- (read)168 3714 A
- 3924(in)S
- 4050(*/)S
- 6030 V
- (35047)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (mtab_out[BUF_SIZE+1];)882 1530 A
- 2454(/*)S
- (buf)126 2580 A
- 2748(to)S
- (build)210 2874 A
- (/etc/mtab)378 3126 A
- (for)126 3546 A
- (output)252 3714 A
- (later)210 4008 A
- 4260(*/)S
- 6120 V
- (35048)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*iptr)210 1530 A
- 1782(=)S
- (mtab_in;)336 1866 A
- 2454(/*)S
- (pointer)294 2580 A
- 2916(to)S
- (next)168 3042 A
- (line)168 3252 A
- 3462(to)S
- (feed)168 3588 A
- (out.)168 3798 A
- 4008(*/)S
- 6210 V
- (35049)210 648 A
- (static)252 1026 A
- (char)168 1320 A
- (*optr)210 1530 A
- 1782(=)S
- (mtab_out;)378 1866 A
- 2454(/*)S
- (pointer)294 2580 A
- 2916(to)S
- (place)210 3042 A
- (where)210 3294 A
- (next)168 3546 A
- (line)168 3756 A
- (goes)168 3966 A
- 4176(*/)S
- 8418 V
- EP
- %%Page: 340 340
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (340)180 648 A
- 11 R
- 1987(File:)S
- (src/lib/other/mtab.c)868 2220 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (35050)210 648 A
- 990 V
- (35051)210 648 A
- (_PROTOTYPE(int)588 1026 A
- (load_mtab,)420 1656 A
- ((char)210 2118 A
- (*prog_name)420 2370 A
- ());)126 2832 A
- 1080 V
- (35052)210 648 A
- (_PROTOTYPE(int)588 1026 A
- (rewrite_mtab,)546 1656 A
- ((char)210 2244 A
- (*prog_name)420 2496 A
- ());)126 2958 A
- 1170 V
- (35053)210 648 A
- (_PROTOTYPE(int)588 1026 A
- (get_mtab_entry,)630 1656 A
- ((char)210 2328 A
- (*special,)378 2580 A
- (char)168 3000 A
- (*mounted_on,)504 3210 A
- 1260 V
- (35054)210 648 A
- (char)168 2706 A
- (*version,)378 2916 A
- (char)168 3336 A
- (*rw_flag));)462 3546 A
- 1350 V
- (35055)210 648 A
- (_PROTOTYPE(int)588 1026 A
- (put_mtab_entry,)630 1656 A
- ((char)210 2328 A
- (*special,)378 2580 A
- (char)168 3000 A
- (*mounted_on,)504 3210 A
- 1440 V
- (35056)210 648 A
- (char)168 2706 A
- (*version,)378 2916 A
- (char)168 3336 A
- (*rw_flag));)462 3546 A
- 1530 V
- (35057)210 648 A
- (_PROTOTYPE(void)630 1026 A
- (err,)168 1698 A
- ((char)210 1908 A
- (*prog_name,)462 2160 A
- (char)168 2664 A
- (*str)168 2874 A
- ());)126 3084 A
- 1620 V
- (35058)210 648 A
- 1710 V
- (35059)210 648 A
- 1800 V
- (35060)210 648 A
- (int)126 1026 A
- (load_mtab(prog_name))840 1194 A
- 1890 V
- (35061)210 648 A
- (char)168 1026 A
- (*prog_name;)462 1236 A
- 1980 V
- (35062)210 648 A
- 1026({)S
- 2070 V
- (35063)210 648 A
- 1026(/*)S
- (Read)168 1152 A
- 1362(in)S
- (/etc/mtab)378 1488 A
- (and)126 1908 A
- (store)210 2076 A
- 2328(it)S
- 2454(in)S
- (/etc/mtab.)420 2580 A
- 3042(*/)S
- 2160 V
- (35064)210 648 A
- 2250 V
- (35065)210 648 A
- (int)126 1110 A
- (fd,)126 1278 A
- 1446(n;)S
- 2340 V
- (35066)210 648 A
- (char)168 1110 A
- (*ptr;)210 1320 A
- 2430 V
- (35067)210 648 A
- 2520 V
- (35068)210 648 A
- 1110(/*)S
- (Open)168 1236 A
- (the)126 1446 A
- (file.)210 1614 A
- 1866(*/)S
- 2610 V
- (35069)210 648 A
- 1110(fd)S
- 1236(=)S
- (open(etc_mtab,)588 1320 A
- (O_RDONLY);)420 1950 A
- 2700 V
- (35070)210 648 A
- 1110(if)S
- ((fd)126 1236 A
- 1404(<)S
- 1488(0))S
- 1614({)S
- 2790 V
- (35071)210 648 A
- (err(prog_name,)588 1362 A
- 1992(":)S
- (cannot)252 2118 A
- (open)168 2412 A
- (");)126 2622 A
- 2880 V
- (35072)210 648 A
- (return(-1);)462 1362 A
- 2970 V
- (35073)210 648 A
- 1110(})S
- 3060 V
- (35074)210 648 A
- 3150 V
- (35075)210 648 A
- 1110(/*)S
- (File)168 1236 A
- (opened.)294 1446 A
- (Read)168 1824 A
- 2034(it)S
- (in.)126 2160 A
- 2328(*/)S
- 3240 V
- (35076)210 648 A
- 1110(n)S
- 1194(=)S
- (read(fd,)336 1278 A
- (mtab_in,)336 1656 A
- (BUF_SIZE);)420 2034 A
- 3330 V
- (35077)210 648 A
- 1110(if)S
- 1236((n)S
- 1362(<=)S
- 1488(0))S
- 1614({)S
- 3420 V
- (35078)210 648 A
- 1362(/*)S
- (Read)168 1488 A
- (failed.)294 1698 A
- 2034(*/)S
- 3510 V
- (35079)210 648 A
- (err(prog_name,)588 1362 A
- 1992(":)S
- (cannot)252 2118 A
- (read)168 2412 A
- (");)126 2622 A
- 3600 V
- (35080)210 648 A
- (return(-1);)462 1362 A
- 3690 V
- (35081)210 648 A
- 1110(})S
- 3780 V
- (35082)210 648 A
- 1110(if)S
- 1236((n)S
- 1362(==)S
- (BUF_SIZE))378 1488 A
- 1908({)S
- 3870 V
- (35083)210 648 A
- 1362(/*)S
- (Some)168 1488 A
- (nut)126 1698 A
- (has)126 1866 A
- (mounted)294 2034 A
- 2370(50)S
- (file)168 2496 A
- (systems)294 2706 A
- 3042(or)S
- (something)378 3168 A
- (like)168 3588 A
- (that.)210 3798 A
- 4050(*/)S
- 3960 V
- (35084)210 648 A
- (std_err(prog_name);)798 1362 A
- 4050 V
- (35085)210 648 A
- (std_err(":)420 1362 A
- (file)168 1824 A
- (too)126 2034 A
- (large:)252 2202 A
- (");)126 2496 A
- 4140 V
- (35086)210 648 A
- (std_err(etc_mtab);)756 1362 A
- 4230 V
- (35087)210 648 A
- (return(-1);)462 1362 A
- 4320 V
- (35088)210 648 A
- 1110(})S
- 4410 V
- (35089)210 648 A
- 4500 V
- (35090)210 648 A
- (close(fd);)420 1110 A
- 4590 V
- (35091)210 648 A
- 4680 V
- (35092)210 648 A
- 1110(/*)S
- (Replace)294 1236 A
- (all)126 1572 A
- (the)126 1740 A
- (whitespace)420 1908 A
- 2370(by)S
- ('\0'.)210 2496 A
- 2748(*/)S
- 4770 V
- (35093)210 648 A
- (ptr)126 1110 A
- 1278(=)S
- (mtab_in;)336 1362 A
- 4860 V
- (35094)210 648 A
- (while)210 1110 A
- ((*ptr)210 1362 A
- 1614(!=)S
- ('\0'))210 1740 A
- 1992({)S
- 4950 V
- (35095)210 648 A
- 1362(if)S
- ((isspace(*ptr)))630 1488 A
- (*ptr)168 2160 A
- 2370(=)S
- ('\0';)210 2454 A
- 5040 V
- (35096)210 648 A
- (ptr++;)252 1362 A
- 5130 V
- (35097)210 648 A
- 1110(})S
- 5220 V
- (35098)210 648 A
- (return(0);)420 1110 A
- 5310 V
- (35099)210 648 A
- 1026(})S
- 5580 V
- (35102)210 648 A
- (int)126 1026 A
- (rewrite_mtab(prog_name))966 1194 A
- 5670 V
- (35103)210 648 A
- (char)168 1026 A
- (*prog_name;)462 1236 A
- 5760 V
- (35104)210 648 A
- 1026({)S
- 5850 V
- (35105)210 648 A
- 1026(/*)S
- (Write)210 1152 A
- (mtab_out)336 1404 A
- 1782(to)S
- (/etc/mtab.)420 1908 A
- 2370(*/)S
- 5940 V
- (35106)210 648 A
- 6030 V
- (35107)210 648 A
- (int)126 1110 A
- (fd,)126 1278 A
- 1446(n;)S
- 6120 V
- (35108)210 648 A
- 6210 V
- (35109)210 648 A
- 1110(/*)S
- 1236(Do)S
- 1362(a)S
- (creat)210 1446 A
- 1698(to)S
- (truncate)336 1824 A
- (the)126 2202 A
- (file.)210 2370 A
- 2622(*/)S
- 8418 V
- EP
- %%Page: 341 341
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1987(File:)S
- (src/lib/other/mtab.c)868 2220 A
- 12 B
- (341)180 4248 A
- 900 V
- 7 LST
- (35110)210 648 A
- 1110(fd)S
- 1236(=)S
- (creat(etc_mtab,)630 1320 A
- (0777);)252 1992 A
- 990 V
- (35111)210 648 A
- 1110(if)S
- ((fd)126 1236 A
- 1404(<)S
- 1488(0))S
- 1614({)S
- 1080 V
- (35112)210 648 A
- (err(prog_name,)588 1362 A
- 1992(":)S
- (cannot)252 2118 A
- (overwrite)378 2412 A
- (");)126 2832 A
- 1170 V
- (35113)210 648 A
- (return(-1);)462 1362 A
- 1260 V
- (35114)210 648 A
- 1110(})S
- 1350 V
- (35115)210 648 A
- 1440 V
- (35116)210 648 A
- 1110(/*)S
- (File)168 1236 A
- (created.)336 1446 A
- (Write)210 1866 A
- (it.)126 2118 A
- 2286(*/)S
- 1530 V
- (35117)210 648 A
- 1110(n)S
- 1194(=)S
- (write(fd,)378 1278 A
- (mtab_out,)378 1698 A
- ((unsigned)378 2118 A
- (int)(optr)378 2538 A
- 2958(-)S
- (mtab_out));)462 3042 A
- 1620 V
- (35118)210 648 A
- 1110(if)S
- 1236((n)S
- 1362(<=)S
- 1488(0))S
- 1614({)S
- 1710 V
- (35119)210 648 A
- 1362(/*)S
- (Write)210 1488 A
- (failed.)294 1740 A
- 2076(*/)S
- 1800 V
- (35120)210 648 A
- (err(prog_name,)588 1362 A
- 1992(")S
- (could)210 2076 A
- (not)126 2328 A
- (write)210 2496 A
- (");)126 2748 A
- 1890 V
- (35121)210 648 A
- (return(-1);)462 1362 A
- 1980 V
- (35122)210 648 A
- 1110(})S
- 2070 V
- (35123)210 648 A
- 2160 V
- (35124)210 648 A
- (close(fd);)420 1110 A
- 2250 V
- (35125)210 648 A
- (return(0);)420 1110 A
- 2340 V
- (35126)210 648 A
- 1026(})S
- 2610 V
- (35129)210 648 A
- (int)126 1026 A
- (get_mtab_entry(special,)966 1194 A
- (mounted_on,)462 2202 A
- (version,)336 2706 A
- (rw_flag))336 3084 A
- 2700 V
- (35130)210 648 A
- (char)168 1026 A
- (*special;)378 1236 A
- 2790 V
- (35131)210 648 A
- (char)168 1026 A
- (*mounted_on;)504 1236 A
- 2880 V
- (35132)210 648 A
- (char)168 1026 A
- (*version;)378 1236 A
- 2970 V
- (35133)210 648 A
- (char)168 1026 A
- (*rw_flag;)378 1236 A
- 3060 V
- (35134)210 648 A
- 1026({)S
- 3150 V
- (35135)210 648 A
- 1026(/*)S
- (Return)252 1152 A
- (the)126 1446 A
- (next)168 1614 A
- (entry)210 1824 A
- (from)168 2076 A
- (mtab_in.)336 2286 A
- 2664(*/)S
- 3240 V
- (35136)210 648 A
- 3330 V
- (35137)210 648 A
- 1110(if)S
- ((iptr)210 1236 A
- 1488(>=)S
- (&mtab_in[BUF_SIZE]))798 1614 A
- 2454({)S
- 3420 V
- (35138)210 648 A
- (special[0])420 1362 A
- 1824(=)S
- ('\0';)210 1908 A
- 3510 V
- (35139)210 648 A
- (return(-1);)462 1362 A
- 3600 V
- (35140)210 648 A
- 1110(})S
- 3690 V
- (35141)210 648 A
- 3780 V
- (35142)210 648 A
- (strcpy(special,)630 1110 A
- (iptr);)252 1782 A
- 3870 V
- (35143)210 648 A
- (while)210 1110 A
- ((isprint(*iptr)))672 1362 A
- (iptr++;)294 2076 A
- 3960 V
- (35144)210 648 A
- (while)210 1110 A
- ((*iptr)252 1362 A
- 1656(==)S
- ('\0'&&)252 1782 A
- (iptr)168 2076 A
- 2286(<)S
- (&mtab_in[BUF_SIZE]))798 2370 A
- (iptr++;)294 3210 A
- 4050 V
- (35145)210 648 A
- 4140 V
- (35146)210 648 A
- (strcpy(mounted_on,)756 1110 A
- (iptr);)252 1908 A
- 4230 V
- (35147)210 648 A
- (while)210 1110 A
- ((isprint(*iptr)))672 1362 A
- (iptr++;)294 2076 A
- 4320 V
- (35148)210 648 A
- (while)210 1110 A
- ((*iptr)252 1362 A
- 1656(==)S
- ('\0'&&)252 1782 A
- (iptr)168 2076 A
- 2286(<)S
- (&mtab_in[BUF_SIZE]))798 2370 A
- (iptr++;)294 3210 A
- 4410 V
- (35149)210 648 A
- 4500 V
- (35150)210 648 A
- (strcpy(version,)630 1110 A
- (iptr);)252 1782 A
- 4590 V
- (35151)210 648 A
- (while)210 1110 A
- ((isprint(*iptr)))672 1362 A
- (iptr++;)294 2076 A
- 4680 V
- (35152)210 648 A
- (while)210 1110 A
- ((*iptr)252 1362 A
- 1656(==)S
- ('\0'&&)252 1782 A
- (iptr)168 2076 A
- 2286(<)S
- (&mtab_in[BUF_SIZE]))798 2370 A
- (iptr++;)294 3210 A
- 4770 V
- (35153)210 648 A
- 4860 V
- (35154)210 648 A
- (strcpy(rw_flag,)630 1110 A
- (iptr);)252 1782 A
- 4950 V
- (35155)210 648 A
- (while)210 1110 A
- ((isprint(*iptr)))672 1362 A
- (iptr++;)294 2076 A
- 5040 V
- (35156)210 648 A
- (while)210 1110 A
- ((*iptr)252 1362 A
- 1656(==)S
- ('\0'&&)252 1782 A
- (iptr)168 2076 A
- 2286(<)S
- (&mtab_in[BUF_SIZE]))798 2370 A
- (iptr++;)294 3210 A
- 5130 V
- (35157)210 648 A
- (return(0);)420 1110 A
- 5220 V
- (35158)210 648 A
- 1026(})S
- 5490 V
- (35161)210 648 A
- (int)126 1026 A
- (put_mtab_entry(special,)966 1194 A
- (mounted_on,)462 2202 A
- (version,)336 2706 A
- (rw_flag))336 3084 A
- 5580 V
- (35162)210 648 A
- (char)168 1026 A
- (*special;)378 1236 A
- 5670 V
- (35163)210 648 A
- (char)168 1026 A
- (*mounted_on;)504 1236 A
- 5760 V
- (35164)210 648 A
- (char)168 1026 A
- (*version;)378 1236 A
- 5850 V
- (35165)210 648 A
- (char)168 1026 A
- (*rw_flag;)378 1236 A
- 5940 V
- (35166)210 648 A
- 1026({)S
- 6030 V
- (35167)210 648 A
- 1026(/*)S
- (Append)252 1152 A
- 1446(an)S
- (entry)210 1572 A
- 1824(to)S
- (the)126 1950 A
- (mtab_out)336 2118 A
- (buffer.)294 2496 A
- 2832(*/)S
- 6120 V
- (35168)210 648 A
- 6210 V
- (35169)210 648 A
- (int)126 1110 A
- (n1,)126 1278 A
- (n2,)126 1446 A
- (n3,)126 1614 A
- (n4;)126 1782 A
- 8418 V
- EP
- %%Page: 342 342
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (342)180 648 A
- 11 R
- 1987(File:)S
- (src/lib/other/mtab.c)868 2220 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (35170)210 648 A
- 990 V
- (35171)210 648 A
- 1110(n1)S
- 1236(=)S
- (strlen(special);)672 1320 A
- 1080 V
- (35172)210 648 A
- 1110(n2)S
- 1236(=)S
- (strlen(mounted_on);)798 1320 A
- 1170 V
- (35173)210 648 A
- 1110(n3)S
- 1236(=)S
- (strlen(version);)672 1320 A
- 1260 V
- (35174)210 648 A
- 1110(n4)S
- 1236(=)S
- (strlen(rw_flag);)672 1320 A
- 1350 V
- (35175)210 648 A
- 1440 V
- (35176)210 648 A
- 1110(if)S
- ((optr)210 1236 A
- 1488(+)S
- 1572(n1)S
- 1698(+)S
- 1782(n2)S
- 1908(+)S
- 1992(n3)S
- 2118(+)S
- 2202(n4)S
- 2328(+)S
- 2412(5)S
- 2496(>=)S
- (&mtab_out[BUF_SIZE]))840 2622 A
- (return(-1);)462 3504 A
- 1530 V
- (35177)210 648 A
- (strcpy(optr,)504 1110 A
- (special);)378 1656 A
- 1620 V
- (35178)210 648 A
- (optr)168 1110 A
- 1320(+=)S
- (n1;)126 1446 A
- 1710 V
- (35179)210 648 A
- (*optr++)294 1110 A
- 1446(=)S
- 1530(')S
- 1614(';)S
- 1800 V
- (35180)210 648 A
- 1890 V
- (35181)210 648 A
- (strcpy(optr,)504 1110 A
- (mounted_on);)504 1656 A
- 1980 V
- (35182)210 648 A
- (optr)168 1110 A
- 1320(+=)S
- (n2;)126 1446 A
- 2070 V
- (35183)210 648 A
- (*optr++)294 1110 A
- 1446(=)S
- 1530(')S
- 1614(';)S
- 2160 V
- (35184)210 648 A
- 2250 V
- (35185)210 648 A
- (strcpy(optr,)504 1110 A
- (version);)378 1656 A
- 2340 V
- (35186)210 648 A
- (optr)168 1110 A
- 1320(+=)S
- (n3;)126 1446 A
- 2430 V
- (35187)210 648 A
- (*optr++)294 1110 A
- 1446(=)S
- 1530(')S
- 1614(';)S
- 2520 V
- (35188)210 648 A
- 2610 V
- (35189)210 648 A
- (strcpy(optr,)504 1110 A
- (rw_flag);)378 1656 A
- 2700 V
- (35190)210 648 A
- (optr)168 1110 A
- 1320(+=)S
- (n4;)126 1446 A
- 2790 V
- (35191)210 648 A
- (*optr++)294 1110 A
- 1446(=)S
- ('\n';)210 1530 A
- 2880 V
- (35192)210 648 A
- (return(0);)420 1110 A
- 2970 V
- (35193)210 648 A
- 1026(})S
- 3240 V
- (35196)210 648 A
- (void)168 1026 A
- 3330 V
- (35197)210 648 A
- (err(prog_name,)588 1026 A
- (str))168 1656 A
- 3420 V
- (35198)210 648 A
- (char)168 1026 A
- (*prog_name,)462 1236 A
- (*str;)210 1740 A
- 3510 V
- (35199)210 648 A
- 1026({)S
- 3600 V
- (35200)210 648 A
- (std_err(prog_name);)798 1110 A
- 3690 V
- (35201)210 648 A
- (std_err(str);)546 1110 A
- 3780 V
- (35202)210 648 A
- (std_err(etc_mtab);)756 1110 A
- 3870 V
- (35203)210 648 A
- (perror(")336 1110 A
- (");)126 1488 A
- 3960 V
- (35204)210 648 A
- 1026(})S
- 4590 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4680 V
- (src/lib/other/nlist.c)882 1698 A
- 4770 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 4950 V
- (35300)210 648 A
- 1026(/*)S
- 5040 V
- (35301)210 648 A
- 1068(*)S
- ("nlist.c",)420 1152 A
- (Peter)210 1614 A
- (Valkenburg,)462 1866 A
- (january)294 2370 A
- (1989.)210 2706 A
- 5130 V
- (35302)210 648 A
- 1068(*/)S
- 5220 V
- (35303)210 648 A
- 5310 V
- (35304)210 648 A
- (#include)336 1026 A
- (<lib.h>)294 1404 A
- 5400 V
- (35305)210 648 A
- (#include)336 1026 A
- (<string.h>)420 1404 A
- 5490 V
- (35306)210 648 A
- (#include)336 1026 A
- (<a.out.h>)378 1404 A
- 5580 V
- (35307)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 5670 V
- (35308)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 5760 V
- (35309)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 5850 V
- (35310)210 648 A
- (#include)336 1026 A
- (<stdio.h>)378 1404 A
- 5940 V
- (35311)210 648 A
- 6030 V
- (35312)210 648 A
- (#define)294 1026 A
- (fail(fp))336 1362 A
- ((fclose(fp),)504 2034 A
- (-1))126 2580 A
- 3042(/*)S
- (ret.)168 3168 A
- (exp.)168 3378 A
- (when)168 3588 A
- (nlist)210 3798 A
- (fails)210 4050 A
- 4302(*/)S
- 6120 V
- (35313)210 648 A
- 6210 V
- (35314)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (nlist,)252 1698 A
- ((char)210 1992 A
- (*file,)252 2244 A
- (struct)252 2538 A
- (nlist)210 2832 A
- (nl[]));)294 3084 A
- 8418 V
- EP
- %%Page: 343 343
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2003(File:)S
- (src/lib/other/nlist.c)837 2236 A
- 12 B
- (343)180 4248 A
- 900 V
- 7 LST
- (35315)210 648 A
- 990 V
- (35316)210 648 A
- 1026(/*)S
- 1080 V
- (35317)210 648 A
- 1068(*)S
- (Nlist)210 1152 A
- (fills)210 1404 A
- (fields)252 1656 A
- (n_sclass)336 1950 A
- (and)126 2328 A
- (n_value)294 2496 A
- 2832(of)S
- (array)210 2958 A
- 3210(nl)S
- (with)168 3336 A
- (values)252 3546 A
- (found)210 3840 A
- 4092(in)S
- 1170 V
- (35318)210 648 A
- 1068(*)S
- (non-stripped)504 1152 A
- (executable)420 1698 A
- (file.)210 2160 A
- (Entries)294 2454 A
- (that)168 2790 A
- (are)126 3000 A
- (not)126 3168 A
- (found)210 3336 A
- (have)168 3588 A
- (their)210 3798 A
- 1260 V
- (35319)210 648 A
- 1068(*)S
- (n_value/n_sclass)672 1152 A
- (fields)252 1866 A
- (set)126 2160 A
- 2328(to)S
- 2454(0.)S
- 2622(Nl)S
- (ends)168 2748 A
- (with)168 2958 A
- 3168(a)S
- 3252(0)S
- 3336(or)S
- (nul)126 3462 A
- (string)252 3630 A
- (n_name.)294 3924 A
- 1350 V
- (35320)210 648 A
- 1068(*)S
- (The)126 1152 A
- (return)252 1320 A
- (value)210 1614 A
- 1866(is)S
- 1992(-1)S
- 2118(on)S
- (failure,)336 2244 A
- (else)168 2622 A
- (the)126 2832 A
- (number)252 3000 A
- 3294(of)S
- (entries)294 3420 A
- (not)126 3756 A
- (found.)252 3924 A
- 1440 V
- (35321)210 648 A
- 1068(*/)S
- 1530 V
- (35322)210 648 A
- (int)126 1026 A
- (nlist(file,)462 1194 A
- (nl))126 1698 A
- 1620 V
- (35323)210 648 A
- (char)168 1026 A
- (*file;)252 1236 A
- 1710 V
- (35324)210 648 A
- (struct)252 1026 A
- (nlist)210 1320 A
- (nl[];)210 1572 A
- 1800 V
- (35325)210 648 A
- 1026({)S
- 1890 V
- (35326)210 648 A
- (int)126 1362 A
- (nents,)252 1530 A
- (nsrch,)252 1824 A
- (nfound,)294 2118 A
- 2454(i;)S
- 1980 V
- (35327)210 648 A
- (struct)252 1362 A
- (nlist)210 1656 A
- (nlent;)252 1908 A
- 2070 V
- (35328)210 648 A
- (FILE)168 1362 A
- (*fp;)168 1572 A
- 2160 V
- (35329)210 648 A
- (struct)252 1362 A
- (exec)168 1656 A
- (hd;)126 1866 A
- 2250 V
- (35330)210 648 A
- 2340 V
- (35331)210 648 A
- 1362(/*)S
- (open)168 1488 A
- (executable)420 1698 A
- (with)168 2160 A
- (namelist)336 2370 A
- 2748(*/)S
- 2430 V
- (35332)210 648 A
- 1362(if)S
- (((fp)168 1488 A
- 1698(=)S
- (fopen(file,)462 1782 A
- ("r")))210 2286 A
- 2538(==)S
- (NULL))210 2664 A
- 2520 V
- (35333)210 648 A
- (return)252 1698 A
- (-1;)126 1992 A
- 2610 V
- (35334)210 648 A
- 2700 V
- (35335)210 648 A
- 1362(/*)S
- (get)126 1488 A
- (header)252 1656 A
- (and)126 1950 A
- (seek)168 2118 A
- 2328(to)S
- (start)210 2454 A
- 2706(of)S
- (namelist)336 2832 A
- 3210(*/)S
- 2790 V
- (35336)210 648 A
- 1362(if)S
- ((fread((char)504 1488 A
- 2034(*))S
- (&hd,)168 2160 A
- (sizeof(struct)546 2370 A
- (exec),)252 2958 A
- 3252(1,)S
- (fp))126 3378 A
- 3546(!=)S
- 3672(1)S
- 3756(||)S
- 2880 V
- (35337)210 648 A
- (BADMAG(hd))420 1530 A
- 1992(||)S
- (fseek(fp,)378 2118 A
- (A_SYMPOS(hd),)546 2538 A
- (SEEK_SET))378 3126 A
- 3546(!=)S
- 3672(0))S
- 2970 V
- (35338)210 648 A
- (return)252 1698 A
- (fail(fp);)378 1992 A
- 3060 V
- (35339)210 648 A
- 3150 V
- (35340)210 648 A
- 1362(/*)S
- (determine)378 1488 A
- (number)252 1908 A
- 2202(of)S
- (entries)294 2328 A
- (searched)336 2664 A
- (for)126 3042 A
- 3210(&)S
- (reset)210 3294 A
- (fields)252 3546 A
- 3840(*/)S
- 3240 V
- (35341)210 648 A
- (nsrch)210 1362 A
- 1614(=)S
- 1698(0;)S
- 3330 V
- (35342)210 648 A
- (while)210 1362 A
- ((nl[nsrch].n_name)714 1614 A
- 2370(!=)S
- (NULL)168 2496 A
- 2706(&&)S
- (*(nl[nsrch].n_name))798 2832 A
- 3672(!=)S
- ('\0'))210 3798 A
- 4050({)S
- 3420 V
- (35343)210 648 A
- (nl[nsrch].n_sclass)756 1698 A
- 2496(=)S
- 2580(0;)S
- 3510 V
- (35344)210 648 A
- (nl[nsrch].n_value)714 1698 A
- 2454(=)S
- 2538(0;)S
- 3600 V
- (35345)210 648 A
- (nl[nsrch].n_type)672 1698 A
- 2412(=)S
- 2496(0;)S
- 3042(/*)S
- (for)126 3168 A
- (compatability)546 3336 A
- 3924(*/)S
- 3690 V
- (35346)210 648 A
- (nsrch++;)336 1698 A
- 3780 V
- (35347)210 648 A
- 1362(})S
- 3870 V
- (35348)210 648 A
- 3960 V
- (35349)210 648 A
- 1362(/*)S
- (loop)168 1488 A
- (through)294 1698 A
- (namelist)336 2034 A
- 2412(&)S
- (fill)168 2496 A
- 2706(in)S
- (user)168 2832 A
- (array)210 3042 A
- 3294(*/)S
- 4050 V
- (35350)210 648 A
- (nfound)252 1362 A
- 1656(=)S
- 1740(0;)S
- 4140 V
- (35351)210 648 A
- (for)126 1362 A
- ((nents)252 1530 A
- 1824(=)S
- ((hd.a_syms)420 1908 A
- 2370(&)S
- (0xFFFF))294 2454 A
- 2790(/)S
- (sizeof(struct)546 2874 A
- (nlist);)294 3462 A
- 4230 V
- (35352)210 648 A
- (nents)210 1572 A
- 1824(>)S
- 1908(0;)S
- (nents--))336 2034 A
- 2412({)S
- 4320 V
- (35353)210 648 A
- 1698(if)S
- ((nsrch)252 1824 A
- 2118(==)S
- (nfound))294 2244 A
- 4410 V
- (35354)210 648 A
- (break;)252 2034 A
- 3042(/*)S
- 3168(no)S
- (need)168 3294 A
- 3504(to)S
- (look)168 3630 A
- (further)294 3840 A
- 4176(*/)S
- 4500 V
- (35355)210 648 A
- 1698(if)S
- ((fread((char)504 1824 A
- 2370(*))S
- (&nlent,)294 2496 A
- (sizeof(struct)546 2832 A
- (nlist),)294 3420 A
- 3756(1,)S
- (fp))126 3882 A
- 4050(!=)S
- 4176(1))S
- 4590 V
- (35356)210 648 A
- (return)252 2034 A
- (fail(fp);)378 2328 A
- 4680 V
- (35357)210 648 A
- (for)126 1698 A
- 1866((i)S
- 1992(=)S
- 2076(0;)S
- 2202(i)S
- 2286(<)S
- (nsrch;)252 2370 A
- (i++))168 2664 A
- 4770 V
- (35358)210 648 A
- 2034(if)S
- ((nl[i].n_sclass)630 2160 A
- 2832(==)S
- 2958(0)S
- 3042(&&)S
- 4860 V
- (35359)210 648 A
- (strncmp(nl[i].n_name,)882 2202 A
- (nlent.n_name,)546 3126 A
- 4950 V
- (35360)210 648 A
- (sizeof(nlent.n_name)))882 2538 A
- 3462(==)S
- 3588(0))S
- 3714({)S
- 5040 V
- (35361)210 648 A
- (nl[i])210 2370 A
- 2622(=)S
- (nlent;)252 2706 A
- 5130 V
- (35362)210 648 A
- (nfound++;)378 2370 A
- 5220 V
- (35363)210 648 A
- (break;)252 2370 A
- 5310 V
- (35364)210 648 A
- 2034(})S
- 5400 V
- (35365)210 648 A
- 1362(})S
- 5490 V
- (35366)210 648 A
- 5580 V
- (35367)210 648 A
- ((void))252 1362 A
- (fclose(fp);)462 1656 A
- 5670 V
- (35368)210 648 A
- 5760 V
- (35369)210 648 A
- (return)252 1362 A
- (nsrch)210 1656 A
- 1908(-)S
- (nfound;)294 1992 A
- 5850 V
- (35370)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 344 344
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (344)180 648 A
- 11 R
- 1886(File:)S
- (src/lib/other/peekpoke.c)1071 2119 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/other/peekpoke.c)1008 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (35400)210 648 A
- 1026(/*)S
- (Peek)168 1152 A
- (and)126 1362 A
- (poke)168 1530 A
- (using)210 1740 A
- (/dev/mem.)378 1992 A
- 1440 V
- (35401)210 648 A
- 1068(*)S
- 1530 V
- (35402)210 648 A
- 1068(*)S
- (Callers)294 1152 A
- (now)126 1488 A
- (ought)210 1656 A
- 1908(to)S
- (check)210 2034 A
- (the)126 2286 A
- (return)252 2454 A
- (values.)294 2748 A
- 1620 V
- (35403)210 648 A
- 1068(*)S
- 1710 V
- (35404)210 648 A
- 1068(*)S
- (Calling)294 1152 A
- (peek())252 1488 A
- (requires)336 1782 A
- (read)168 2160 A
- (permission)420 2370 A
- 2832(on)S
- (/dev/mem,)378 2958 A
- (and)126 3378 A
- (consumes)336 3546 A
- 1800 V
- (35405)210 648 A
- 1068(*)S
- 1152(a)S
- (file)168 1236 A
- (descriptor.)462 1446 A
- (Calling)294 1992 A
- (poke())252 2328 A
- (requires)336 2622 A
- (write)210 3000 A
- (permission,)462 3252 A
- (and)126 3756 A
- 1890 V
- (35406)210 648 A
- 1068(*)S
- (consumes)336 1152 A
- (another)294 1530 A
- (file)168 1866 A
- (descriptor.)462 2076 A
- 1980 V
- (35407)210 648 A
- 1068(*/)S
- 2070 V
- (35408)210 648 A
- 2160 V
- (35409)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 2250 V
- (35410)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 2340 V
- (35411)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 2430 V
- (35412)210 648 A
- 2520 V
- (35413)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (peek,)210 1698 A
- ((unsigned)378 1950 A
- (segment,)336 2370 A
- (unsigned)336 2748 A
- (offset));)378 3126 A
- 2610 V
- (35414)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (poke,)210 1698 A
- ((unsigned)378 1950 A
- (segment,)336 2370 A
- (unsigned)336 2748 A
- (offset,)294 3126 A
- (unsigned)336 3462 A
- (value));)336 3840 A
- 2700 V
- (35415)210 648 A
- 2790 V
- (35416)210 648 A
- (#define)294 1026 A
- (SEGSIZE)294 1362 A
- (0x10)168 1698 A
- 2880 V
- (35417)210 648 A
- 2970 V
- (35418)210 648 A
- (int)126 1026 A
- (peek(segment,)546 1194 A
- (offset))294 1782 A
- 3060 V
- (35419)210 648 A
- (unsigned)336 1026 A
- (segment;)336 1404 A
- 3150 V
- (35420)210 648 A
- (unsigned)336 1026 A
- (offset;)294 1404 A
- 3240 V
- (35421)210 648 A
- 1026({)S
- 3330 V
- (35422)210 648 A
- (unsigned)336 1110 A
- (char)168 1488 A
- (chvalue;)336 1698 A
- 3420 V
- (35423)210 648 A
- (static)252 1110 A
- (int)126 1404 A
- (infd)168 1572 A
- 1782(=)S
- (-1;)126 1866 A
- 3510 V
- (35424)210 648 A
- 3600 V
- (35425)210 648 A
- 1110(if)S
- ((infd)210 1236 A
- 1488(<)S
- 1572(0))S
- (infd)168 1698 A
- 1908(=)S
- (open("/dev/mem",)672 1992 A
- (O_RDONLY);)420 2706 A
- 3690 V
- (35426)210 648 A
- 1110(if)S
- ((infd)210 1236 A
- 1488(<)S
- 1572(0)S
- 1656(||)S
- 3780 V
- (35427)210 648 A
- (lseek(infd,)462 1278 A
- ((unsigned)378 1782 A
- (long))210 2202 A
- (segment)294 2454 A
- 2790(*)S
- (SEGSIZE)294 2874 A
- 3210(+)S
- (offset,)294 3294 A
- (SEEK_SET))378 3630 A
- 4050(<)S
- 4134(0)S
- 4218(||)S
- 3870 V
- (35428)210 648 A
- (read(infd,)420 1278 A
- ((char)210 1740 A
- 1992(*))S
- (&chvalue,)378 2118 A
- ((unsigned))420 2538 A
- 3000(1))S
- 3126(!=)S
- 3252(1))S
- 3960 V
- (35429)210 648 A
- (return(-1);)462 1362 A
- 4050 V
- (35430)210 648 A
- (return(chvalue);)672 1110 A
- 4140 V
- (35431)210 648 A
- 1026(})S
- 4320 V
- (35433)210 648 A
- (int)126 1026 A
- (poke(segment,)546 1194 A
- (offset,)294 1782 A
- (value))252 2118 A
- 4410 V
- (35434)210 648 A
- (unsigned)336 1026 A
- (segment;)336 1404 A
- 4500 V
- (35435)210 648 A
- (unsigned)336 1026 A
- (offset;)294 1404 A
- 4590 V
- (35436)210 648 A
- (unsigned)336 1026 A
- (value;)252 1404 A
- 4680 V
- (35437)210 648 A
- 1026({)S
- 4770 V
- (35438)210 648 A
- (unsigned)336 1110 A
- (char)168 1488 A
- (chvalue;)336 1698 A
- 4860 V
- (35439)210 648 A
- (static)252 1110 A
- (int)126 1404 A
- (outfd)210 1572 A
- 1824(=)S
- (-1;)126 1908 A
- 4950 V
- (35440)210 648 A
- 5040 V
- (35441)210 648 A
- (chvalue)294 1110 A
- 1446(=)S
- (value;)252 1530 A
- 5130 V
- (35442)210 648 A
- 1110(if)S
- ((outfd)252 1236 A
- 1530(<)S
- 1614(0))S
- (outfd)210 1740 A
- 1992(=)S
- (open("/dev/mem",)672 2076 A
- (O_WRONLY);)420 2790 A
- 5220 V
- (35443)210 648 A
- 1110(if)S
- ((outfd)252 1236 A
- 1530(<)S
- 1614(0)S
- 1698(||)S
- 5310 V
- (35444)210 648 A
- (lseek(outfd,)504 1278 A
- ((unsigned)378 1824 A
- (long))210 2244 A
- (segment)294 2496 A
- 2832(*)S
- (SEGSIZE)294 2916 A
- 3252(+)S
- (offset,)294 3336 A
- (SEEK_SET))378 3672 A
- 4092(<)S
- 4176(0)S
- 4260(||)S
- 5400 V
- (35445)210 648 A
- (write(outfd,)504 1278 A
- ((char)210 1824 A
- 2076(*))S
- (&chvalue,)378 2202 A
- ((unsigned))420 2622 A
- 3084(1))S
- 3210(!=)S
- 3336(1))S
- 5490 V
- (35446)210 648 A
- (return(-1);)462 1362 A
- 5580 V
- (35447)210 648 A
- (return(chvalue);)672 1110 A
- 5670 V
- (35448)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 345 345
- 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/other/popen.c)916 2196 A
- 12 B
- (345)180 4248 A
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/lib/other/popen.c)882 1698 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (35500)210 648 A
- 1026(/*)S
- 1440 V
- (35501)210 648 A
- 1068(*)S
- (popen)210 1152 A
- 1404(-)S
- (open)168 1488 A
- 1698(a)S
- (pipe)168 1782 A
- 1530 V
- (35502)210 648 A
- 1068(*/)S
- 1620 V
- (35503)210 648 A
- 1026(/*)S
- ($Header:)336 1152 A
- (popen.c,v)378 1530 A
- (1.3)126 1950 A
- (90/08/28)336 2118 A
- (14:53:34)336 2496 A
- (eck)126 2874 A
- (Exp)126 3042 A
- 3210($)S
- 3294(*/)S
- 1710 V
- (35504)210 648 A
- 1800 V
- (35505)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1698 A
- 1890 V
- (35506)210 648 A
- (#include)336 1026 A
- (<limits.h>)420 1698 A
- 1980 V
- (35507)210 648 A
- (#include)336 1026 A
- (<errno.h>)378 1698 A
- 2070 V
- (35508)210 648 A
- (#include)336 1026 A
- (<signal.h>)420 1698 A
- 2160 V
- (35509)210 648 A
- (#include)336 1026 A
- (<stdio.h>)378 1698 A
- 2250 V
- (35510)210 648 A
- 2340 V
- (35511)210 648 A
- (#if)126 1026 A
- (defined(__BSD4_2))714 1362 A
- 2430 V
- (35512)210 648 A
- (union)210 1026 A
- (wait)168 1278 A
- 1488({)S
- 2520 V
- (35513)210 648 A
- (int)126 1362 A
- (w_status;)378 1698 A
- 2610 V
- (35514)210 648 A
- 1026(};)S
- 2700 V
- (35515)210 648 A
- (typedef)294 1026 A
- (union)210 1362 A
- (wait)168 1614 A
- (wait_arg;)378 1824 A
- 2790 V
- (35516)210 648 A
- (#else)210 1026 A
- 2880 V
- (35517)210 648 A
- (typedef)294 1026 A
- (int)126 1362 A
- (wait_arg;)378 1530 A
- 2970 V
- (35518)210 648 A
- (#endif)252 1026 A
- 1362(/*)S
- (__BSD4_2)336 1488 A
- 1866(*/)S
- 3060 V
- (35519)210 648 A
- 3150 V
- (35520)210 648 A
- (#include)336 1026 A
- ("../stdio/loc_incl.h")882 1698 A
- 3240 V
- (35521)210 648 A
- 3330 V
- (35522)210 648 A
- (#ifdef)252 1026 A
- (_ANSI)210 1320 A
- 3420 V
- (35523)210 648 A
- (int)126 1026 A
- (_close(int)420 1194 A
- (d);)126 1656 A
- 3510 V
- (35524)210 648 A
- (int)126 1026 A
- (_dup2(int)378 1194 A
- (oldd,)210 1614 A
- (int)126 1866 A
- (newd);)252 2034 A
- 2706(/*)S
- (not)126 2832 A
- (present)294 3000 A
- 3336(in)S
- (System)252 3462 A
- 3756(5)S
- 3840(*/)S
- 3600 V
- (35525)210 648 A
- (int)126 1026 A
- (_execl(const)504 1194 A
- (char)168 1740 A
- (*name,)252 1950 A
- (const)210 2244 A
- (char)168 2496 A
- (*_arg,)252 2706 A
- (...)126 3000 A
- 3168();)S
- 3690 V
- (35526)210 648 A
- (pid_t)210 1026 A
- (_fork(void);)504 1278 A
- 3780 V
- (35527)210 648 A
- (int)126 1026 A
- (_pipe(int)378 1194 A
- (fildes[2]);)462 1614 A
- 3870 V
- (35528)210 648 A
- (pid_t)210 1026 A
- (_wait(wait_arg)588 1278 A
- (*status);)378 1908 A
- 3960 V
- (35529)210 648 A
- (void)168 1026 A
- (_exit(int)378 1236 A
- (status);)336 1656 A
- 4050 V
- (35530)210 648 A
- (#endif)252 1026 A
- 4140 V
- (35531)210 648 A
- 4230 V
- (35532)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- (pids[OPEN_MAX];)630 1488 A
- 4320 V
- (35533)210 648 A
- 4410 V
- (35534)210 648 A
- (FILE)168 1026 A
- 1236(*)S
- 4500 V
- (35535)210 648 A
- (popen(command,)588 1026 A
- (type))210 1656 A
- 4590 V
- (35536)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*command;)378 1530 A
- 4680 V
- (35537)210 648 A
- (_CONST)252 1026 A
- (char)168 1320 A
- (*type;)252 1530 A
- 4770 V
- (35538)210 648 A
- 1026({)S
- 4860 V
- (35539)210 648 A
- (int)126 1362 A
- (piped[2];)378 1530 A
- 4950 V
- (35540)210 648 A
- (int)126 1362 A
- (Xtype)210 1530 A
- 1782(=)S
- (*type)210 1866 A
- 2118(==)S
- ('r')126 2244 A
- 2412(?)S
- 2496(0)S
- 2580(:)S
- (*type)210 2664 A
- 2916(==)S
- ('w')126 3042 A
- 3210(?)S
- 3294(1)S
- 3378(:)S
- 3462(2;)S
- 5040 V
- (35541)210 648 A
- (int)126 1362 A
- (pid;)168 1530 A
- 5130 V
- (35542)210 648 A
- 5220 V
- (35543)210 648 A
- 1362(if)S
- ((Xtype)252 1488 A
- 1782(==)S
- 1908(2)S
- 1992(||)S
- 5310 V
- (35544)210 648 A
- (_pipe(piped))504 1530 A
- 2076(<)S
- 2160(0)S
- 2244(||)S
- 5400 V
- (35545)210 648 A
- ((pid)168 1530 A
- 1740(=)S
- (_fork()))336 1824 A
- 2202(<)S
- 2286(0))S
- (return)252 2412 A
- 2706(0;)S
- 5490 V
- (35546)210 648 A
- 5580 V
- (35547)210 648 A
- 1362(if)S
- ((pid)168 1488 A
- 1698(==)S
- 1824(0))S
- 1950({)S
- 5670 V
- (35548)210 648 A
- 1698(/*)S
- (child)210 1824 A
- 2076(*/)S
- 5760 V
- (35549)210 648 A
- (register)336 1698 A
- (int)126 2076 A
- (*p;)126 2244 A
- 5850 V
- (35550)210 648 A
- 5940 V
- (35551)210 648 A
- (for)126 1698 A
- 1866((p)S
- 1992(=)S
- (pids;)210 2076 A
- 2328(p)S
- 2412(<)S
- (&pids[OPEN_MAX];)672 2496 A
- (p++))168 3210 A
- 3420({)S
- 6030 V
- (35552)210 648 A
- 2034(if)S
- ((*p))168 2160 A
- (_close((int)(p)588 2370 A
- 3000(-)S
- (pids));)294 3084 A
- 6120 V
- (35553)210 648 A
- 1698(})S
- 6210 V
- (35554)210 648 A
- (_close(piped[Xtype]);)882 1698 A
- 8418 V
- EP
- %%Page: 346 346
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (346)180 648 A
- 11 R
- 1963(File:)S
- (src/lib/other/popen.c)916 2196 A
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (35555)210 648 A
- (_dup2(piped[!Xtype],)840 1698 A
- (!Xtype);)336 2580 A
- 990 V
- (35556)210 648 A
- (_close(piped[!Xtype]);)924 1698 A
- 1080 V
- (35557)210 648 A
- (_execl("/bin/sh",)714 1698 A
- ("sh",)210 2454 A
- ("-c",)210 2706 A
- (command,)336 2958 A
- ((char)210 3336 A
- 3588(*))S
- (0);)126 3714 A
- 1170 V
- (35558)210 648 A
- (_exit(127);)462 1698 A
- 2370(/*)S
- (like)168 2496 A
- (system())336 2706 A
- (???)126 3084 A
- 3252(*/)S
- 1260 V
- (35559)210 648 A
- 1362(})S
- 1350 V
- (35560)210 648 A
- 1440 V
- (35561)210 648 A
- (pids[piped[Xtype]])756 1362 A
- 2160(=)S
- (pid;)168 2244 A
- 1530 V
- (35562)210 648 A
- (_close(piped[!Xtype]);)924 1362 A
- 1620 V
- (35563)210 648 A
- (return)252 1362 A
- (fdopen(piped[Xtype],)840 1656 A
- (type);)252 2538 A
- 1710 V
- (35564)210 648 A
- 1026(})S
- 1890 V
- (35566)210 648 A
- (#if)126 1026 A
- (defined(__BSD4_2))714 1362 A
- 1980 V
- (35567)210 648 A
- (#define)294 1026 A
- (ret_val)294 1362 A
- (status.w_status)630 1698 A
- 2070 V
- (35568)210 648 A
- (#else)210 1026 A
- 2160 V
- (35569)210 648 A
- (#define)294 1026 A
- (ret_val)294 1362 A
- (status)252 1698 A
- 2250 V
- (35570)210 648 A
- (#endif)252 1026 A
- 2340 V
- (35571)210 648 A
- 2430 V
- (35572)210 648 A
- (int)126 1026 A
- 2520 V
- (35573)210 648 A
- (pclose(stream))588 1026 A
- 2610 V
- (35574)210 648 A
- (FILE)168 1026 A
- (*stream;)336 1236 A
- 2700 V
- (35575)210 648 A
- 1026({)S
- 2790 V
- (35576)210 648 A
- (int)126 1362 A
- 1530(fd)S
- 1656(=)S
- (fileno(stream);)630 1740 A
- 2880 V
- (35577)210 648 A
- (wait_arg)336 1362 A
- (status;)294 1740 A
- 2970 V
- (35578)210 648 A
- (int)126 1362 A
- (wret;)210 1530 A
- 3060 V
- (35579)210 648 A
- 3150 V
- (35580)210 648 A
- (#ifdef)252 1026 A
- (_ANSI)210 1320 A
- 3240 V
- (35581)210 648 A
- (void)168 1362 A
- ((*intsave)(int))630 1572 A
- 2244(=)S
- (signal(SIGINT,)588 2328 A
- (SIG_IGN);)378 2958 A
- 3330 V
- (35582)210 648 A
- (void)168 1362 A
- ((*quitsave)(int))672 1572 A
- 2286(=)S
- (signal(SIGQUIT,)630 2370 A
- (SIG_IGN);)378 3042 A
- 3420 V
- (35583)210 648 A
- (#else)210 1026 A
- 3510 V
- (35584)210 648 A
- (void)168 1362 A
- ((*intsave)())504 1572 A
- 2118(=)S
- (signal(SIGINT,)588 2202 A
- (SIG_IGN);)378 2832 A
- 3600 V
- (35585)210 648 A
- (void)168 1362 A
- ((*quitsave)())546 1572 A
- 2160(=)S
- (signal(SIGQUIT,)630 2244 A
- (SIG_IGN);)378 2916 A
- 3690 V
- (35586)210 648 A
- (#endif)252 1026 A
- 3780 V
- (35587)210 648 A
- (fclose(stream);)630 1362 A
- 3870 V
- (35588)210 648 A
- (while)210 1362 A
- (((wret)252 1614 A
- 1908(=)S
- (_wait(&status)))630 1992 A
- 2664(!=)S
- (-1))126 2790 A
- 2958({)S
- 3960 V
- (35589)210 648 A
- 1698(if)S
- ((wret)210 1824 A
- 2076(==)S
- (pids[fd]))378 2202 A
- (break;)252 2622 A
- 4050 V
- (35590)210 648 A
- 1362(})S
- 4140 V
- (35591)210 648 A
- 1362(if)S
- ((wret)210 1488 A
- 1740(==)S
- (-1))126 1866 A
- (ret_val)294 2034 A
- 2370(=)S
- (-1;)126 2454 A
- 4230 V
- (35592)210 648 A
- (signal(SIGINT,)588 1362 A
- (intsave);)378 1992 A
- 4320 V
- (35593)210 648 A
- (signal(SIGQUIT,)630 1362 A
- (quitsave);)420 2034 A
- 4410 V
- (35594)210 648 A
- (pids[fd])336 1362 A
- 1740(=)S
- 1824(0;)S
- 4500 V
- (35595)210 648 A
- (return)252 1362 A
- (ret_val;)336 1656 A
- 4590 V
- (35596)210 648 A
- 1026(})S
- 4770 V
- (35598)210 648 A
- (#if)126 1026 A
- (defined(__USG))588 1362 A
- 4860 V
- (35599)210 648 A
- (int)126 1026 A
- (_dup(int)336 1194 A
- (fildes);)336 1572 A
- 4950 V
- (35600)210 648 A
- 5040 V
- (35601)210 648 A
- (static)252 1026 A
- (int)126 1320 A
- 5130 V
- (35602)210 648 A
- (_dup2(oldd,)462 1026 A
- (newd))210 1530 A
- 5220 V
- (35603)210 648 A
- (int)126 1026 A
- (oldd,)210 1194 A
- (newd;)210 1446 A
- 5310 V
- (35604)210 648 A
- 1026({)S
- 5400 V
- (35605)210 648 A
- (int)126 1362 A
- 1530(i)S
- 1614(=)S
- 1698(0,)S
- (fd,)126 1824 A
- (tmp;)168 1992 A
- 5490 V
- (35606)210 648 A
- (int)126 1362 A
- (fdbuf[_NFILES];)630 1530 A
- 5580 V
- (35607)210 648 A
- 5670 V
- (35608)210 648 A
- 1362(/*)S
- (ignore)252 1488 A
- (the)126 1782 A
- (error)210 1950 A
- 2202(on)S
- (the)126 2328 A
- (close())294 2496 A
- 2832(*/)S
- 5760 V
- (35609)210 648 A
- (tmp)126 1362 A
- 1530(=)S
- (errno;)252 1614 A
- ((void))252 1908 A
- (_close(newd);)546 2202 A
- (errno)210 2790 A
- 3042(=)S
- (tmp;)168 3126 A
- 5850 V
- (35610)210 648 A
- (while)210 1362 A
- (((fd)168 1614 A
- 1824(=)S
- (_dup(oldd)))462 1908 A
- 2412(!=)S
- (newd))210 2538 A
- 2790({)S
- 5940 V
- (35611)210 648 A
- 1698(if)S
- ((fd)126 1824 A
- 1992(==)S
- (-1))126 2118 A
- (break;)252 2286 A
- 6030 V
- (35612)210 648 A
- (fdbuf[i++])420 1698 A
- 2160(=)S
- (fd;)126 2244 A
- 6120 V
- (35613)210 648 A
- 1362(})S
- 6210 V
- (35614)210 648 A
- (tmp)126 1362 A
- 1530(=)S
- (errno;)252 1614 A
- 8418 V
- EP
- %%Page: 347 347
- 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/other/popen.c)916 2196 A
- 12 B
- (347)180 4248 A
- 900 V
- 7 LST
- (35615)210 648 A
- (while)210 1362 A
- ((--i)168 1614 A
- 1824(>=)S
- 1950(0))S
- 2076({)S
- 990 V
- (35616)210 648 A
- (_close(fdbuf[i]);)714 1698 A
- 1080 V
- (35617)210 648 A
- 1362(})S
- 1170 V
- (35618)210 648 A
- (errno)210 1362 A
- 1614(=)S
- (tmp;)168 1698 A
- 1260 V
- (35619)210 648 A
- (return)252 1362 A
- (-(fd)168 1656 A
- 1866(==)S
- (-1);)168 1992 A
- 1350 V
- (35620)210 648 A
- 1026(})S
- 1440 V
- (35621)210 648 A
- (#endif)252 1026 A
- 1362(/*)S
- (__USG)210 1488 A
- 1740(*/)S
- 1890 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1980 V
- (src/lib/other/printk.c)924 1698 A
- 2070 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2250 V
- (35700)210 648 A
- 1026(/*)S
- (printk())336 1362 A
- 1740(-)S
- (kernel)252 1824 A
- (printf())336 2118 A
- (Author:)294 3378 A
- (Kees)168 3714 A
- 3924(J.)S
- (Bot)126 4050 A
- 2340 V
- (35701)210 648 A
- 1068(*)S
- 3714(15)S
- (Jan)126 3840 A
- (1994)168 4008 A
- 2430 V
- (35702)210 648 A
- 1068(*/)S
- 2520 V
- (35703)210 648 A
- (#define)294 1026 A
- (nil)126 1362 A
- 1530(0)S
- 2610 V
- (35704)210 648 A
- (#include)336 1026 A
- (<stdarg.h>)420 1404 A
- 2700 V
- (35705)210 648 A
- (#include)336 1026 A
- (<limits.h>)420 1404 A
- 2790 V
- (35706)210 648 A
- 2880 V
- (35707)210 648 A
- (#define)294 1026 A
- (isdigit(c))420 1362 A
- (((unsigned))462 2034 A
- (((c))168 2538 A
- 2748(-)S
- ('0'))168 2832 A
- 3042(<)S
- ((unsigned))420 3168 A
- (10))126 3630 A
- 2970 V
- (35708)210 648 A
- 3060 V
- (35709)210 648 A
- (#if)126 1026 A
- (!__STDC__)378 1194 A
- 3150 V
- (35710)210 648 A
- 1026(/*)S
- (Classic)294 1152 A
- 1488(C)S
- (stuff,)252 1572 A
- (ignore.)294 1866 A
- 2202(*/)S
- 3240 V
- (35711)210 648 A
- (void)168 1026 A
- (putk();)294 1236 A
- 3330 V
- (35712)210 648 A
- (void)168 1026 A
- (printk(fmt))462 1236 A
- (char)168 1740 A
- (*fmt;)210 1950 A
- 3420 V
- (35713)210 648 A