Searched refs:e_fptr (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/cmd/oamuser/user/ |
H A D | groups.c | 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() [all …]
|
H A D | proj.c | 45 FILE *e_fptr, *t_fptr; in edit_project() local 57 if ((e_fptr = fopen(PROJF_PATH, "r")) == NULL) { in edit_project() 61 if (fstat(fileno(e_fptr), &sbuf) != 0) in edit_project() 85 p_curr = ftell(e_fptr); in edit_project() 89 while (fgets(p_string, NSS_LINELEN_PROJECT - 1, e_fptr)) { in edit_project() 93 (void) fseek(e_fptr, p_curr, SEEK_SET); in edit_project() 94 p_ptr = fgetprojent(e_fptr, &p_work, &workbuf, in edit_project() 96 p_curr = ftell(e_fptr); in edit_project() 163 (void) fclose(e_fptr); in edit_project()
|
/titanic_44/usr/src/cmd/oamuser/group/ |
H A D | del_group.c | 53 FILE *e_fptr, *t_fptr; in del_group() local 61 if ((e_fptr = fopen(GROUP, "r")) == NULL) in del_group() 64 if (fstat(fileno(e_fptr), &sbuf) != 0) in del_group() 90 while ((grpstruct = fgetgrent(e_fptr)) != NULL) { in del_group() 100 haserr = !feof(e_fptr); in del_group() 105 (void) fclose(e_fptr); in del_group()
|
H A D | mod_group.c | 55 FILE *e_fptr, *t_fptr; in mod_group() local 61 if ((e_fptr = fopen(GROUP, "r")) == NULL) in mod_group() 64 if (fstat(fileno(e_fptr), &sbuf) != 0) in mod_group() 87 while ((g_ptr = fgetgrent(e_fptr)) != NULL) { in mod_group() 101 haserr = !feof(e_fptr); in mod_group() 105 (void) fclose(e_fptr); in mod_group()
|