From 1b8234e3425e518f40e00751cd0e5261649c166e Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Thu, 25 Aug 2011 10:48:41 +0100 Subject: Provide a flag to return RES_ERROR even on signal (EINTR); without it, retry the operation --- termkey_advisereadable.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'termkey_advisereadable.3') diff --git a/termkey_advisereadable.3 b/termkey_advisereadable.3 index ba859ca..fe70125 100644 --- a/termkey_advisereadable.3 +++ b/termkey_advisereadable.3 @@ -25,7 +25,7 @@ At least one byte was read. No nore bytes were read. .TP .B TERMKEY_RES_ERROR -An IO error occured. \fIerrno\fP will be preserved. +An IO error occured. \fIerrno\fP will be preserved. If the error is \fBEINTR\fP then this will only be returned if \fBTERMKEY_FLAG_EINTR\fP flag is not set; if it is then the IO operation will be retried instead. .SH "SEE ALSO" .BR termkey_new (3), .BR termkey_getkey (3), -- cgit v1.2.3