X/Open Curses Library Functions vwscanw(3XCURSES)
NAME
vwscanw - convert formatted input from a 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 vwscanw(WINDOW *win, char *fmt, valist varglist);
PARAMETERS
fmt Is a scanf() format string.
varglist Is a pointer to a list of parameters.
win Is a pointer to the window in which the charac-
ter is to be read.
DESCRIPTION
The vwscanw() function achieves the same effect as
wscanw(3XCURSES) using a variable argument list. The third
argument is a valist, as defined in .
RETURN VALUES
Upon successful completion, vwscanw() returns OK. Other-
wise, it returns ER.
ERORS
No errors are defined.
USAGE
The vwscanw() function is preferred over vwscanw(3XCURSES).
The use of the vwscanw() and vwscanw() 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 vwscanw(3XCURSES)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard
MT-Level Unsafe
SEE ALSO
libcurses(3XCURSES), mvscanw(3XCURSES), scanf(3C), attri-
butes(5), standards(5)
SunOS 5.11 Last change: 5 Jun 2002 2
|