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

NAME

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

SYNOPSIS

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

DESCRIPTION

28       The vfwprintf(), vswprintf(), and vwprintf() functions shall be equiva‐
29       lent to fwprintf(), swprintf(), and wprintf() respectively, except that
30       instead  of  being called with a variable number of arguments, they are
31       called with an argument list as defined by <stdarg.h>.
32
33       These functions shall not invoke the va_end macro.  However,  as  these
34       functions  do invoke the va_arg macro, the value of ap after the return
35       is unspecified.
36

RETURN VALUE

38       Refer to fwprintf().
39

ERRORS

41       Refer to fwprintf().
42
43       The following sections are informative.
44

EXAMPLES

46       None.
47

APPLICATION USAGE

49       Applications using these functions should call va_end(ap) afterwards to
50       clean up.
51

RATIONALE

53       None.
54

FUTURE DIRECTIONS

56       None.
57

SEE ALSO

59       fwprintf(),   the  Base  Definitions  volume  of  IEEE Std 1003.1-2001,
60       <stdarg.h>, <stdio.h>, <wchar.h>
61
63       Portions of this text are reprinted and reproduced in  electronic  form
64       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
65       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
66       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
67       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
68       event of any discrepancy between this version and the original IEEE and
69       The Open Group Standard, the original IEEE and The Open Group  Standard
70       is  the  referee document. The original Standard can be obtained online
71       at http://www.opengroup.org/unix/online.html .
72
73
74
75IEEE/The Open Group                  2003                        VFWPRINTF(3P)
Impressum