s%linux/aio.h%libaio.h% in SYNOPSIS

changed return type from "long" to "int"
This commit is contained in:
Michael Kerrisk 2006-12-01 04:23:44 +00:00
parent ee930c498f
commit e2b013adbc
5 changed files with 13 additions and 9 deletions

View File

@ -27,10 +27,11 @@ io_cancel \- Cancel an outstanding asynchronous I/O operation
.ad l
.hy 0
#include <linux/aio.h>
#include <libaio.>
.\"#include <linux/aio.h>
.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

View File

@ -27,10 +27,11 @@ io_destroy \- Destroy an asynchronous I/O context
.ad l
.hy 0
#include <linux/aio.h>
#include <libaio.h>
.\" #include <linux/aio.h>
.sp
.HP 17
long\ \fBio_destroy\fR\ (aio_context_t\ \fIctx\fR);
int\ \fBio_destroy\fR\ (aio_context_t\ \fIctx\fR);
.ad
.hy

View File

@ -31,11 +31,12 @@ io_getevents \- Read asynchronous I/O events from the completion queue
.sp
#include <linux/aio.h>
#include <libaio.h>
.\" #include <linux/aio.h>
.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

View File

@ -27,10 +27,11 @@ io_setup \- Create an asynchronous I/O context
.ad l
.hy 0
#include <linux/aio.h>
#include <libaio.h>
.\" #include <linux/aio.h>
.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

View File

@ -30,7 +30,7 @@ io_submit \- Submit asynchronous I/O blocks for processing
#include <linux/aio.h>
.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