vwprintf
![]() |
![]() |
![]() |
![]() |
vwprintf()
Write formatted output to standard output (varargs)
Synopsis:
#include <wchar.h>
#include <stdarg.h>
int vwprintf( const wchar_t * format,
va_list arg );
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().
- arg
- A variable-argument list of the additional arguments, which you must have initialized with the va_start() macro.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The vwprintf() function writes output to the file stdout, under control of the argument format.
The vwprint() function is the wide-character version of vprintf(), and is a “varargs” version of wprintf().
Returns:
The number of characters written, or a negative value if an output error occurred (errno is set).
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
See also:
errno, fprintf(), fwprintf(), printf(), snprintf(), sprintf(), swprintf(), va_start(), vfprintf(), vfwprintf(), vprintf(), vsnprintf(), vsprintf(), vswprintf(), wprintf()
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
