From: Alejandro Colomar <alx@kernel.org>
To: linux-man@vger.kernel.org
Cc: Alejandro Colomar <alx@kernel.org>,
Guillem Jover <guillem@debian.org>,
linux-aio@kvack.org
Subject: [PATCH v1 1/6] man/man2/io_setup.2: Reduce parameter name
Date: Wed, 8 Apr 2026 11:18:28 +0200 [thread overview]
Message-ID: <6e23fd87b5f9db2ed09f4e90a33e1fcbc203910e.1775639353.git.alx@kernel.org> (raw)
In-Reply-To: <cover.1775639353.git.alx@kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
man/man2/io_setup.2 | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/man/man2/io_setup.2 b/man/man2/io_setup.2
index 3d52103d..43d9a631 100644
--- a/man/man2/io_setup.2
+++ b/man/man2/io_setup.2
@@ -17,7 +17,7 @@ .SH SYNOPSIS
.nf
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
.P
-.BI "long io_setup(unsigned int " nr_events ", aio_context_t *" ctx_idp );
+.BI "long io_setup(unsigned int " n ", aio_context_t *" ctx_idp );
.fi
.P
.IR Note :
@@ -37,7 +37,7 @@ .SH DESCRIPTION
.BR io_setup ()
system call
creates an asynchronous I/O context suitable for concurrently processing
-.I nr_events
+.I n
operations.
The
.I ctx_idp
@@ -56,7 +56,7 @@ .SH ERRORS
.TP
.B EAGAIN
The specified
-.I nr_events
+.I n
exceeds the limit of available events,
as defined in
.I /proc/sys/fs/aio\-max\-nr
@@ -71,9 +71,9 @@ .SH ERRORS
.I ctx_idp
is not initialized,
or the specified
-.I nr_events
+.I n
exceeds internal limits.
-.I nr_events
+.I n
should be greater than 0.
.TP
.B ENOMEM
--
2.53.0
next prev parent reply other threads:[~2026-04-08 9:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 9:18 [PATCH v1 0/6] Split io_setup(3) from io_setup.2 Alejandro Colomar
2026-04-08 9:18 ` Alejandro Colomar [this message]
2026-04-08 9:18 ` [PATCH v1 2/6] man/man2/io_setup.2: Update reference (proc(5) => proc_sys_fs(5)) Alejandro Colomar
2026-04-08 9:18 ` [PATCH v1 3/6] man/man2/io_setup.2: ERRORS: Split EINVAL Alejandro Colomar
2026-04-08 9:18 ` [PATCH v1 4/6] man/man2/io_setup.2: ERRORS: It is *ctx_idp that must be initialized Alejandro Colomar
2026-04-08 9:18 ` [PATCH v1 5/6] man/man2/io_setup.2: Use syscall(2) in the SYNOPSIS Alejandro Colomar
2026-04-08 9:18 ` [PATCH v1 6/6] man/man*/io_setup.[23]: Split io_setup(3) from io_setup.2 Alejandro Colomar
2026-04-09 16:50 ` Guillem Jover
2026-04-09 20:39 ` Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6e23fd87b5f9db2ed09f4e90a33e1fcbc203910e.1775639353.git.alx@kernel.org \
--to=alx@kernel.org \
--cc=guillem@debian.org \
--cc=linux-aio@kvack.org \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox