QNX Developer Support
|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Write formatted output to stdout
#include <wchar.h> int wprintf( const char* format, ... );
- A wide-character string that specifies the format of the output. The formatting string determines what additional arguments you need to provide. For more information, see printf().
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).