Curses Library Functions cursinwstr(3CURSES)
NAME
cursinwstr, inwstr, innwstr, winwstr, winnwstr, mvinwstr,
mvinnwstr, mvwinwstr, mvwinnwstr - get a string of wchart
characters from a curses window
SYNOPSIS
cc [ flag ... ] file ... -lcurses[library .. ]
#include
int inwstr(wchart *wstr);
int innwstr(wchart *wstr, int n);
int winwstr(WINDOW *win, wchart *wstr);
int winnwstr(WINDOW *win, wchart *wstr, int n);
int mvinwstr(int y, int x, wchart *wstr);
int mvinnwstr(int y, int x, wchart *wstr, int n);
int mvwinwstr(WINDOW *win, int y, int x, wchart *wstr);
int mvwinnwstr(WINDOW *win, int y, int x, wchart *wstr, int n);
DESCRIPTION
These routines return the string of wchart characters in
wstr starting at the current cursor position in the named
window and ending at the right margin of the window. Attri-
butes are stripped from the characters. The four functions
with n as the last argument return the string at most n
wchart characters long.
RETURN VALUES
All routines return the integer ER upon failure and an
integer value other than ER upon successful completion.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 31 Dec 1996 1
Curses Library Functions cursinwstr(3CURSES)
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Unsafe
SEE ALSO
curses(3CURSES), attributes(5)
NOTES
The header file automatically includes the header
files , and .
Note that all routines except winnwstr() may be macros.
SunOS 5.11 Last change: 31 Dec 1996 2
|