2 Proprietary Rand Corporation
, 1981.
3 Further distribution of
this software
4 subject to the terms of the Rand
13 register char *bp
, *np
;
19 pich
= open("/etc/passwd",0);
20 if (pich
< 0) return(-1);
23 inptr
[1] = inptr
[2] = 0;
25 if (u_buf
[0] != 0) goto test
; /* first test what is presently in
31 while((c
=getc(inptr
)) != '\n') {
32 if (c
<= 0) return(-1);
39 while(*bp
++ == *np
++);
45 uid
= uid
* 10 + *bp
++ - '0';