X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_getch.3x;h=e74df1d8dfad78bcec7ff23bfc321268aad3be27;hp=ce4b959ea36f82ddf873ee2dc390100edd51a35b;hb=8d3ea9021573747ecd129228ba7782a03243f62c;hpb=06078d3fa68db669ed37178c01873546b4b28745;ds=sidebyside diff --git a/man/curs_getch.3x b/man/curs_getch.3x index ce4b959e..e74df1d8 100644 --- a/man/curs_getch.3x +++ b/man/curs_getch.3x @@ -27,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_getch.3x,v 1.50 2017/11/18 23:56:00 tom Exp $ +.\" $Id: curs_getch.3x,v 1.51 2017/11/21 00:45:48 tom Exp $ .TH curs_getch 3X "" .na .hy 0 @@ -295,11 +295,11 @@ completion. .RS 3 .TP 5 \fBungetch\fP -returns ERR +returns \fBERR\fP if there is no more room in the FIFO. .TP \fBwgetch\fP -returns ERR +returns \fBERR\fP if the window pointer is null, or if its timeout expires without having any data, or if the execution was interrupted by a signal (\fBerrno\fR will be set to @@ -386,7 +386,7 @@ NetBSD curses later added this extension. .PP Programmers concerned about portability should be prepared for either of two cases: (a) signal receipt does not interrupt \fBgetch\fR; (b) signal receipt -interrupts \fBgetch\fR and causes it to return ERR with \fBerrno\fR set to +interrupts \fBgetch\fR and causes it to return \fBERR\fP with \fBerrno\fR set to \fBEINTR\fR. .PP The \fBhas_key\fR function is unique to \fBncurses\fR.