Searched refs:pwf (Results 1 - 8 of 8) sorted by relevance
/opensolaris-onvv-gate/usr/src/tools/cscope-fast/ |
H A D | logdir.c | 66 int pwf; local 69 if ((pwf = open("/etc/passwd", O_RDONLY)) == -1) 75 i = read(pwf, line, BUFSIZ); 84 (void) lseek(pwf, (long)(j - i), 1); 88 (void) close(pwf);
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/ |
H A D | getpw.c | 43 static FILE *pwf; variable 55 if (pwf == NULL) { 58 if (pwf == NULL) { 59 if ((pwf = fp) == NULL) { 70 FLOCKFILE(lk, pwf); 71 _rewind_unlocked(pwf); 75 while ((c = GETC(pwf)) != '\n') {
|
/opensolaris-onvv-gate/usr/src/cmd/acct/ |
H A D | diskusg.c | 334 static FILE *pwf = NULL; variable 356 while ( (pw=getpw(pwf)) != NULL ) 404 if(pwf == NULL) 405 pwf = fopen(pfile, "r"); 407 rewind(pwf); 408 return(pwf != NULL); 414 if(pwf != NULL) { 415 (void) fclose(pwf); 416 pwf = NULL;
|
H A D | acctdusg.c | 79 FILE *pwf; local 100 if ((pwf = fopen(pfile, "r")) == NULL) { 104 while ((pw = fgetpwent(pwf)) != NULL) { 109 (void) fclose(pwf);
|
/opensolaris-onvv-gate/usr/src/cmd/oamuser/user/ |
H A D | userdel.c | 74 FILE *pwf; /* fille ptr for opened passwd file */ local 120 if ((pwf = fopen("/etc/passwd", "r")) == NULL) { 124 while ((pstruct = fgetpwent(pwf)) != NULL) 128 fclose(pwf);
|
H A D | usermod.c | 153 FILE *pwf; /* fille ptr for opened passwd file */ local 312 if ((pwf = fopen("/etc/passwd", "r")) == NULL) { 316 while ((pw = fgetpwent(pwf)) != NULL) 320 fclose(pwf);
|
/opensolaris-onvv-gate/usr/src/cmd/pwconv/ |
H A D | pwconv.c | 110 FILE *pwf; local 225 if ((pwf = fopen("/etc/passwd", "r")) == NULL) { 233 if ((pwdp = fgetpwent(pwf)) != NULL) { 378 if (feof(pwf)) { 391 (void) fclose(pwf);
|
/opensolaris-onvv-gate/usr/src/cmd/passmgmt/ |
H A D | passmgmt.c | 294 FILE *pwf, *spf, *uaf; local 810 if ((pwf = fopen("/etc/passwd", "r")) == NULL) { 824 pw_ptr1p = fgetpwent(pwf); 826 if (!feof(pwf)) { 946 cur_pos = ftell(pwf); 997 if (fseek(pwf, NIS_pos, SEEK_SET) < 0) { 1001 while ((n = fread(buf, sizeof (char), 1024, pwf)) > 0) { 1011 (void) fclose(pwf);
|
Completed in 112 milliseconds