The scanw family of functions shall behave as described in X/Open Curses, Issue 7, except as noted below.
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