Lines Matching refs:tsfp
1185 FILE *tsfp = NULL;
1202 if (meta_systemfile_copy(sname, 0, 1, 1, 0, &tsname, &tsfp, ep) != 0) {
1215 if (meta_systemfile_append_mddb(cname, sname, tsname, tsfp, 1, 0, 0,
1225 if ((fflush(tsfp) != 0) || (fsync(fileno(tsfp)) != 0) ||
1226 (fclose(tsfp) != 0)) {
1231 tsfp = NULL;
1243 if ((tsfp = fopen(tsname, "r")) == NULL)
1247 while (fgets(line, sizeof (line), tsfp) != NULL) {
1251 (void) fclose(tsfp);
1252 tsfp = NULL;
1269 if (tsfp != NULL)
1270 (void) fclose(tsfp);