[Previous] [Contents] [Index] [Next]

vwprintf()

Write formatted output to a file

Synopsis:

#include <wchar.h>
#include <stdarg.h>

int vwprintf( const wchar_t * format, 
              va_list arg );

Library:

libc

Description:

The vwprintf() function writes output to the file stdout, under control of the argument format.

The vwprintf() function is equivalent to the wprintf() function, with the variable argument list replaced with arg, which has been initialized by the va_start() macro.

The format string is the same as the one used by printf(). The vwprint() function is the wide-character version of vprintf().

Returns:

<0
Failure; an error occurred and errno is set.
x
Success; the number of characters written, excluding the terminating NUL.

Classification:

ANSI

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

See also:

errno, fwprintf(), printf(), swprintf(), va_arg(), va_end(), va_start(), vfwprintf(), vswprintf(), wprintf()


[Previous] [Contents] [Index] [Next]