HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
m
mvscanw(3X) mvscanw(3X)
(CURSES)
NAME
mvscanw, mvwscanw, scanw, wscanw — convert formatted input from a window
SYNOPSIS
#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 position,
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
getnstr(3X), printw(3X), fscanf() (in the X/Open System Interfaces and Headers, Issue 4, Version 2
specification), wcstombs() (in the X/Open System Interfaces and Headers, Issue 4, Version 2 specification),
<curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity and its name is changed from
scanw() to mvscanw() .
HP-UX Release 11i: December 2000 − 1 − Section 3−−535
___
___