VMS Help
CRTL, mv[w]getstr
*Conan The Librarian
|
Move the cursor to coordinates (y,x), get a string from the
terminal screen, store it in the variable str (which must be
large enough to contain the string), and echo it on the specified
window. The mvgetstr function acts on the stdscr window.
Format
#include <curses.h>
int mvgetstr (int y, int x, char *str);
int mvwgetstr (WINDOW *win, int y, int x, char *str);
win
A pointer to the window.
y
A window coordinate.
x
A window coordinate.
str
The string that is displayed.
The mvgetstr and mvwgetstr functions strip the new-line
terminator (\n) from the string.
OK Indicates success.
ERR Indicates that the function causes the screen
to scroll illegally.