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.c113 FILE *exfp, *newfp; in update_password() local
121 exfp = fopen(filename, "r+"); in update_password()
122 if (!exfp) { in update_password()
138 ret = fcntl(fileno(exfp), F_SETLK, &lock); in update_password()
147 fclose(exfp); in update_password()
153 while ((line = get_line(fileno(exfp))) != NULL) in update_password()
183 fcntl(fileno(exfp), F_SETLK, &lock); in update_password()
184 fclose(exfp); in update_password()