Home
last modified time | relevance | path

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

/busybox-1.35.0/libbb/
Dupdate_passwd.c96 FILE *old_fp; in update_passwd() local
126 old_fp = fopen(filename, "r+"); in update_passwd()
128 old_fp = fopen_or_warn(filename, "r+"); in update_passwd()
129 if (!old_fp) { in update_passwd()
134 old_fd = fileno(old_fp); in update_passwd()
182 line = xmalloc_fgetline(old_fp); in update_passwd()
318 if ((ferror(old_fp) | fflush(new_fp) | fsync(new_fd) | fclose(new_fp)) in update_passwd()
333 fclose(old_fp); in update_passwd()