Lines Matching refs:df
84 FILE *df; in inititimes() local
100 if ((df = fopen(increm, "r")) == NULL) { in inititimes()
120 (void) flock(fileno(df), LOCK_SH); in inititimes()
121 readitimes(df); in inititimes()
122 (void) fclose(df); in inititimes()
126 readitimes(FILE *df) in readitimes() argument
133 if (getrecord(df, idp) < 0) { in readitimes()
193 FILE *df; in putitime() local
201 if ((df = safe_fopen(increm, "r+", 0664)) == (FILE *)NULL) { in putitime()
207 fd = fileno(df); in putitime()
226 readitimes(df); in putitime()
227 if (fseek(df, 0L, 0) < 0) { /* rewind() was redefined in dumptape.c */ in putitime()
259 recout(df, itwalk); in putitime()
261 if (ftruncate64(fd, ftello64(df))) { in putitime()
268 (void) fclose(df); in putitime()
283 getrecord(FILE *df, struct idates *idatep) in getrecord() argument
287 if ((fgets(buf, BUFSIZ, df)) != buf) in getrecord()