Write formatted output to stdout
#include <wchar.h> int wprintf( const char* format, ... );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The wprintf() function writes output to the stdout stream, under control of the argument format. It's the wide-character version of printf().
The number of characters written, or a negative value if an output error occurred (errno is set).
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
errno, fprintf(), fwprintf(), printf(), snprintf(), sprintf(), swprintf(), vfprintf(), vfwprintf(), vprintf(), vsnprintf(), vsprintf(), vswprintf(), vwprintf()