wprintf()

Write formatted output to stdout

Synopsis:

#include <wchar.h>

int wprintf( const wchar_t* format, 
             ... );

Since:

BlackBerry 10.0.0

Arguments:

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().

Library:

libc

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

Description:

The wprintf() function writes output to the stdout stream, under control of the argument format. It's the wide-character version of printf().

Returns:

The number of characters written, or a negative value if an output error occurred ( errno is set).

Classification:

ANSI, POSIX 1003.1

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

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus