DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

vw_scanw(3curses)


vw_scanw -- convert formatted input from a window

Synopsis

cc [options] file -lcurses
#include <stdarg.h>
#include <curses.h>

int vw_scanw(WINDOW *, char *, va_list varflist);

Description

The vw_scanw(3curses) function achieves the same effect as wscanw(3curses) using a variable argument list. The third argument is a va_list, as defined in stdarg.h.

Return value

Upon successful completion, vw_scanw(3curses) returns OK. Otherwise, it returns ERR.

Errors

No errors are defined.

Usage

The vw_scanw(3curses) function is preferred over vwscanw(3curses). The use of the vwscanw(3curses) and the vw_scanw(3curses) functions in the same file will not work, due to the requirement to include varargs.h and stdarg.h which both contain definitions of va_list.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

fscanf(3S), mvscanw(3curses), curses(4), stdarg(5)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004