scanw

Name

scanw -- convert formatted input from a curses window

Synopsis

#include <curses.h>

int scanw(const char *fmt, ...);

Description

The scanw family of functions shall behave as described in X/Open Curses, 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, which indicates this function returns OK on success.