1VFWPRINTF(3P)              POSIX Programmer's Manual             VFWPRINTF(3P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10
11

NAME

13       vfwprintf, vswprintf, vwprintf — wide-character formatted output  of  a
14       stdarg argument list
15

SYNOPSIS

17       #include <stdarg.h>
18       #include <stdio.h>
19       #include <wchar.h>
20
21       int vfwprintf(FILE *restrict stream, const wchar_t *restrict format,
22           va_list arg);
23       int vswprintf(wchar_t *restrict ws, size_t n,
24           const wchar_t *restrict format, va_list arg);
25       int vwprintf(const wchar_t *restrict format, va_list arg);
26

DESCRIPTION

28       The  functionality described on this reference page is aligned with the
29       ISO C standard. Any conflict between the  requirements  described  here
30       and  the  ISO C  standard is unintentional. This volume of POSIX.1‐2008
31       defers to the ISO C standard.
32
33       The vfwprintf(), vswprintf(), and vwprintf() functions shall be equiva‐
34       lent to fwprintf(), swprintf(), and wprintf() respectively, except that
35       instead of being called with a variable number of arguments,  they  are
36       called with an argument list as defined by <stdarg.h>.
37
38       These  functions  shall  not invoke the va_end macro. However, as these
39       functions do invoke the va_arg macro, the value of ap after the  return
40       is unspecified.
41

RETURN VALUE

43       Refer to fwprintf().
44

ERRORS

46       Refer to fwprintf().
47
48       The following sections are informative.
49

EXAMPLES

51       None.
52

APPLICATION USAGE

54       Applications using these functions should call va_end(ap) afterwards to
55       clean up.
56

RATIONALE

58       None.
59

FUTURE DIRECTIONS

61       None.
62

SEE ALSO

64       Section 2.5, Standard I/O Streams, fwprintf()
65
66       The Base Definitions volume  of  POSIX.1‐2008,  <stdarg.h>,  <stdio.h>,
67       <wchar.h>
68
70       Portions  of  this text are reprinted and reproduced in electronic form
71       from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
72       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
73       Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
74       cal  and  Electronics  Engineers,  Inc  and  The  Open Group.  (This is
75       POSIX.1-2008 with the 2013 Technical Corrigendum  1  applied.)  In  the
76       event of any discrepancy between this version and the original IEEE and
77       The Open Group Standard, the original IEEE and The Open Group  Standard
78       is  the  referee document. The original Standard can be obtained online
79       at http://www.unix.org/online.html .
80
81       Any typographical or formatting errors that appear  in  this  page  are
82       most likely to have been introduced during the conversion of the source
83       files to man page format. To report such errors,  see  https://www.ker
84       nel.org/doc/man-pages/reporting_bugs.html .
85
86
87
88IEEE/The Open Group                  2013                        VFWPRINTF(3P)
Impressum