"fgets" function fails
Posted on 1997-11-25
I open an ASCII file with some control charactes in it (it is a printer output) with the function "fopen" for reading. Then, I read the lines of the file with the function "fgets". My problem is: As soon as a line contains the character 0x1A, the following call of "fgets" returns NULL, even if there are more lines to read.