#include <curses.h>int getnstr(char *str, int n);
int getstr(char *str);
int mvgetnstr(int y, int x, char *str, int n);
int mvgetstr(int y, int x, char *str);
int mvwgetnstr(WINDOW *win, int y, int x, char *str, int n);
int mvwgetstr(WINDOW *win, int y, int x, char *str);
int wgetnstr(WINDOW *win, char *str, int n);
int wgetstr(WINDOW *win, char *str);
The mvgetstr(3curses) function is identical to getstr(3curses) except that it is as though it is a call to move(3curses) and then a series of calls to getch(3curses).
The mvwgetstr(3curses) function is identical to getstr(3curses) except it is as though a call to wmove(3curses) is made and then a series of calls to wgetch(3curses).
The mvgetnstr(3curses) function is identical to getnstr(3curses) except that it is as though it is a call to move(3curses) and then a series of calls to getch(3curses).
The mvwgetnstr(3curses) function is identical to getnstr(3curses) except it is as though a call to wmove(3curses) is made and then a series of calls to wgetch(3curses).
The getnstr(3curses), wgetnstr(3curses), mvgetnstr(3curses) and mvwgetnstr(3curses) functions will only return the entire multi-byte sequence associated with a character. If the array is large enough to contain at least one character, the functions fill the array with complete characters. If the array is not large enough to contain any complete characters, the function fails.