mvscanw, mvwscanw, scanw, wscanw - convert formatted input from a window
#include <curses.h> int mvscanw(int y, int x, char *fmt, ...); int mvwscanw(WINDOW *win, int y, int x, char *fmt, ...); int scanw(char *fmt, ...); int wscanw(WINDOW *win, char *fmt, ...);
These functions are similar to scanf(). Their effect is as though mvwgetstr() were called to get a multi-byte character string from the current or specified window at the current or specified cursor position, and then sscanf() were used to interpret and convert that string.
Upon successful completion, these functions return OK. Otherwise, they return ERR.
No errors are defined.
getnstr(), printw(), fscanf() (in the XSH specification), wcstombs() (in the XSH specification), <curses.h>.