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

NAME

6       vw_printw - 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 <stdarg.h>
15       #include <curses.h>
16
17       int vw_printw(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 vw_printw() 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 <stdarg.h>.
35

RETURN VALUES

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

ERRORS

41       No errors are defined.
42

USAGE

44       The  vw_printw() function is preferred over vwprintw(3XCURSES). The use
45       of the vwprintw() and vw_printw() in the same file will not  work,  due
46       to  the  requirements to include <varargs.h> and <stdarg.h>, which both
47       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),   attributes(5),
65       standards(5)
66
67
68
69SunOS 5.11                        5 Jun 2002               vw_printw(3XCURSES)
Impressum