Updated: October 28, 2024 |
Write formatted output to stdout
#include <wchar.h> int wprintf( const wchar_t* 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).
Refer to the Errors section of the printf() function for a list of possible errors.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |