Lines Matching refs:e_fptr
55 FILE *e_fptr, *t_fptr; in edit_group() local
65 if ((e_fptr = fopen(GROUP, "r")) == NULL) in edit_group()
68 if (fstat(fileno(e_fptr), &sbuf) != 0) { in edit_group()
69 (void) fclose(e_fptr); in edit_group()
74 (void) fclose(e_fptr); in edit_group()
81 (void) fclose(e_fptr); in edit_group()
92 (void) fclose(e_fptr); in edit_group()
97 g_curr = ftell(e_fptr); in edit_group()
104 (void) fclose(e_fptr); in edit_group()
117 while (!feof(e_fptr) && !ferror(e_fptr)) { in edit_group()
120 while (fgets(gstr_off, (bufsize - g_length), e_fptr) != NULL) { in edit_group()
122 if (g_string[g_length - 1] == '\n' || feof(e_fptr)) in edit_group()
128 (void) fclose(e_fptr); in edit_group()
142 (void) fseek(e_fptr, g_curr, SEEK_SET); in edit_group()
144 g_ptr = fgetgrent(e_fptr); in edit_group()
146 g_curr = ftell(e_fptr); in edit_group()
204 (void) fclose(e_fptr); in edit_group()