#include <curses.h> int get_wstr(wint_t *wstr);
int getn_wstr(wint_t *wstr, int n);
int wget_wstr(WINDOW *win, wint_t *wstr);
int wgetn_wstr(WINDOW *win, wint_t *wstr, int n);
int mvget_wstr(int y, int x, wint_t *wstr);
int mvgetn_wstr(int y, int x, wint_t *wstr, int n);
int mvwget_wstr(WINDOW *win, int y, int x, wint_t *wstr);
int mvwgetn_wstr(WINDOW *win, int y, int x, wint_t *wstr, int n);
The user's erase and kill characters are interpreted. If keypad mode is on for the window, KEY_LEFT and KEY_BACKSPACE are both considered equivalent to the user's kill character.
Characters input are echoed only if echo is currently on. In that case, backspace is echoed as deletion of the previous character (typically a left motion).
The effect of wget_wstr is as though a series of calls to wget_wch were made.
The effect of mvget_wstr is as though a call to move and then a series of calls to get_wch were made.
The effect of mvwget_wstr is as though a call to wmove and then a series of calls to wget_wch were made.
The getn_wstr, mvgetn_wstr, mvwgetn_wstr, and wgetn_wstr functions are identical to the get_wstr, mvget_wstr, mvwget_wstr, and wget_wstr functions, respectively, except that the *n_* versions read at most n characters, letting the application prevent overflow of the input buffer.
These functions cannot return KEY_ values because there is no way to distinguish a KEY_ value from a valid wchar_t value.
All of these routines except wgetn_wstr may be macros.
Functions using a window parameter return an error if it is null.
X/Open curses documents these functions to pass an array of wchar_t, but all of the vendors implement this using wint_t.