*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: wins_wstr | Section: 3 | Source: Digital UNIX | File: wins_wstr.3.gz
curs_ins_wstr(3) Library Functions Manual curs_ins_wstr(3) NAME curs_ins_wstr, ins_wstr, ins_nwstr, wins_wstr, wins_nwstr, mvins_wstr, mvins_nwstr, mvwins_wstr, mvwins_nwstr - Insert a wide-character string into a Curses window LIBRARY Curses Library (libcurses.a, libcurses.so) SYNOPSIS #include <curses.h> int ins_wstr(const wchar_t *wstr); int ins_nwstr(const wchar_t *wstr, int n); int wins_wstr(WINDOW *win, const wchar_t *wstr); int wins_nw- str(WINDOW *win, const wchar_t *wstr, int n); int mvins_wstr(int y, int x, const wchar_t *wstr); int mvins_nwstr(int y, int x, const wchar_t *wstr, int n); int mvwins_wstr(WINDOW *win, int y, int x, const wchar_t *wstr); int mvwins_nwstr(WINDOW *win, int y, int x, const wchar_t *wstr, int n); STANDARDS Interfaces documented on this reference page conform to industry stan- dards as follows: ins_wstr, ins_nwstr, wins_wstr, wins_nwstr, mvins_wstr, mvins_nwstr, mvwins_wstr, mvwins_nwstr: XPG4-UNIX Refer to the standards(5) reference page for more information about in- dustry standards and associated tags. DESCRIPTION These functions insert a wchar_t character string (as many wchar_t characters as will fit on the line) in the current or specified window immediately before the current or specified position. All characters to the right of the cursor are moved to the right, with the possibility of the rightmost characters on the line being lost. Any nonspacing characters in the string are associated with the first spacing character in the string that precedes the nonspacing charac- ters. If the first character in the string is a nonspacing character, these functions will fail. These functions: Do not perform wrapping Do not advance the cursor po- sition Perform special-character processing If a character in wstr is a tab, newline, carriage return, or back- space, the cursor is moved appropriately within the window. A newline also results in clrtoeol before the cursor is moved. Tabs are consid- ered to be at every eighth column. If a character in wstr is another control character, it is drawn in the ^X notation. Calling win_wch af- ter adding a control character (and moving to it, if necessary) does not return the control character, but instead returns the representa- tion of the control character. The ins_nwstr, mvins_nwstr, mvwins_nwstr, and wins_nwstr functions in- sert at most n wchar_t characters. If n is less than 1, then these functions insert the entire string. NOTES The header file curses.h automatically includes the header file stdio.h. Note that all but wins_nwstr may be macros. RETURN VALUES Upon successful completion, these functions return OK. Otherwise, they return ERR. RELATED INFORMATION Functions: curses(3), curs_in_wch(3), curs_ins_wch(3) Others: standards(5) delim off curs_ins_wstr(3)

Navigation Options