mirror of https://github.com/mkerrisk/man-pages
io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2: srcfix: remove old commented-out formatting directives
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
aea038d640
commit
dd3ec6febb
|
@ -2,40 +2,16 @@
|
||||||
.\" This file is distributed according to the GNU General Public License.
|
.\" This file is distributed according to the GNU General Public License.
|
||||||
.\" See the file COPYING in the top level source directory for details.
|
.\" See the file COPYING in the top level source directory for details.
|
||||||
.\"
|
.\"
|
||||||
.\" .de Sh \" Subsection
|
|
||||||
.\" .br
|
|
||||||
.\" .if t .Sp
|
|
||||||
.\" .ne 5
|
|
||||||
.\" .PP
|
|
||||||
.\" \fB\\$1\fP
|
|
||||||
.\" .PP
|
|
||||||
.\" ..
|
|
||||||
.\" .de Sp \" Vertical space (when we can't use .PP)
|
|
||||||
.\" .if t .sp .5v
|
|
||||||
.\" .if n .sp
|
|
||||||
.\" ..
|
|
||||||
.\" .de Ip \" List item
|
|
||||||
.\" .br
|
|
||||||
.\" .ie \\n(.$>=3 .ne \\$3
|
|
||||||
.\" .el .ne 3
|
|
||||||
.\" .IP "\\$1" \\$2
|
|
||||||
.\" ..
|
|
||||||
.TH IO_CANCEL 2 2008-06-18 "Linux" "Linux Programmer's Manual"
|
.TH IO_CANCEL 2 2008-06-18 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
io_cancel \- cancel an outstanding asynchronous I/O operation
|
io_cancel \- cancel an outstanding asynchronous I/O operation
|
||||||
.SH "SYNOPSIS"
|
.SH "SYNOPSIS"
|
||||||
.nf
|
.nf
|
||||||
.\" .ad l
|
|
||||||
.\" .hy 0
|
|
||||||
.\"
|
|
||||||
.B #include <libaio.h>
|
.B #include <libaio.h>
|
||||||
.\"#include <linux/aio.h>
|
.\"#include <linux/aio.h>
|
||||||
.sp
|
.sp
|
||||||
.\" .HP 16
|
|
||||||
.BI "int io_cancel(aio_context_t " ctx_id ", struct iocb *" iocb ,
|
.BI "int io_cancel(aio_context_t " ctx_id ", struct iocb *" iocb ,
|
||||||
.BI " struct io_event *" result );
|
.BI " struct io_event *" result );
|
||||||
.\" .ad
|
|
||||||
.\" .hy
|
|
||||||
.sp
|
.sp
|
||||||
Link with \fI\-laio\fP.
|
Link with \fI\-laio\fP.
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -2,38 +2,16 @@
|
||||||
.\" This file is distributed according to the GNU General Public License.
|
.\" This file is distributed according to the GNU General Public License.
|
||||||
.\" See the file COPYING in the top level source directory for details.
|
.\" See the file COPYING in the top level source directory for details.
|
||||||
.\"
|
.\"
|
||||||
.\" .de Sh \" Subsection
|
|
||||||
.\" .br
|
|
||||||
.\" .if t .Sp
|
|
||||||
.\" .ne 5
|
|
||||||
.\" .PP
|
|
||||||
.\" \fB\\$1\fP
|
|
||||||
.\" .PP
|
|
||||||
.\" ..
|
|
||||||
.\" .de Sp \" Vertical space (when we can't use .PP)
|
|
||||||
.\" .if t .sp .5v
|
|
||||||
.\" .if n .sp
|
|
||||||
.\" ..
|
|
||||||
.\" .de Ip \" List item
|
|
||||||
.\" .br
|
|
||||||
.\" .ie \\n(.$>=3 .ne \\$3
|
|
||||||
.\" .el .ne 3
|
|
||||||
.\" .IP "\\$1" \\$2
|
|
||||||
.\" ..
|
.\" ..
|
||||||
.TH IO_DESTROY 2 2008-06-18 "Linux" "Linux Programmer's Manual"
|
.TH IO_DESTROY 2 2008-06-18 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
io_destroy \- destroy an asynchronous I/O context
|
io_destroy \- destroy an asynchronous I/O context
|
||||||
.SH "SYNOPSIS"
|
.SH "SYNOPSIS"
|
||||||
.nf
|
.nf
|
||||||
.\" .ad l
|
|
||||||
.\" .hy 0
|
|
||||||
.B #include <libaio.h>
|
.B #include <libaio.h>
|
||||||
.\" #include <linux/aio.h>
|
.\" #include <linux/aio.h>
|
||||||
.sp
|
.sp
|
||||||
.\" .HP 17
|
|
||||||
.BI "int io_destroy(aio_context_t " ctx );
|
.BI "int io_destroy(aio_context_t " ctx );
|
||||||
.\" .ad
|
|
||||||
.\" .hy
|
|
||||||
.sp
|
.sp
|
||||||
Link with \fI\-laio\fP.
|
Link with \fI\-laio\fP.
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -2,41 +2,18 @@
|
||||||
.\" This file is distributed according to the GNU General Public License.
|
.\" This file is distributed according to the GNU General Public License.
|
||||||
.\" See the file COPYING in the top level source directory for details.
|
.\" See the file COPYING in the top level source directory for details.
|
||||||
.\"
|
.\"
|
||||||
.\" .de Sh \" Subsection
|
|
||||||
.\" .br
|
|
||||||
.\" .if t .Sp
|
|
||||||
.\" .ne 5
|
|
||||||
.\" .PP
|
|
||||||
.\" \fB\\$1\fP
|
|
||||||
.\" .PP
|
|
||||||
.\" ..
|
|
||||||
.\" .de Sp \" Vertical space (when we can't use .PP)
|
|
||||||
.\" .if t .sp .5v
|
|
||||||
.\" .if n .sp
|
|
||||||
.\" ..
|
|
||||||
.\" .de Ip \" List item
|
|
||||||
.\" .br
|
|
||||||
.\" .ie \\n(.$>=3 .ne \\$3
|
|
||||||
.\" .el .ne 3
|
|
||||||
.\" .IP "\\$1" \\$2
|
|
||||||
.\" ..
|
|
||||||
.TH IO_GETEVENTS 2 2008-07-04 "Linux" "Linux Programmer's Manual"
|
.TH IO_GETEVENTS 2 2008-07-04 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
io_getevents \- read asynchronous I/O events from the completion queue
|
io_getevents \- read asynchronous I/O events from the completion queue
|
||||||
.SH "SYNOPSIS"
|
.SH "SYNOPSIS"
|
||||||
.nf
|
.nf
|
||||||
.\" .ad l
|
|
||||||
.\" .hy 0
|
|
||||||
.B #include <linux/time.h>
|
.B #include <linux/time.h>
|
||||||
.B #include <libaio.h>
|
.B #include <libaio.h>
|
||||||
.\" #include <linux/aio.h>
|
.\" #include <linux/aio.h>
|
||||||
.sp
|
.sp
|
||||||
.\" .HP 19
|
|
||||||
.BI "int io_getevents(aio_context_t " ctx_id ", long " min_nr ", long " nr ,
|
.BI "int io_getevents(aio_context_t " ctx_id ", long " min_nr ", long " nr ,
|
||||||
.BI " struct io_event *" events \
|
.BI " struct io_event *" events \
|
||||||
", struct timespec *" timeout );
|
", struct timespec *" timeout );
|
||||||
.\" .ad
|
|
||||||
.\" .hy
|
|
||||||
.sp
|
.sp
|
||||||
Link with \fI\-laio\fP.
|
Link with \fI\-laio\fP.
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -2,38 +2,15 @@
|
||||||
.\" This file is distributed according to the GNU General Public License.
|
.\" This file is distributed according to the GNU General Public License.
|
||||||
.\" See the file COPYING in the top level source directory for details.
|
.\" See the file COPYING in the top level source directory for details.
|
||||||
.\"
|
.\"
|
||||||
.\" .de Sh \" Subsection
|
|
||||||
.\" .br
|
|
||||||
.\" .if t .Sp
|
|
||||||
.\" .ne 5
|
|
||||||
.\" .PP
|
|
||||||
.\" \fB\\$1\fP
|
|
||||||
.\" .PP
|
|
||||||
.\" ..
|
|
||||||
.\" .de Sp \" Vertical space (when we can't use .PP)
|
|
||||||
.\" .if t .sp .5v
|
|
||||||
.\" .if n .sp
|
|
||||||
.\" ..
|
|
||||||
.\" .de Ip \" List item
|
|
||||||
.\" .br
|
|
||||||
.\" .ie \\n(.$>=3 .ne \\$3
|
|
||||||
.\" .el .ne 3
|
|
||||||
.\" .IP "\\$1" \\$2
|
|
||||||
.\" ..
|
|
||||||
.TH IO_SETUP 2 2008-06-18 "Linux" "Linux Programmer's Manual"
|
.TH IO_SETUP 2 2008-06-18 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
io_setup \- create an asynchronous I/O context
|
io_setup \- create an asynchronous I/O context
|
||||||
.SH "SYNOPSIS"
|
.SH "SYNOPSIS"
|
||||||
.nf
|
.nf
|
||||||
.\" .ad l
|
|
||||||
.\" .hy 0
|
|
||||||
.B #include <libaio.h>
|
.B #include <libaio.h>
|
||||||
.\" #include <linux/aio.h>
|
.\" #include <linux/aio.h>
|
||||||
.sp
|
.sp
|
||||||
.\" .HP 15
|
|
||||||
.BI "int io_setup(unsigned " nr_events ", aio_context_t *" ctxp );
|
.BI "int io_setup(unsigned " nr_events ", aio_context_t *" ctxp );
|
||||||
.\" .ad
|
|
||||||
.\" .hy
|
|
||||||
.sp
|
.sp
|
||||||
Link with \fI\-laio\fP.
|
Link with \fI\-laio\fP.
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -2,39 +2,16 @@
|
||||||
.\" This file is distributed according to the GNU General Public License.
|
.\" This file is distributed according to the GNU General Public License.
|
||||||
.\" See the file COPYING in the top level source directory for details.
|
.\" See the file COPYING in the top level source directory for details.
|
||||||
.\"
|
.\"
|
||||||
.\" .de Sh \" Subsection
|
|
||||||
.\" .br
|
|
||||||
.\" .if t .Sp
|
|
||||||
.\" .ne 5
|
|
||||||
.\" .PP
|
|
||||||
.\" \fB\\$1\fP
|
|
||||||
.\" .PP
|
|
||||||
.\" ..
|
|
||||||
.\" .de Sp \" Vertical space (when we can't use .PP)
|
|
||||||
.\" .if t .sp .5v
|
|
||||||
.\" .if n .sp
|
|
||||||
.\" ..
|
|
||||||
.\" .de Ip \" List item
|
|
||||||
.\" .br
|
|
||||||
.\" .ie \\n(.$>=3 .ne \\$3
|
|
||||||
.\" .el .ne 3
|
|
||||||
.\" .IP "\\$1" \\$2
|
|
||||||
.\" ..
|
|
||||||
.TH IO_SUBMIT 2 2008-06-18 "Linux" "Linux Programmer's Manual"
|
.TH IO_SUBMIT 2 2008-06-18 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
io_submit \- submit asynchronous I/O blocks for processing
|
io_submit \- submit asynchronous I/O blocks for processing
|
||||||
.SH "SYNOPSIS"
|
.SH "SYNOPSIS"
|
||||||
.nf
|
.nf
|
||||||
.\" .ad l
|
|
||||||
.\" .hy 0
|
|
||||||
.B #include <libaio.h>
|
.B #include <libaio.h>
|
||||||
.\" #include <linux/aio.h>
|
.\" #include <linux/aio.h>
|
||||||
.sp
|
.sp
|
||||||
.\" .HP 16
|
|
||||||
.BI "int io_submit(aio_context_t " ctx_id ", long " nr \
|
.BI "int io_submit(aio_context_t " ctx_id ", long " nr \
|
||||||
", struct iocb **" iocbpp );
|
", struct iocb **" iocbpp );
|
||||||
.\" .ad
|
|
||||||
.\" .hy
|
|
||||||
.sp
|
.sp
|
||||||
Link with \fI\-laio\fP.
|
Link with \fI\-laio\fP.
|
||||||
.fi
|
.fi
|
||||||
|
|
Loading…
Reference in New Issue