Searched refs:exfp (Results 1 – 2 of 2) sorted by relevance
/external/toybox/lib/ |
D | password.c | 112 FILE *exfp, *newfp; in update_password() local 120 exfp = fopen(filename, "r+"); in update_password() 121 if (!exfp) { in update_password() 137 ret = fcntl(fileno(exfp), F_SETLK, &lock); in update_password() 146 fclose(exfp); in update_password() 152 while ((line = get_line(fileno(exfp))) != NULL) in update_password() 182 fcntl(fileno(exfp), F_SETLK, &lock); in update_password() 183 fclose(exfp); in update_password()
|
/external/toybox/toys/pending/ |
D | userdel.c | 28 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()
|