Home
last modified time | relevance | path

Searched refs:exfp (Results 1 – 2 of 2) sorted by relevance

/external/toybox/toys/pending/
Duserdel.c28 FILE *exfp, *newfp; in update_groupfiles() local
34 exfp = xfopen(filename, "r+"); in update_groupfiles()
45 if (fcntl(fileno(exfp), F_SETLK, &lock) < 0) in update_groupfiles()
52 while ((line = get_line(fileno(exfp))) != NULL){ in update_groupfiles()
78 fcntl(fileno(exfp), F_SETLK, &lock); in update_groupfiles()
79 fclose(exfp); in update_groupfiles()
/external/toybox/lib/
Dpassword.c111 FILE *exfp, *newfp; in update_password() local
119 exfp = fopen(filename, "r+"); in update_password()
120 if (!exfp) { in update_password()
136 ret = fcntl(fileno(exfp), F_SETLK, &lock); in update_password()
145 fclose(exfp); in update_password()
151 while ((line = get_line(fileno(exfp))) != NULL) in update_password()
181 fcntl(fileno(exfp), F_SETLK, &lock); in update_password()
182 fclose(exfp); in update_password()