DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

vw_scanw(CURSES)


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(CURSES) function achieves the same effect as wscanw(CURSES) using a variable argument list. The third argument is a va_list, as defined in stdarg.h.

Return value

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

Errors

No errors are defined.

Usage

The vw_scanw(CURSES) function is preferred over vwscanw(CURSES). The use of the vwscanw(CURSES) and the vw_scanw(CURSES) 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(S), mvscanw(CURSES), curses(F), stdarg(M)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005