1vfwprintf(3C)            Standard C Library Functions            vfwprintf(3C)
2
3
4

NAME

6       vfwprintf,  vswprintf,  vwprintf - wide-character formatted output of a
7       stdarg argument list
8

SYNOPSIS

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
17
18       int vswprintf(wchar_t *restrict s, size_t n,
19            const wchar_t *restrict format, va_list arg);
20
21
22       int vwprintf(const wchar_t *restrict format, va_list arg);
23
24

DESCRIPTION

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

RETURN VALUES

37       Refer to  fwprintf(3C).
38

ERRORS

40       Refer to  fwprintf(3C).
41

USAGE

43       Applications using these functions should call va_end(ap) afterwards to
44       clean up.
45

ATTRIBUTES

47       See attributes(5) for descriptions of the following attributes:
48
49
50
51
52       ┌─────────────────────────────┬─────────────────────────────┐
53       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │Interface Stability          │Standard                     │
56       ├─────────────────────────────┼─────────────────────────────┤
57       │MT-Level                     │MT-Safe with exceptions      │
58       └─────────────────────────────┴─────────────────────────────┘
59

SEE ALSO

61       fwprintf(3C), setlocale(3C), attributes(5), standards(5)
62

NOTES

64       The vwprintf(), vfwprintf(), and  vswprintf()  functions  can  be  used
65       safely  in  multithreaded applications, as long as setlocale(3C) is not
66       being called to change the locale.
67
68
69
70SunOS 5.11                        1 Nov 2003                     vfwprintf(3C)
Impressum