X/Open Curses Library Functions vwprintw(3XCURSES)
NAME
vwprintw - print formatted output in window
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include
#include
int vwprintw(WINDOW *win, char *fmt, valist varglist);
PARAMETERS
fmt Is a printf() format string.
varglist Is a pointer to a list of parameters.
win Is a pointer to the window in which the string
is to be written.
DESCRIPTION
The vwprintw() function achieves the same effect as
wprintw(3XCURSES) using a variable argument list. The third
argument is a valist, as defined in .
RETURN VALUES
Upon successful completion, vwprintw() returns OK. Other-
wise, it returns ER.
ERORS
No errors are defined.
USAGE
The vwprintw() function is preferred over
vwprintw(3XCURSES). The use of the vwprintw() and
vwprintw() in the same file will not work, due to the
requirements to include and , which
both contain definitions of valist.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 5 Jun 2002 1
X/Open Curses Library Functions vwprintw(3XCURSES)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard
MT-Level Unsafe
SEE ALSO
libcurses(3XCURSES), mvprintw(3XCURSES), printf(3C), attri-
butes(5), standards(5)
SunOS 5.11 Last change: 5 Jun 2002 2
|