QNX Developer Support
Write a character to an output stream
#include <stdio.h> int putc_unlocked( int c, FILE *stream );
- The character that you want to write.
- The stream you want to write the character on.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The character written, cast as (int)(unsigned char), or EOF if an error occurred (errno is set).