Searched refs:e_fptr (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/oamuser/user/
H A Dgroups.c55 FILE *e_fptr, *t_fptr; local
65 if ((e_fptr = fopen(GROUP, "r")) == NULL)
68 if (fstat(fileno(e_fptr), &sbuf) != 0) {
69 (void) fclose(e_fptr);
74 (void) fclose(e_fptr);
81 (void) fclose(e_fptr);
92 (void) fclose(e_fptr);
97 g_curr = ftell(e_fptr);
104 (void) fclose(e_fptr);
117 while (!feof(e_fptr)
[all...]
H A Dproj.c45 FILE *e_fptr, *t_fptr; local
57 if ((e_fptr = fopen(PROJF_PATH, "r")) == NULL) {
61 if (fstat(fileno(e_fptr), &sbuf) != 0)
85 p_curr = ftell(e_fptr);
89 while (fgets(p_string, NSS_LINELEN_PROJECT - 1, e_fptr)) {
93 (void) fseek(e_fptr, p_curr, SEEK_SET);
94 p_ptr = fgetprojent(e_fptr, &p_work, &workbuf,
96 p_curr = ftell(e_fptr);
163 (void) fclose(e_fptr);
/illumos-gate/usr/src/cmd/oamuser/group/
H A Ddel_group.c53 FILE *e_fptr, *t_fptr; local
61 if ((e_fptr = fopen(GROUP, "r")) == NULL)
64 if (fstat(fileno(e_fptr), &sbuf) != 0)
90 while ((grpstruct = fgetgrent(e_fptr)) != NULL) {
100 haserr = !feof(e_fptr);
105 (void) fclose(e_fptr);
H A Dmod_group.c55 FILE *e_fptr, *t_fptr; local
61 if ((e_fptr = fopen(GROUP, "r")) == NULL)
64 if (fstat(fileno(e_fptr), &sbuf) != 0)
87 while ((g_ptr = fgetgrent(e_fptr)) != NULL) {
101 haserr = !feof(e_fptr);
105 (void) fclose(e_fptr);

Completed in 143 milliseconds