X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_in_wch.3x.html;h=f0acbd8886a1afbf222011733670a56d71381f6c;hp=892cab2d2f04d02367fff60433db2954ddc7fbb3;hb=HEAD;hpb=5e7c0d571f78d9a76ea55fb5bb3a145d0e164264 diff --git a/doc/html/man/curs_in_wch.3x.html b/doc/html/man/curs_in_wch.3x.html index 892cab2d..a04f410f 100644 --- a/doc/html/man/curs_in_wch.3x.html +++ b/doc/html/man/curs_in_wch.3x.html @@ -27,19 +27,19 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: curs_in_wch.3x,v 1.28 2024/04/13 22:14:06 tom Exp @ + * @Id: curs_in_wch.3x,v 1.33 2024/05/18 20:19:38 tom Exp @ -->
-curs_in_wch(3x) Library calls curs_in_wch(3x) @@ -54,36 +54,39 @@
#include <curses.h> - int in_wch(cchar_t *wcval); - int win_wch(WINDOW *win, cchar_t *wcval); - - int mvin_wch(int y, int x, cchar_t *wcval); - int mvwin_wch(WINDOW *win, int y, int x, cchar_t *wcval); + int in_wch(cchar_t * wch); + int win_wch(WINDOW * win, cchar_t * wch); + int mvin_wch(int y, int x, cchar_t * wch); + int mvwin_wch(WINDOW * win, int y, int x, cchar_t * wch);
- These functions extract the complex character and rendition from the - current position in the named window into the cchar_t object referenced - by wcval. + win_wch copies the curses complex character at the cursor position in + win into wch. Use getcchar(3x) to extract its character code, + attributes, and color pair identifier. ncurses(3x) describes the + variants of this function.
- No errors are defined in the XSI Curses standard. This implementation - checks for null pointers, returns ERR in that case. Also, the mv - routines check for error moving the cursor, returning ERR in that case. - Otherwise they return OK. + These functions return OK on success and ERR on failure. + + In ncurses, win_wch returns ERR if win is NULL. - Functions with a "mv" prefix first perform a cursor movement using - wmove, and return an error if the position is outside the window, or if - the window pointer is null. + Functions prefixed with "mv" first perform cursor movement and fail if + the position (y, x) is outside the window boundaries.
- Note that all of these routines may be macros. + in_wch, mvin_wch, and mvwin_wch may be implemented as macros. + + Unlike winch(3x), win_wch and its variants store the value of the + retrieved character in an additional wch parameter instead of the + return value.
- These functions are described in the XSI Curses standard, Issue 4. + X/Open Curses, Issue 4 describes these functions. It specifies no + error conditions for them.
@@ -94,7 +97,7 @@ -ncurses 6.4 2024-04-13 curs_in_wch(3x) +ncurses 6.5 2024-05-18 curs_in_wch(3x)