#if M_RCSID
#ifndef lint
static char rcsID[] = "$Header: /rd/src/libc/xcurses/rcs/getn_ws.c 1.1 "
"1995/07/06 14:01:35 ant Exp $";
#endif
#endif
#include <private.h>
#undef getn_wstr
int
getn_wstr(wint_t *wis, int n)
{
int code;
code = wgetn_wstr(stdscr, wis, n);
return (code);
}
#undef mvgetn_wstr
int
mvgetn_wstr(int y, int x, wint_t *wis, int n)
{
int code;
if ((code = wmove(stdscr, y, x)) == OK)
code = wgetn_wstr(stdscr, wis, n);
return (code);
}
#undef mvwgetn_wstr
int
mvwgetn_wstr(WINDOW *w, int y, int x, wint_t *wis, int n)
{
int code;
if ((code = wmove(w, y, x)) == OK)
code = wgetn_wstr(w, wis, n);
return (code);
}
#undef get_wstr
int
get_wstr(wint_t *wis)
{
int code;
code = wgetn_wstr(stdscr, wis, -1);
return (code);
}
#undef mvget_wstr
int
mvget_wstr(int y, int x, wint_t *wis)
{
int code;
if ((code = wmove(stdscr, y, x)) == OK)
code = wgetn_wstr(stdscr, wis, -1);
return (code);
}
#undef mvwget_wstr
int
mvwget_wstr(WINDOW *w, int y, int x, wint_t *wis)
{
int code;
if ((code = wmove(w, y, x)) == OK)
code = wgetn_wstr(w, wis, -1);
return (code);
}
#undef wget_wstr
int
wget_wstr(WINDOW *w, wint_t *wis)
{
int code;
code = wgetn_wstr(w, wis, -1);
return (code);
}