wscanw

Name

wscanw -- convert formatted input from a curses window

Synopsis

#include <curses.h>

int wscanw(WINDOW *win, const char *fmt, ...);

Description

The scanw family of functions shall behave as described in X/Open Curses, Issue 7, except as noted below.

Differences

This function returns ERR on failure. On success it returns the number of successfully matched and assigned input items. This differs from X/Open Curses, Issue 7, which indicates this function returns OK on success.