The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

vw_scanw - convert formatted input from a window

 SYNOPSIS



#include <stdarg.h>
#include <curses.h>

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

 DESCRIPTION

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

 RETURN VALUE

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

 ERRORS

No errors are defined.

 APPLICATION USAGE

The vw_scanw() function is preferred over vwscanw(). The use of the vwscanw() and the vw_scanw() 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.

 SEE ALSO

fscanf() (in the XSH specification), mvscanw(), <curses.h>, <stdarg.h> (in the XSH specification).

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]