X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_getcchar.3x.html;h=91ee4e836095d91f399093356cb06449223904ab;hp=270263f03d276fe885fd67f19b85f48aa525a4a6;hb=HEAD;hpb=5e7c0d571f78d9a76ea55fb5bb3a145d0e164264 diff --git a/doc/html/man/curs_getcchar.3x.html b/doc/html/man/curs_getcchar.3x.html index 270263f0..c1edf284 100644 --- a/doc/html/man/curs_getcchar.3x.html +++ b/doc/html/man/curs_getcchar.3x.html @@ -27,19 +27,19 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: curs_getcchar.3x,v 1.47 2024/04/13 22:08:22 tom Exp @ + * @Id: curs_getcchar.3x,v 1.49 2024/04/20 18:55:09 tom Exp @ -->
-curs_getcchar(3x) Library calls curs_getcchar(3x) @@ -55,15 +55,15 @@ #include <curses.h> int getcchar( - const cchar_t *wcval, - wchar_t *wch, + const cchar_t *wch, + wchar_t *wc, attr_t *attrs, short *color_pair, void *opts ); int setcchar( - cchar_t *wcval, - const wchar_t *wch, + cchar_t *wch, + const wchar_t *wc, const attr_t attrs, short color_pair, const void *opts ); @@ -73,34 +73,34 @@
The getcchar function gets a wide-character string and rendition from a - cchar_t argument. When wch is not a null pointer, the getcchar - function does the following: + cchar_t argument. When wc is not a null pointer, the getcchar function + does the following: - o Extracts information from a cchar_t value wcval + o Extracts information from a cchar_t value wch o Stores the character attributes in the location pointed to by attrs o Stores the color pair in the location pointed to by color_pair - o Stores the wide-character string, characters referenced by wcval, - into the array pointed to by wch. + o Stores the wide-character string, characters referenced by wch, + into the array pointed to by wc. - When wch is a null pointer, the getcchar function does the following: + When wc is a null pointer, the getcchar function does the following: - o Obtains the number of wide characters pointed to by wcval + o Obtains the number of wide characters pointed to by wch o Does not change the data referenced by attrs or color_pair
- The setcchar function initializes the location pointed to by wcval by + The setcchar function initializes the location pointed to by wch by using: o The character attributes in attrs o The color pair in color_pair - o The wide-character string pointed to by wch. The string must be + o The wide-character string pointed to by wc. The string must be L'\0' terminated, contain at most one spacing character, which must be the first. @@ -112,10 +112,10 @@
- When wch is a null pointer, getcchar returns the number of wide - characters referenced by wcval, including one for a trailing null. + When wc is a null pointer, getcchar returns the number of wide + characters referenced by wch, including one for a trailing null. - When wch is not a null pointer, getcchar returns OK upon successful + When wc is not a null pointer, getcchar returns OK upon successful completion, and ERR otherwise. Upon successful completion, setcchar returns OK. Otherwise, it returns @@ -123,9 +123,9 @@
- The wcval argument may be a value generated by a call to setcchar or by - a function that has a cchar_t output argument. If wcval is constructed - by any other means, the effect is unspecified. + The wch argument may be a value generated by a call to setcchar or by a + function that has a cchar_t output argument. If wch is constructed by + any other means, the effect is unspecified.
@@ -196,7 +196,7 @@ -ncurses 6.4 2024-04-13 curs_getcchar(3x) +ncurses 6.5 2024-04-20 curs_getcchar(3x)