public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] io_setup.2: SYNOPSIS: return long
@ 2020-11-01 13:59 Alejandro Colomar
  2020-11-02  7:37 ` Michael Kerrisk (man-pages)
  2020-11-13  9:24 ` Michael Kerrisk (man-pages)
  0 siblings, 2 replies; 8+ messages in thread
From: Alejandro Colomar @ 2020-11-01 13:59 UTC (permalink / raw)
  To: mtk.manpages; +Cc: Alejandro Colomar, linux-man

The Linux kernel uses a long as the return type for this syscall.
As glibc provides no wrapper, use the same types the kernel uses.

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---

Hi Michael,

Please apply this patch after "s/io_contexxt_t/aio_context_t/".

Cheers,

Alex

 man2/io_setup.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/io_setup.2 b/man2/io_setup.2
index f9860fda5..1a89de220 100644
--- a/man2/io_setup.2
+++ b/man2/io_setup.2
@@ -11,7 +11,7 @@ io_setup \- create an asynchronous I/O context
 .nf
 .BR "#include <linux/aio_abi.h>" "          /* Defines needed types */"
 .PP
-.BI "int io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp );
+.BI "long io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp );
 .fi
 .PP
 .IR Note :
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-11-13  9:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-01 13:59 [PATCH] io_setup.2: SYNOPSIS: return long Alejandro Colomar
2020-11-02  7:37 ` Michael Kerrisk (man-pages)
2020-11-02 12:20   ` Alejandro Colomar
2020-11-02 13:09     ` Michael Kerrisk (man-pages)
2020-11-02 13:12       ` Alejandro Colomar
2020-11-11 15:39         ` Ping: " Alejandro Colomar
2020-11-13  9:23         ` Michael Kerrisk (man-pages)
2020-11-13  9:24 ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox