1VFWPRINTF(P) POSIX Programmer's Manual VFWPRINTF(P)
2
3
4
6 vfwprintf, vswprintf, vwprintf - wide-character formatted output of a
7 stdarg argument list
8
10 #include <stdarg.h>
11 #include <stdio.h>
12 #include <wchar.h>
13
14 int vfwprintf(FILE *restrict stream, const wchar_t *restrict format,
15 va_list arg);
16 int vswprintf(wchar_t *restrict ws, size_t n,
17 const wchar_t *restrict format, va_list arg);
18 int vwprintf(const wchar_t *restrict format, va_list arg);
19
20
22 The vfwprintf(), vswprintf(), and vwprintf() functions shall be equiva‐
23 lent to fwprintf(), swprintf(), and wprintf() respectively, except that
24 instead of being called with a variable number of arguments, they are
25 called with an argument list as defined by <stdarg.h>.
26
27 These functions shall not invoke the va_end macro. However, as these
28 functions do invoke the va_arg macro, the value of ap after the return
29 is unspecified.
30
32 Refer to fwprintf() .
33
35 Refer to fwprintf() .
36
37 The following sections are informative.
38
40 None.
41
43 Applications using these functions should call va_end(ap) afterwards to
44 clean up.
45
47 None.
48
50 None.
51
53 fwprintf() , the Base Definitions volume of IEEE Std 1003.1-2001,
54 <stdarg.h>, <stdio.h>, <wchar.h>
55
57 Portions of this text are reprinted and reproduced in electronic form
58 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
59 -- Portable Operating System Interface (POSIX), The Open Group Base
60 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
61 Electrical and Electronics Engineers, Inc and The Open Group. In the
62 event of any discrepancy between this version and the original IEEE and
63 The Open Group Standard, the original IEEE and The Open Group Standard
64 is the referee document. The original Standard can be obtained online
65 at http://www.opengroup.org/unix/online.html .
66
67
68
69IEEE/The Open Group 2003 VFWPRINTF(P)