1curs_in_wchstr(3X)                                          curs_in_wchstr(3X)
2
3
4

NAME

6       in_wchstr, in_wchnstr, win_wchstr, win_wchnstr, mvin_wchstr,
7       mvin_wchnstr, mvwin_wchstr, mvwin_wchnstr - get an array of complex
8       characters and renditions from a curses window
9

SYNOPSIS

11       #include <curses.h>
12
13       int in_wchstr(cchar_t *wchstr);
14       int in_wchnstr(cchar_t *wchstr, int n);
15       int win_wchstr(WINDOW *win, cchar_t *wchstr);
16       int win_wchnstr(WINDOW *win, cchar_t *wchstr, int n);
17       int mvin_wchstr(int y, int x, cchar_t *wchstr);
18       int mvin_wchnstr(int y, int x, cchar_t *wchstr, int n);
19       int mvwin_wchstr(WINDOW *win, int y, int x, cchar_t *wchstr);
20       int mvwin_wchnstr(WINDOW *win, int y, int x, cchar_t *wchstr, int n);
21

DESCRIPTION

23       These functions return an array of complex characters in wchstr, start‐
24       ing at the current cursor position in  the  named  window.   Attributes
25       (rendition) are stored with the characters.
26
27       The  in_wchnstr,  mvin_wchnstr,  mvwin_wchnstr and win_wchnstr fill the
28       array with at most n cchar_t elements.
29

NOTES

31       Note that all routines except win_wchnstr may be macros.
32
33       Reading a line that overflows the  array  pointed  to  by  wchstr  with
34       in_wchstr, mvin_wchstr, mvwin_wchstr or win_wchstr causes undefined re‐
35       sults. Therefore, the use of in_wchnstr,  mvin_wchnstr,  mvwin_wchnstr,
36       or win_wchnstr is recommended.
37

RETURN VALUE

39       Upon successful completion, these functions return OK.  Otherwise, they
40       return ERR.
41
42       Functions with a "mv" prefix first  perform  a  cursor  movement  using
43       wmove, and return an error if the position is outside the window, or if
44       the window pointer is null.
45

PORTABILITY

47       The XSI Curses defines no error conditions.  This implementation checks
48       for null pointers, returning ERR in that case.
49

SEE ALSO

51       Functions: curses(3X), curs_in_wch(3X), curs_instr(3X), curs_inwstr(3X)
52       curs_inchstr(3X)
53
54
55
56                                                            curs_in_wchstr(3X)
Impressum