1vwprintw(3XCURSES)      X/Open Curses Library Functions     vwprintw(3XCURSES)
2
3
4

NAME

6       vwprintw - print formatted output in window
7

SYNOPSIS

9       cc [ flag... ] file... -I /usr/xpg4/include  -L  /usr/xpg4/lib \
10        -R  /usr/xpg4/lib  -lcurses  [ library... ]
11
12       c89 [ flag... ] file... -lcurses [ library... ]
13
14       #include <varargs.h>
15       #include <curses.h>
16
17       int vwprintw(WINDOW *win, char *fmt, va_list varglist);
18
19

PARAMETERS

21       fmt         Is a printf() format string.
22
23
24       varglist    Is a pointer to a list of parameters.
25
26
27       win         Is  a  pointer  to  the window in which the string is to be
28                   written.
29
30

DESCRIPTION

32       The vwprintw() function achieves the same effect  as  wprintw(3XCURSES)
33       using  a  variable  argument  list. The third argument is a va_list, as
34       defined in <varargs.h>.
35

RETURN VALUES

37       Upon  successful  completion,  vwprintw()  returns  OK.  Otherwise,  it
38       returns ERR.
39

ERRORS

41       No errors are defined.
42

USAGE

44       The vwprintw() function is deprecated; the vw_printw(3XCURSES) function
45       is preferred. The use of the vwprintw() and  vw_printw()  in  the  same
46       file  will not work, due to the requirements to include <varargs.h> and
47       <stdarg.h>, which both contain definitions of va_list.
48

ATTRIBUTES

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

SEE ALSO

64       libcurses(3XCURSES),          mvprintw(3XCURSES),           printf(3C),
65       vw_printw(3XCURSES), attributes(5), standards(5)
66
67
68
69SunOS 5.11                        5 Jun 2002                vwprintw(3XCURSES)
Impressum