DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

mvscanw(CURSES)


mvscanw -- convert formatted input from a window

Synopsis

cc [options] file -lcurses
#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(S). Their effect is as though mvwgetstr(CURSES) 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(S) 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.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

getnstr(CURSES), printw(CURSES), scanf(S), sscanf(S), wcstombs(S), curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005