[PATCH v1 1/6] man/man2/io_setup.2: Reduce parameter name

Alejandro Colomar
2026-04-08T09:18:33Z

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