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:
jruoho 2010-05-17 19:22:31 +00:00
parent 6683f39fe8
commit e8cfad37a0
9 changed files with 43 additions and 60 deletions

View File

@ -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>
.\" All rights reserved.
@ -220,9 +220,10 @@ and
must be used to determine the status of the operation and to determine
any error conditions.
This includes the conditions reported by the standard
.Xr read 2
.Xr read 2 ,
.Xr write 2 ,
and
.Xr write 2 .
.Xr fsync 2 .
The request remains enqueued and consumes process and
system resources until
.Fn aio_return

View File

@ -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.
.\" 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 $
.\"
.Dd May 4, 2007
.Dd May 17, 2010
.Dt AIO_CANCEL 3
.Os
.Sh NAME
@ -64,7 +64,7 @@ for file descriptors associated with raw disk devices.
The
.Fn aio_cancel
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
All outstanding requests meeting the criteria specified were cancelled.
.It Bq Dv AIO_NOTCANCELED
@ -85,11 +85,7 @@ The
argument is an invalid file descriptor.
.El
.Sh SEE ALSO
.Xr aio_error 3 ,
.Xr aio_read 3 ,
.Xr aio_return 3 ,
.Xr aio_suspend 3 ,
.Xr aio_write 3
.Xr aio 3
.Sh STANDARDS
The
.Fn aio_cancel

View File

@ -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.
.\" 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 $
.\"
.Dd May 4, 2007
.Dd May 17, 2010
.Dt AIO_ERROR 3
.Os
.Sh NAME
@ -77,11 +77,7 @@ does not reference an outstanding asynchronous I/O request.
.Xr fsync 2 ,
.Xr read 2 ,
.Xr write 2 ,
.Xr aio_cancel 3 ,
.Xr aio_read 3 ,
.Xr aio_return 3 ,
.Xr aio_suspend 3 ,
.Xr aio_write 3
.Xr aio 3
.Sh STANDARDS
The
.Fn aio_error

View File

@ -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.
.\" All rights reserved.
@ -24,7 +24,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd June 17, 2007
.Dd May 17, 2010
.Dt AIO_FSYNC 3
.Os
.Sh NAME
@ -136,9 +136,7 @@ nor
.Xr fcntl 2 ,
.Xr fdatasync 2 ,
.Xr fsync 2 ,
.Xr aio_error 3 ,
.Xr aio_read 3 ,
.Xr aio_write 3
.Xr aio 3
.Sh STANDARDS
The
.Fn aio_fsync

View File

@ -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
.\" 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 $
.\"
.Dd May 4, 2007
.Dd May 17, 2010
.Dt AIO_READ 3
.Os
.Sh NAME
@ -187,11 +187,7 @@ would be invalid.
.El
.Sh SEE ALSO
.Xr siginfo 2 ,
.Xr aio_cancel 3 ,
.Xr aio_error 3 ,
.Xr aio_return 3 ,
.Xr aio_suspend 3 ,
.Xr aio_write 3
.Xr aio 3
.Sh STANDARDS
The
.Fn aio_read

View File

@ -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.
.\" 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 $
.\"
.Dd May 4, 2007
.Dd May 17, 2010
.Dt AIO_RETURN 3
.Os
.Sh NAME
@ -80,10 +80,7 @@ does not reference a completed asynchronous I/O request.
.Xr fsync 2 ,
.Xr read 2 ,
.Xr write 2 ,
.Xr aio_cancel 3 ,
.Xr aio_error 3 ,
.Xr aio_suspend 3 ,
.Xr aio_write 3
.Xr aio 3
.Sh STANDARDS
The
.Fn aio_return

View File

@ -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.
.\" 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 $
.\"
.Dd May 4, 2007
.Dd May 17, 2010
.Dt AIO_SUSPEND 3
.Os
.Sh NAME
@ -44,7 +44,9 @@ The
system call suspends the calling process until at least one of the
specified asynchronous I/O requests have completed, a signal is
delivered, or the
.Fa timeout
.Fa struct timeout
(see
.Xr timespec 3 )
has passed.
.Pp
The
@ -54,16 +56,20 @@ is an array of
.Fa nent
pointers to asynchronous I/O requests.
Array members containing
null pointers will be silently ignored.
.Dv NULL
pointers will be silently ignored.
.Pp
If
.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
.Fa timeout
is a null pointer, the suspend blocks indefinitely.
To effect a
poll, the
is a
.DV NULL
pointer, the suspend blocks indefinitely.
To effect a poll, the
.Fa timeout
should point to a zero-value timespec structure.
.Sh RETURN VALUES
@ -95,10 +101,8 @@ asynchronous I/O requests, or at least one of the requests is not
valid.
.El
.Sh SEE ALSO
.Xr aio_cancel 3 ,
.Xr aio_error 3 ,
.Xr aio_return 3 ,
.Xr aio_write 3
.Xr aio 3 ,
.Xr timespec 3
.Sh STANDARDS
The
.Fn aio_suspend

View File

@ -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.
.\" 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 $
.\"
.Dd May 4, 2007
.Dd May 17, 2010
.Dt AIO_WRITE 3
.Os
.Sh NAME
@ -181,10 +181,7 @@ would be invalid.
.El
.Sh SEE ALSO
.Xr siginfo 2 ,
.Xr aio_cancel 3 ,
.Xr aio_error 3 ,
.Xr aio_return 3 ,
.Xr aio_suspend 3
.Xr aio 3
.Sh STANDARDS
The
.Fn aio_write

View File

@ -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
.\" 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 $
.\"
.Dd May 4, 2007
.Dd May 17, 2010
.Dt LIO_LISTIO 3
.Os
.Sh NAME
@ -64,7 +64,7 @@ field of each
.Vt aiocb
specifies the operation to be performed.
The following operations are supported:
.Bl -tag -width ".Dv LIO_WRITE"
.Bl -tag -width ".Dv LIO_WRITE" -offset indent
.It Dv LIO_READ
Read data as if by a call to
.Xr aio_read 3 .
@ -164,9 +164,7 @@ structure individually by calling
.Xr read 2 ,
.Xr siginfo 2 ,
.Xr write 2 ,
.Xr aio_error 3 ,
.Xr aio_read 3 ,
.Xr aio_write 3
.Xr aio 3
.Sh STANDARDS
The
.Fn lio_listio