Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/putchar_unlocked.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/putchar_unlocked.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/putchar_unlocked.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/putchar_unlocked.html on line 8

putchar_unlocked()

Write a character to stdout

Synopsis:

#include <stdio.h>

int putchar_unlocked( int c );

Arguments:

c
The character that you want to write.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The putchar_unlocked() function is a thread-unsafe version of putchar(). You can use it safely only when the invoking thread has locked stdout using flockfile() (or ftrylockfile()) and funlockfile().

Returns:

The character written, cast as (int)(unsigned char), or EOF if an error occurred (errno is set).

Classification:

POSIX 1003.1 TSF

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread No

See also:

getc(), getc_unlocked(), getchar(), getchar_unlocked(), putc(), putc_unlocked(), putchar()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/putchar_unlocked.html on line 119

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/putchar_unlocked.html on line 119