putc_unlocked, putchar_unlocked - put next character from
putc_unlocked(int c, FILE *stream);
The putc_unlocked() and putchar_unlocked() functions are
their locked counterparts, putc(3) and putchar(3). However,
putc_unlocked() and putchar_unlocked() assume that the relevant stream
has either been previous locked with flockfile(3), or that
it will not be
accessed by any other thread.
The return values are as described for putc(3) and
putc_unlocked() and putchar_unlocked() conform to ISO/IEC
(``POSIX'') Std 1003.1 Second Edition 1996-07-12.
OpenBSD 3.6 March 20, 1999
[ Back ]