Write a character to an output stream
#include <stdio.h> int putc_unlocked( int c, FILE *stream );
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The putc_unlocked() function is a thread-unsafe version of putc(). You can use it safely only when the invoking thread has locked stream using flockfile() (or ftrylockfile()) and funlockfile().
The character written, cast as (int)(unsigned char), or EOF if an error occurred (errno is set).
POSIX 1003.1 TSF
getc(), getchar(), getchar_unlocked(), getc_unlocked(), putc(), putchar(), putchar_unlocked()