Lines Matching defs:cnts
973 FILE *cnts;
984 cnts = fopen(TCONTENTS, "w");
986 if (cnts == NULL)
990 if (fprintf(cnts, "%s\n", p->line) < 0)
995 (void) fprintf(cnts, "%s\n", ccmnt[0]);
997 (void) fprintf(cnts, "%s\n", ccmnt[1]);
999 if (err != 0 || fflush(cnts) == EOF || fsync(fileno(cnts)) != 0 ||
1000 fclose(cnts) == EOF || rename(TCONTENTS, CONTENTS) != 0) {
1175 FILE *cnts;
1177 cnts = fdopen(pf->cmd, "w");
1178 if (cnts == NULL)
1213 if (fwrite(nums, sizeof (int), 2, cnts) != 2)
1215 if (fwrite(p->line, 1, p->len, cnts) != p->len)
1224 (void) fclose(cnts);