Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
This commit is contained in:
parent
6683f39fe8
commit
e8cfad37a0
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: aio.3,v 1.3 2010/05/17 19:04:55 jruoho Exp $ $
|
.\" $NetBSD: aio.3,v 1.4 2010/05/17 19:22:31 jruoho Exp $ $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2010 Jukka Ruohonen <jruohonen@iki.fi>
|
.\" Copyright (c) 2010 Jukka Ruohonen <jruohonen@iki.fi>
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -220,9 +220,10 @@ and
|
||||||
must be used to determine the status of the operation and to determine
|
must be used to determine the status of the operation and to determine
|
||||||
any error conditions.
|
any error conditions.
|
||||||
This includes the conditions reported by the standard
|
This includes the conditions reported by the standard
|
||||||
.Xr read 2
|
.Xr read 2 ,
|
||||||
|
.Xr write 2 ,
|
||||||
and
|
and
|
||||||
.Xr write 2 .
|
.Xr fsync 2 .
|
||||||
The request remains enqueued and consumes process and
|
The request remains enqueued and consumes process and
|
||||||
system resources until
|
system resources until
|
||||||
.Fn aio_return
|
.Fn aio_return
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: aio_cancel.3,v 1.3 2007/08/07 20:45:03 wiz Exp $
|
.\" $NetBSD: aio_cancel.3,v 1.4 2010/05/17 19:22:31 jruoho Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1999 Softweyr LLC.
|
.\" Copyright (c) 1999 Softweyr LLC.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_cancel.2,v 1.22 2003/01/13 10:37:11 tjr Exp $
|
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_cancel.2,v 1.22 2003/01/13 10:37:11 tjr Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd May 4, 2007
|
.Dd May 17, 2010
|
||||||
.Dt AIO_CANCEL 3
|
.Dt AIO_CANCEL 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -64,7 +64,7 @@ for file descriptors associated with raw disk devices.
|
||||||
The
|
The
|
||||||
.Fn aio_cancel
|
.Fn aio_cancel
|
||||||
system call returns \-1 to indicate an error, or one of the following:
|
system call returns \-1 to indicate an error, or one of the following:
|
||||||
.Bl -tag -width Dv
|
.Bl -tag -width Er
|
||||||
.It Bq Dv AIO_CANCELED
|
.It Bq Dv AIO_CANCELED
|
||||||
All outstanding requests meeting the criteria specified were cancelled.
|
All outstanding requests meeting the criteria specified were cancelled.
|
||||||
.It Bq Dv AIO_NOTCANCELED
|
.It Bq Dv AIO_NOTCANCELED
|
||||||
|
@ -85,11 +85,7 @@ The
|
||||||
argument is an invalid file descriptor.
|
argument is an invalid file descriptor.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr aio_error 3 ,
|
.Xr aio 3
|
||||||
.Xr aio_read 3 ,
|
|
||||||
.Xr aio_return 3 ,
|
|
||||||
.Xr aio_suspend 3 ,
|
|
||||||
.Xr aio_write 3
|
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Fn aio_cancel
|
.Fn aio_cancel
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: aio_error.3,v 1.3 2007/08/07 20:45:03 wiz Exp $
|
.\" $NetBSD: aio_error.3,v 1.4 2010/05/17 19:22:31 jruoho Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1999 Softweyr LLC.
|
.\" Copyright (c) 1999 Softweyr LLC.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_error.2,v 1.20 2006/09/26 09:47:46 vd Exp $
|
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_error.2,v 1.20 2006/09/26 09:47:46 vd Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd May 4, 2007
|
.Dd May 17, 2010
|
||||||
.Dt AIO_ERROR 3
|
.Dt AIO_ERROR 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -77,11 +77,7 @@ does not reference an outstanding asynchronous I/O request.
|
||||||
.Xr fsync 2 ,
|
.Xr fsync 2 ,
|
||||||
.Xr read 2 ,
|
.Xr read 2 ,
|
||||||
.Xr write 2 ,
|
.Xr write 2 ,
|
||||||
.Xr aio_cancel 3 ,
|
.Xr aio 3
|
||||||
.Xr aio_read 3 ,
|
|
||||||
.Xr aio_return 3 ,
|
|
||||||
.Xr aio_suspend 3 ,
|
|
||||||
.Xr aio_write 3
|
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Fn aio_error
|
.Fn aio_error
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: aio_fsync.3,v 1.5 2009/05/13 12:56:05 wiz Exp $
|
.\" $NetBSD: aio_fsync.3,v 1.6 2010/05/17 19:22:31 jruoho Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2007 The NetBSD Foundation, Inc.
|
.\" Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd June 17, 2007
|
.Dd May 17, 2010
|
||||||
.Dt AIO_FSYNC 3
|
.Dt AIO_FSYNC 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -136,9 +136,7 @@ nor
|
||||||
.Xr fcntl 2 ,
|
.Xr fcntl 2 ,
|
||||||
.Xr fdatasync 2 ,
|
.Xr fdatasync 2 ,
|
||||||
.Xr fsync 2 ,
|
.Xr fsync 2 ,
|
||||||
.Xr aio_error 3 ,
|
.Xr aio 3
|
||||||
.Xr aio_read 3 ,
|
|
||||||
.Xr aio_write 3
|
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Fn aio_fsync
|
.Fn aio_fsync
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: aio_read.3,v 1.3 2007/08/07 20:45:04 wiz Exp $
|
.\" $NetBSD: aio_read.3,v 1.4 2010/05/17 19:22:31 jruoho Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1998 Terry Lambert
|
.\" Copyright (c) 1998 Terry Lambert
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_read.2,v 1.23 2005/12/13 13:43:35 davidxu Exp $
|
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_read.2,v 1.23 2005/12/13 13:43:35 davidxu Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd May 4, 2007
|
.Dd May 17, 2010
|
||||||
.Dt AIO_READ 3
|
.Dt AIO_READ 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -187,11 +187,7 @@ would be invalid.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr siginfo 2 ,
|
.Xr siginfo 2 ,
|
||||||
.Xr aio_cancel 3 ,
|
.Xr aio 3
|
||||||
.Xr aio_error 3 ,
|
|
||||||
.Xr aio_return 3 ,
|
|
||||||
.Xr aio_suspend 3 ,
|
|
||||||
.Xr aio_write 3
|
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Fn aio_read
|
.Fn aio_read
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: aio_return.3,v 1.3 2007/08/07 20:45:04 wiz Exp $
|
.\" $NetBSD: aio_return.3,v 1.4 2010/05/17 19:22:31 jruoho Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1999 Softweyr LLC.
|
.\" Copyright (c) 1999 Softweyr LLC.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_return.2,v 1.19 2006/10/07 10:49:20 trhodes Exp $
|
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_return.2,v 1.19 2006/10/07 10:49:20 trhodes Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd May 4, 2007
|
.Dd May 17, 2010
|
||||||
.Dt AIO_RETURN 3
|
.Dt AIO_RETURN 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -80,10 +80,7 @@ does not reference a completed asynchronous I/O request.
|
||||||
.Xr fsync 2 ,
|
.Xr fsync 2 ,
|
||||||
.Xr read 2 ,
|
.Xr read 2 ,
|
||||||
.Xr write 2 ,
|
.Xr write 2 ,
|
||||||
.Xr aio_cancel 3 ,
|
.Xr aio 3
|
||||||
.Xr aio_error 3 ,
|
|
||||||
.Xr aio_suspend 3 ,
|
|
||||||
.Xr aio_write 3
|
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Fn aio_return
|
.Fn aio_return
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: aio_suspend.3,v 1.3 2007/08/07 20:45:04 wiz Exp $
|
.\" $NetBSD: aio_suspend.3,v 1.4 2010/05/17 19:22:31 jruoho Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1999 Softweyr LLC.
|
.\" Copyright (c) 1999 Softweyr LLC.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_suspend.2,v 1.22 2004/12/23 23:45:25 keramida Exp $
|
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_suspend.2,v 1.22 2004/12/23 23:45:25 keramida Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd May 4, 2007
|
.Dd May 17, 2010
|
||||||
.Dt AIO_SUSPEND 3
|
.Dt AIO_SUSPEND 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -44,7 +44,9 @@ The
|
||||||
system call suspends the calling process until at least one of the
|
system call suspends the calling process until at least one of the
|
||||||
specified asynchronous I/O requests have completed, a signal is
|
specified asynchronous I/O requests have completed, a signal is
|
||||||
delivered, or the
|
delivered, or the
|
||||||
.Fa timeout
|
.Fa struct timeout
|
||||||
|
(see
|
||||||
|
.Xr timespec 3 )
|
||||||
has passed.
|
has passed.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
|
@ -54,16 +56,20 @@ is an array of
|
||||||
.Fa nent
|
.Fa nent
|
||||||
pointers to asynchronous I/O requests.
|
pointers to asynchronous I/O requests.
|
||||||
Array members containing
|
Array members containing
|
||||||
null pointers will be silently ignored.
|
.Dv NULL
|
||||||
|
pointers will be silently ignored.
|
||||||
.Pp
|
.Pp
|
||||||
If
|
If
|
||||||
.Fa timeout
|
.Fa timeout
|
||||||
is not a null pointer, it specifies a maximum interval to suspend.
|
is not a
|
||||||
|
.Dv NULL
|
||||||
|
pointer, it specifies a maximum interval to suspend.
|
||||||
If
|
If
|
||||||
.Fa timeout
|
.Fa timeout
|
||||||
is a null pointer, the suspend blocks indefinitely.
|
is a
|
||||||
To effect a
|
.DV NULL
|
||||||
poll, the
|
pointer, the suspend blocks indefinitely.
|
||||||
|
To effect a poll, the
|
||||||
.Fa timeout
|
.Fa timeout
|
||||||
should point to a zero-value timespec structure.
|
should point to a zero-value timespec structure.
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
|
@ -95,10 +101,8 @@ asynchronous I/O requests, or at least one of the requests is not
|
||||||
valid.
|
valid.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr aio_cancel 3 ,
|
.Xr aio 3 ,
|
||||||
.Xr aio_error 3 ,
|
.Xr timespec 3
|
||||||
.Xr aio_return 3 ,
|
|
||||||
.Xr aio_write 3
|
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Fn aio_suspend
|
.Fn aio_suspend
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: aio_write.3,v 1.3 2007/08/07 20:45:04 wiz Exp $
|
.\" $NetBSD: aio_write.3,v 1.4 2010/05/17 19:22:31 jruoho Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1999 Softweyr LLC.
|
.\" Copyright (c) 1999 Softweyr LLC.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_write.2,v 1.20 2005/12/13 13:43:35 davidxu Exp $
|
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/aio_write.2,v 1.20 2005/12/13 13:43:35 davidxu Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd May 4, 2007
|
.Dd May 17, 2010
|
||||||
.Dt AIO_WRITE 3
|
.Dt AIO_WRITE 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -181,10 +181,7 @@ would be invalid.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr siginfo 2 ,
|
.Xr siginfo 2 ,
|
||||||
.Xr aio_cancel 3 ,
|
.Xr aio 3
|
||||||
.Xr aio_error 3 ,
|
|
||||||
.Xr aio_return 3 ,
|
|
||||||
.Xr aio_suspend 3
|
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Fn aio_write
|
.Fn aio_write
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: lio_listio.3,v 1.2 2007/08/07 20:45:04 wiz Exp $
|
.\" $NetBSD: lio_listio.3,v 1.3 2010/05/17 19:22:31 jruoho Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2003 Tim J. Robbins
|
.\" Copyright (c) 2003 Tim J. Robbins
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/lio_listio.2,v 1.6 2006/10/07 05:13:32 trhodes Exp $
|
.\" $FreeBSD: /repoman/r/ncvs/src/lib/libc/sys/lio_listio.2,v 1.6 2006/10/07 05:13:32 trhodes Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd May 4, 2007
|
.Dd May 17, 2010
|
||||||
.Dt LIO_LISTIO 3
|
.Dt LIO_LISTIO 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -64,7 +64,7 @@ field of each
|
||||||
.Vt aiocb
|
.Vt aiocb
|
||||||
specifies the operation to be performed.
|
specifies the operation to be performed.
|
||||||
The following operations are supported:
|
The following operations are supported:
|
||||||
.Bl -tag -width ".Dv LIO_WRITE"
|
.Bl -tag -width ".Dv LIO_WRITE" -offset indent
|
||||||
.It Dv LIO_READ
|
.It Dv LIO_READ
|
||||||
Read data as if by a call to
|
Read data as if by a call to
|
||||||
.Xr aio_read 3 .
|
.Xr aio_read 3 .
|
||||||
|
@ -164,9 +164,7 @@ structure individually by calling
|
||||||
.Xr read 2 ,
|
.Xr read 2 ,
|
||||||
.Xr siginfo 2 ,
|
.Xr siginfo 2 ,
|
||||||
.Xr write 2 ,
|
.Xr write 2 ,
|
||||||
.Xr aio_error 3 ,
|
.Xr aio 3
|
||||||
.Xr aio_read 3 ,
|
|
||||||
.Xr aio_write 3
|
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Fn lio_listio
|
.Fn lio_listio
|
||||||
|
|
Loading…
Reference in New Issue