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


vw_scanw - convert formatted input from a window


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

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


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>.


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


No errors are defined.


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.


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 ]