diff --git a/man2/io_cancel.2 b/man2/io_cancel.2 index e9cc31d9d..d21f4d35f 100644 --- a/man2/io_cancel.2 +++ b/man2/io_cancel.2 @@ -27,10 +27,11 @@ io_cancel \- Cancel an outstanding asynchronous I/O operation .ad l .hy 0 -#include +#include +.\"#include .sp .HP 16 -long\ \fBio_cancel\fR\ (aio_context_t\ \fIctx_id\fR, struct\ iocb\ \fI*iocb\fR, struct\ io_event\ \fI*result\fR); +int\ \fBio_cancel\fR\ (aio_context_t\ \fIctx_id\fR, struct\ iocb\ \fI*iocb\fR, struct\ io_event\ \fI*result\fR); .ad .hy diff --git a/man2/io_destroy.2 b/man2/io_destroy.2 index 3735210ee..b581a3241 100644 --- a/man2/io_destroy.2 +++ b/man2/io_destroy.2 @@ -27,10 +27,11 @@ io_destroy \- Destroy an asynchronous I/O context .ad l .hy 0 -#include +#include +.\" #include .sp .HP 17 -long\ \fBio_destroy\fR\ (aio_context_t\ \fIctx\fR); +int\ \fBio_destroy\fR\ (aio_context_t\ \fIctx\fR); .ad .hy diff --git a/man2/io_getevents.2 b/man2/io_getevents.2 index cc4cda9bd..61be40cbb 100644 --- a/man2/io_getevents.2 +++ b/man2/io_getevents.2 @@ -31,11 +31,12 @@ io_getevents \- Read asynchronous I/O events from the completion queue .sp -#include +#include +.\" #include .sp .HP 19 -long\ \fBio_getevents\fR\ (aio_context_t\ \fIctx_id\fR, long\ \fImin_nr\fR, long\ \fInr\fR, struct\ io_event\ \fI*events\fR, struct\ timespec\ \fI*timeout\fR); +int\ \fBio_getevents\fR\ (aio_context_t\ \fIctx_id\fR, long\ \fImin_nr\fR, long\ \fInr\fR, struct\ io_event\ \fI*events\fR, struct\ timespec\ \fI*timeout\fR); .ad .hy diff --git a/man2/io_setup.2 b/man2/io_setup.2 index 8158f7206..ae3f3fcdc 100644 --- a/man2/io_setup.2 +++ b/man2/io_setup.2 @@ -27,10 +27,11 @@ io_setup \- Create an asynchronous I/O context .ad l .hy 0 -#include +#include +.\" #include .sp .HP 15 -long\ \fBio_setup\fR\ (unsigned\ \fInr_events\fR, aio_context_t\ \fI*ctxp\fR); +int\ \fBio_setup\fR\ (unsigned\ \fInr_events\fR, aio_context_t\ \fI*ctxp\fR); .ad .hy diff --git a/man2/io_submit.2 b/man2/io_submit.2 index c18322fae..272eeac81 100644 --- a/man2/io_submit.2 +++ b/man2/io_submit.2 @@ -30,7 +30,7 @@ io_submit \- Submit asynchronous I/O blocks for processing #include .sp .HP 16 -long\ \fBio_submit\fR\ (aio_context_t\ \fIctx_id\fR, long\ \fInr\fR, struct\ iocb\ \fI**iocbpp\fR); +int\ \fBio_submit\fR\ (aio_context_t\ \fIctx_id\fR, long\ \fInr\fR, struct\ iocb\ \fI**iocbpp\fR); .ad .hy