mvscanw(3X) mvscanw(3X)
NAME
mvscanw, mvwscanw, scanw, wscanw - convert formatted input from a win-
dow
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#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, ...);
DESCRIPTION
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 posi-
tion, and then sscanf() were used to interpret and convert that
string.
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they
return ERR.
ERRORS
No errors are defined.
SEE ALSO
wcstombs(3C), fscanf(3S), curses(3X), getnstr(3X), printw(3X),
curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98