1curs_inwstr(3CURSES)       Curses Library Functions       curs_inwstr(3CURSES)
2
3
4

NAME

6       curs_inwstr,  inwstr,  innwstr, winwstr, winnwstr, mvinwstr, mvinnwstr,
7       mvwinwstr, mvwinnwstr - get a  string  of  wchar_t  characters  from  a
8       curses window
9

SYNOPSIS

11       cc [ flag ... ] file ... -lcurses[library .. ]
12       #include <curses.h>
13
14       int inwstr(wchar_t *wstr);
15
16
17       int innwstr(wchar_t *wstr, int n);
18
19
20       int winwstr(WINDOW *win, wchar_t *wstr);
21
22
23       int winnwstr(WINDOW *win, wchar_t *wstr, int n);
24
25
26       int mvinwstr(int y, int x, wchar_t *wstr);
27
28
29       int mvinnwstr(int y, int x, wchar_t *wstr, int n);
30
31
32       int mvwinwstr(WINDOW *win, int y, int x, wchar_t *wstr);
33
34
35       int mvwinnwstr(WINDOW *win, int y, int x, wchar_t *wstr, int n);
36
37

DESCRIPTION

39       These routines return the string of  wchar_t characters in  wstr start‐
40       ing at the current cursor position in the named window  and  ending  at
41       the  right margin of the window. Attributes are stripped from the char‐
42       acters. The four functions with  n as  the  last  argument  return  the
43       string at most n wchar_t characters long.
44

RETURN VALUES

46       All  routines  return the integer ERR upon failure and an integer value
47       other than ERR upon successful completion.
48

ATTRIBUTES

50       See attributes(5) for descriptions of the following attributes:
51
52
53
54
55       ┌─────────────────────────────┬─────────────────────────────┐
56       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
57       ├─────────────────────────────┼─────────────────────────────┤
58       │MT-Level                     │Unsafe                       │
59       └─────────────────────────────┴─────────────────────────────┘
60

SEE ALSO

62       curses(3CURSES), attributes(5)
63

NOTES

65       The header file <curses.h>  automatically  includes  the  header  files
66       <stdio.h>, <unctrl.h> and <widec.h>.
67
68
69       Note that all routines except  winnwstr() may be macros.
70
71
72
73SunOS 5.11                        31 Dec 1996             curs_inwstr(3CURSES)
Impressum