Home
last modified time | relevance | path

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

/coreutils/src/
Dfold.c120 FILE *istream; in fold_file() local
130 istream = stdin; in fold_file()
134 istream = fopen (filename, "r"); in fold_file()
136 if (istream == nullptr) in fold_file()
142 fadvise (istream, FADVISE_SEQUENTIAL); in fold_file()
144 while ((c = getc (istream)) != EOF) in fold_file()
217 if (!ferror (istream)) in fold_file()
224 clearerr (istream); in fold_file()
225 else if (fclose (istream) != 0 && !saved_errno) in fold_file()