[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


vwprintf

Write a formatted text to a wide-character oriented stdout

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <wchar.h>
int vwprintf(const wchar_t * format, va_list arg);
Parameters:

Parameters for this function are:

format  
wchar_t*  
The format string  
....  
 
Variable arguments  

Remarks:

The vwprintf() function works identically to the wprintf() function. Instead of the variable list of arguments that can be passed to wprintf(), vwprintf() accepts its arguments in the array arg of type va_list, which must have been initialized by the va_start() macro (and possibly subsequent va_arg calls) from the stdarg.h header file. The vwprintf() function does not invoke the va_end macro.

Refer to the "wprintf" function for details of the format string.

Return:

Returns the number of characters written or a negative value if it failed.

See Also:

"Wide Character and Byte Character Stream Orientation"

"vprintf"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000