diff --git a/man/curs_getch.3x b/man/curs_getch.3x index 1196b3d..feedbc9 100644 --- a/man/curs_getch.3x +++ b/man/curs_getch.3x @@ -300,7 +300,9 @@ if there is no more room in the FIFO. \fBwgetch\fP returns ERR if the window pointer is null, or -if its timeout expires without having any data. +if its timeout expires without having any data, or +if the execution was interrupted by a signal (\fBerrno\fR will be set to +\fBEINTR\fR). .RE .PP Functions with a "mv" prefix first perform a cursor movement using @@ -385,8 +387,6 @@ 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 \fBEINTR\fR. -Under the \fBncurses\fR implementation, handled signals never -interrupt \fBgetch\fR. .PP The \fBhas_key\fR function is unique to \fBncurses\fR. We recommend that