Lines Matching full:uf
40 static _Thread_local FILE *uf = NULL; variable
66 if (uf != NULL) in setutxdb()
67 fclose(uf); in setutxdb()
68 uf = fopen(file, "re"); in setutxdb()
69 if (uf == NULL) in setutxdb()
74 if (_fstat(fileno(uf), &sb) != -1 && in setutxdb()
76 fclose(uf); in setutxdb()
77 uf = NULL; in setutxdb()
82 (void)setvbuf(uf, NULL, _IOFBF, in setutxdb()
101 if (uf != NULL) { in endutxent()
102 fclose(uf); in endutxent()
103 uf = NULL; in endutxent()
111 if (uf == NULL) in getfutxent()
113 if (uf == NULL) in getfutxent()
120 if (fread(&len, sizeof(len), 1, uf) != 1) in getfutxent()
130 ungetc('\0', uf); in getfutxent()
135 if (fread(fu, sizeof(*fu), 1, uf) != 1) in getfutxent()
137 fseek(uf, len - sizeof(*fu), SEEK_CUR); in getfutxent()
141 if (fread(fu, len, 1, uf) != 1) in getfutxent()
145 if (fread(fu, sizeof(*fu), 1, uf) != 1) in getfutxent()