Home
last modified time | relevance | path

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

/bionic/libc/upstream-netbsd/lib/libc/gen/
Dutmp.c47 static FILE *ut; variable
53 if (ut == NULL) in setutent()
55 (void)fseeko(ut, (off_t)0, SEEK_SET); in setutent()
61 if (ut == NULL) { in getutent()
64 if ((ut = fopen(utfile, "re")) == NULL) in getutent()
66 if (fstat(fileno(ut), &st) == -1) in getutent()
75 if (fread(&utmp, sizeof(utmp), 1, ut) == 1) in getutent()
78 (void)fclose(ut); in getutent()
85 if (ut != NULL) { in endutent()
86 (void)fclose(ut); in endutent()
[all …]