On failure, errno is set to one of the following values:
Another process has the file locked.
stdin is not a valid stream opened for reading.
A signal interrupted the call.
An input error occurred.
The open object is a directory, rather than a file.
Memory could not be allocated for internal buffers.
A device error occurred.
The underlying file descriptor is a non-blocking socket and no data is ready to be read.
If the stream is from a file opened in text mode, the line-terminating character sequence carriage return plus linefeed is translated to linefeed. No such translation occurs for files opened in binary mode.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
feof(), ferror(), fgetc(), flockfile(), fopen(), ftrylockfile(), funlockfile(), getc(), getc_unlocked(), getchar()
PTC MKS Toolkit 10.3 Documentation Build 39.