QNX Developer Support
|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
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).