Linux-man Archive on
 help / color / Atom feed
* [PATCH] io_getevents.2: Add EINVAL for case of timeout parameter out of range
@ 2019-07-31  3:03 zhangyi (F)
  0 siblings, 0 replies; only message in thread
From: zhangyi (F) @ 2019-07-31  3:03 UTC (permalink / raw)
  To: mtk.manpages
  Cc: linux-man, linux-aio, linux-fsdevel, bcrl, viro, jmoyer, arnd,
	deepa.kernel, yi.zhang,

io_[p]getevents syscall should return -EINVAL if timeout is out of
range, update description of this error return value.

Signed-off-by: zhangyi (F) <>
Cc: Jeff Moyer <>
Cc: Arnd Bergmann <>
Cc: Deepa Dinamani <>
 man2/io_getevents.2 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/man2/io_getevents.2 b/man2/io_getevents.2
index 0eb4b385e..5560bb8ee 100644
--- a/man2/io_getevents.2
+++ b/man2/io_getevents.2
@@ -73,8 +73,9 @@ Interrupted by a signal handler; see
 \fIctx_id\fP is invalid.
-\fImin_nr\fP is out of range or \fInr\fP is
-out of range.
+\fImin_nr\fP is out of range or \fInr\fP is out of range, or
+\fItimeout\fP is out of range (\fItv_sec\fP was less than zero, or
+\fItv_nsec\fP was not less than 1,000,000,000).
 .BR io_getevents ()

To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to  For more info on Linux AIO,
Don't email: <a href=mailto:""></a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-31  3:03 [PATCH] io_getevents.2: Add EINVAL for case of timeout parameter out of range zhangyi (F)

Linux-man Archive on

Archives are clonable:
	git clone --mirror linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ \
	public-inbox-index linux-man

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox