From 880c56a4e17de6b1a2c623a1ed16876c0cc9f2df Mon Sep 17 00:00:00 2001 From: mpp Date: Thu, 1 Jul 1999 21:09:57 +0000 Subject: Fix typos/spelling errors. --- lib/libc/sys/aio_cancel.2 | 4 ++-- lib/libc/sys/aio_error.2 | 4 ++-- lib/libc/sys/aio_read.2 | 3 ++- lib/libc/sys/aio_return.2 | 4 ++-- lib/libc/sys/aio_suspend.2 | 6 +++--- lib/libc/sys/aio_write.2 | 12 ++++++------ 6 files changed, 17 insertions(+), 16 deletions(-) diff --git a/lib/libc/sys/aio_cancel.2 b/lib/libc/sys/aio_cancel.2 index 2923a63..8048081 100644 --- a/lib/libc/sys/aio_cancel.2 +++ b/lib/libc/sys/aio_cancel.2 @@ -22,14 +22,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: aio_cancel.2,v 1.1 1999/07/01 19:58:08 wes Exp $ .\" .Dd June 2, 1999 .Dt AIO_CANCEL 2 .Os .Sh NAME .Nm aio_cancel -.Nd cancel an outstanding asynchronus I/O operation (REALTIME) +.Nd cancel an outstanding asynchronous I/O operation (REALTIME) .Sh SYNOPSIS .Fd #include .Ft int diff --git a/lib/libc/sys/aio_error.2 b/lib/libc/sys/aio_error.2 index c0a7551..1e5f250 100644 --- a/lib/libc/sys/aio_error.2 +++ b/lib/libc/sys/aio_error.2 @@ -22,14 +22,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: aio_error.2,v 1.1 1999/07/01 19:58:09 wes Exp $ .\" .Dd June 2, 1999 .Dt AIO_ERROR 2 .Os .Sh NAME .Nm aio_error -.Nd retrieve error status of asynchronus I/O operation (REALTIME) +.Nd retrieve error status of asynchronous I/O operation (REALTIME) .Sh SYNOPSIS .Fd #include .Ft int diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2 index 524daaf..f5e19e1 100644 --- a/lib/libc/sys/aio_read.2 +++ b/lib/libc/sys/aio_read.2 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: aio_read.2,v 1.1 1998/11/19 04:07:55 jkoshy Exp $ +.\" $Id: aio_read.2,v 1.3 1999/07/01 19:58:10 wes Exp $ .\" .Dd November 17, 1998 .Dt AIO_READ 2 @@ -31,6 +31,7 @@ .Nm aio_read .Nd asynchronous read from a file (REALTIME) .Sh SYNOPSIS +.Fd #include .Fd #include .Ft int .Fn aio_read "struct aiocb *iocb" diff --git a/lib/libc/sys/aio_return.2 b/lib/libc/sys/aio_return.2 index 82baae2..b5b863c 100644 --- a/lib/libc/sys/aio_return.2 +++ b/lib/libc/sys/aio_return.2 @@ -22,14 +22,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: aio_return.2,v 1.1 1999/07/01 19:58:11 wes Exp $ .\" .Dd June 2, 1999 .Dt AIO_RETURN 2 .Os .Sh NAME .Nm aio_return -.Nd retrieve return status of asynchronus I/O operation (REALTIME) +.Nd retrieve return status of asynchronous I/O operation (REALTIME) .Sh SYNOPSIS .Fd #include .Ft int diff --git a/lib/libc/sys/aio_suspend.2 b/lib/libc/sys/aio_suspend.2 index 01c635c..777429e 100644 --- a/lib/libc/sys/aio_suspend.2 +++ b/lib/libc/sys/aio_suspend.2 @@ -22,14 +22,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: aio_suspend.2,v 1.1 1999/07/01 19:58:11 wes Exp $ .\" .Dd June 2, 1999 .Dt AIO_SUSPEND 2 .Os .Sh NAME .Nm aio_suspend -.Nd suspend until asynchronus I/O operations or timeout complete (REALTIME) +.Nd suspend until asynchronous I/O operations or timeout complete (REALTIME) .Sh SYNOPSIS .Fd #include .Ft int @@ -69,7 +69,7 @@ function will fail if: .It Bq Er EINVAL .Ar iocbs contains more than -.Dv AIO_LISTIO_MAX aysynchronous I/O requests, or at least one +.Dv AIO_LISTIO_MAX asynchronous I/O requests, or at least one of the requests is not valid. .It Bq Er EINTR the suspend was interrupted by a signal. diff --git a/lib/libc/sys/aio_write.2 b/lib/libc/sys/aio_write.2 index 231ea73c..b44a1cb 100644 --- a/lib/libc/sys/aio_write.2 +++ b/lib/libc/sys/aio_write.2 @@ -22,14 +22,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: aio_write.2,v 1.1 1999/07/01 19:58:12 wes Exp $ .\" .Dd June 2, 1999 .Dt AIO_WRITE 2 .Os .Sh NAME .Nm aio_write -.Nd asynchronus write to a file (REALTIME) +.Nd asynchronous write to a file (REALTIME) .Sh SYNOPSIS .Fd #include .Ft int @@ -131,7 +131,7 @@ appropriately; otherwise the .Fn aio_return function must be called, and will return -1, and .Fn aio_error -must be called to determine the actual calue that would have been +must be called to determine the actual value that would have been returned in .Ar errno . .Pp @@ -149,7 +149,7 @@ is not a valid priority, or the number of bytes specified by is not valid. .El .Pp -If the request is successfully enqueued, but subsequently cancelled +If the request is successfully enqueued, but subsequently canceled or an error occurs, the value returned by the .Fn aio_return function is per the @@ -164,7 +164,7 @@ call, or one of: .Ar iocb->aio_fildes is invalid for writing. .It Bq Er ECANCELED -The request was explicitly cancelled via a call to +The request was explicitly canceled via a call to .Fn aio_cancel . .It Bq Er EINVAL The offset @@ -185,7 +185,7 @@ Function first appeared in This manual page was written by .An Wes Peters Aq wes@softweyr.com . .Sh BUGS -Asynchronous I/O operations cannot be cancelled in this implementation. +Asynchronous I/O operations cannot be canceled in this implementation. Invalid information in .Ar iocb->_aiocb_private may confuse the kernel. -- cgit v1.1