Get the next character from a file
#include <stdio.h> int getc_unlocked( FILE *fp );
- The stream you want to get the character from.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The next character from the input stream pointed to by fp, or EOF if an end-of-file or error condition occurs (errno is set).