Dodatkowe przykłady dopasowywane są do haseł w zautomatyzowany sposób - nie gwarantujemy ich poprawności.
No End-of-file indicator is needed, unless the data is divided into records.
If fgetl encounters an end-of-file indicator, it returns -1.
By default, the driver converts a Control-D character at the start of a line into an end-of-file indicator.
If fgets encounters an end-of-file indicator, it returns -1. fgets is intended for use with text files only.
Resets the error and end-of-file indicators for a file (so that ferror and feof will not return a nonzero value).
A successful call to fseek clears the end-of-file indicator for the stream and reverses any effects of the ungetc function on the same stream.
Instead, programs recognize that the source is a terminal (or other "character device") and interpret a given reserved character or sequence as an end-of-file indicator; most commonly this is an ASCII Control-Z, code 26.