X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_inch.3x.html;h=d601804e283e3c4236f9dcf3e5627fd007c38586;hb=f7b8e526e024ce141e61633e966255400de67772;hp=2c4b22a576e6cbae716202aad4aec9e806a07258;hpb=b1f61d9f3aa244512045a6b02e759825d7049d34;p=ncurses.git diff --git a/doc/html/man/curs_inch.3x.html b/doc/html/man/curs_inch.3x.html index 2c4b22a5..d601804e 100644 --- a/doc/html/man/curs_inch.3x.html +++ b/doc/html/man/curs_inch.3x.html @@ -1,41 +1,83 @@ + + +
++curs_inch(3x) curs_inch(3x) + + +
- inch, winch, mvinch, mvwinch - get a character and - attributes from a curses window + inch, winch, mvinch, mvwinch - get a character and + attributes from a curses window
- #include <curses.h> + #include <curses.h> - chtype inch(void); - chtype winch(WINDOW *win); - chtype mvinch(int y, int x); - chtype mvwinch(WINDOW *win, int y, int x); + chtype inch(void); + chtype winch(WINDOW *win); + chtype mvinch(int y, int x); + chtype mvwinch(WINDOW *win, int y, int x);
- These routines return the character, of type chtype, at + These routines return the character, of type chtype, at the current position in the named window. If any attributes are set for that position, their values are OR'ed into the value returned. Constants defined in - <curses.h> can be used with the & (logical AND) operator + <curses.h> can be used with the & (logical AND) operator to extract the character or attributes alone. - - Attributes + Attributes The following bit-masks may be AND-ed with characters - returned by winch. + returned by winch. - A_CHARTEXT Bit-mask to extract character - A_ATTRIBUTES Bit-mask to extract attributes - A_COLOR Bit-mask to extract color-pair field information + A_CHARTEXT Bit-mask to extract character + A_ATTRIBUTES Bit-mask to extract attributes + A_COLOR Bit-mask to extract color-pair field information@@ -51,23 +93,14 @@
- curses(3x). - - - - - - - - - - - - + curses(3x). + Comparable functions in the wide-character (ncursesw) + library are described in curs_in_wch(3x). + curs_inch(3x)