Home
last modified time | relevance | path

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

/glibc-2.36/login/
Dutmp_file.c37 static int file_fd = -1; variable
137 if (file_fd < 0) in __libc_setutent()
144 file_fd = __open_nocancel in __libc_setutent()
146 if (file_fd == -1) in __libc_setutent()
150 __lseek64 (file_fd, 0, SEEK_SET); in __libc_setutent()
160 return file_fd >= 0 || __libc_setutent (); in maybe_setutent()
171 ssize_t nbytes = __pread64_nocancel (file_fd, &buffer, sizeof (buffer), in read_last_entry()
198 if (try_file_lock (file_fd, F_RDLCK)) in __libc_getutent_r()
202 file_unlock (file_fd); in __libc_getutent_r()
253 if (try_file_lock (file_fd, F_RDLCK)) in internal_getut_r()
[all …]