X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_get_wch.3x.html;h=148f4fc76976409ef957bf8abf3b3d2881cc1b39;hp=ddd3f4b1f000e7417dd8679237388b271729b95a;hb=c6cfd97b8beaf0f6deafbf8aac7281cf6aa7f012;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01;ds=sidebyside diff --git a/doc/html/man/curs_get_wch.3x.html b/doc/html/man/curs_get_wch.3x.html index ddd3f4b1..148f4fc7 100644 --- a/doc/html/man/curs_get_wch.3x.html +++ b/doc/html/man/curs_get_wch.3x.html @@ -1,7 +1,6 @@ - +
+ +- +curs_get_wch(3x) curs_get_wch(3x) + + +-
+NAME
get_wch, wget_wch, mvget_wch, mvwget_wch, unget_wch - get (or push back) a wide character from curses terminal key- board-SYNOPSIS
+SYNOPSIS
#include <curses.h> - int get_wch(win_t *wch); - int wget_wch(WINDOW *win, win_t *wch); - int mvget_wch(int y, int x, win_t *wch); - int mvwget_wch(WINDOW *win, int y, int x, win_t *wch); + int get_wch(wint_t *wch); + int wget_wch(WINDOW *win, wint_t *wch); + int mvget_wch(int y, int x, wint_t *wch); + int mvwget_wch(WINDOW *win, int y, int x, wint_t *wch); int unget_wch(const wchar_t wch);-DESCRIPTION
+DESCRIPTION
The get_wch, wget_wch, mvget_wch, and mvwget_wch functions read a character from the terminal associated with the current or specified window. In no-delay mode, if no @@ -100,9 +105,8 @@ operation may fail. --NOTES
+NOTES
The header file <curses.h> automatically includes the header file <stdio.h>. @@ -119,52 +123,39 @@-RETURN VALUES
- When get_wch, wget_wch, mvget_wch, and mvwget_wch func- - tions successfully report the pressing of a function key, +RETURN VALUE
+ When get_wch, wget_wch, mvget_wch, and mvwget_wch func- + tions successfully report the pressing of a function key, they return KEY_CODE_YES. When they successfully report a - wide character, they return OK. Otherwise, they return + wide character, they return OK. Otherwise, they return ERR. - Upon successful completion, unget_wch returns OK. Other- + Upon successful completion, unget_wch returns OK. Other- wise, the function returns ERR. + Functions with a "mv" prefix first perform a cursor move- + ment using wmove, and return an error if the position is + outside the window, or if the window pointer is null. +-SEE ALSO
- curses(3x), curs_getch(3x), curs_ins_wch(3x), +SEE ALSO
+ curses(3x), curs_getch(3x), curs_ins_wch(3x), curs_inopts(3x), curs_move(3x), curs_refresh(3x) - - - - - - - - - - - - - - - - - - - - - - - + curs_get_wch(3x)-
- -Man(1) output converted with -man2html - +