From 40fb2775c9823ceaf064ea672695876fbcc612d4 Mon Sep 17 00:00:00 2001 From: Garrett Cooper <yanegomi@gmail.com> Date: Wed, 11 Jun 2014 13:20:35 -0700 Subject: [PATCH] Add missing entries for ENOSYS in the aio_* manpages Sort the ERRORS sections where needed Sponsored by: EMC / Isilon Storage Division --- lib/libsys/aio_cancel.2 | 4 ++++ lib/libsys/aio_error.2 | 4 ++++ lib/libsys/aio_fsync.2 | 8 ++++---- lib/libsys/aio_return.2 | 4 ++++ lib/libsys/aio_suspend.2 | 4 ++++ lib/libsys/aio_waitcomplete.2 | 8 ++++++-- 6 files changed, 26 insertions(+), 6 deletions(-) diff --git a/lib/libsys/aio_cancel.2 b/lib/libsys/aio_cancel.2 index 54e7b39..aa7aa31 100644 --- a/lib/libsys/aio_cancel.2 +++ b/lib/libsys/aio_cancel.2 @@ -82,6 +82,10 @@ The .Fa fildes argument is an invalid file descriptor. +.It Bq Er ENOSYS +The +.Fn aio_cancel +system call is not supported. .El .Sh SEE ALSO .Xr aio_error 2 , diff --git a/lib/libsys/aio_error.2 b/lib/libsys/aio_error.2 index f63a2dd..f14626f 100644 --- a/lib/libsys/aio_error.2 +++ b/lib/libsys/aio_error.2 @@ -72,6 +72,10 @@ The .Fa iocb argument does not reference an outstanding asynchronous I/O request. +.It Bq Er ENOSYS +The +.Fn aio_error +system call is not supported. .El .Sh SEE ALSO .Xr aio_cancel 2 , diff --git a/lib/libsys/aio_fsync.2 b/lib/libsys/aio_fsync.2 index e05bff4..db04f1ff 100644 --- a/lib/libsys/aio_fsync.2 +++ b/lib/libsys/aio_fsync.2 @@ -80,15 +80,15 @@ system call will fail if: .Bl -tag -width Er .It Bq Er EAGAIN The request was not queued because of system resource limitations. -.It Bq Er ENOSYS -The -.Fn aio_fsync -system call is not supported. .It Bq Er EINVAL A value of the .Fa op argument is not set to .Dv O_SYNC . +.It Bq Er ENOSYS +The +.Fn aio_fsync +system call is not supported. .El .Pp The following conditions may be synchronously detected when the diff --git a/lib/libsys/aio_return.2 b/lib/libsys/aio_return.2 index 2034f9d..c642293 100644 --- a/lib/libsys/aio_return.2 +++ b/lib/libsys/aio_return.2 @@ -73,6 +73,10 @@ The .Fa iocb argument does not reference a completed asynchronous I/O request. +.It Bq Er ENOSYS +The +.Fn aio_return +system call is not supported. .El .Sh SEE ALSO .Xr aio_cancel 2 , diff --git a/lib/libsys/aio_suspend.2 b/lib/libsys/aio_suspend.2 index 5859d15..24cb205 100644 --- a/lib/libsys/aio_suspend.2 +++ b/lib/libsys/aio_suspend.2 @@ -91,6 +91,10 @@ 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. +.It Bq Er ENOSYS +The +.Fn aio_suspend +system call is not supported. .El .Sh SEE ALSO .Xr aio_cancel 2 , diff --git a/lib/libsys/aio_waitcomplete.2 b/lib/libsys/aio_waitcomplete.2 index 5145f78..5c6dc98 100644 --- a/lib/libsys/aio_waitcomplete.2 +++ b/lib/libsys/aio_waitcomplete.2 @@ -93,8 +93,6 @@ The .Fn aio_waitcomplete system call fails if: .Bl -tag -width Er -.It Bq Er EINVAL -The specified time limit is invalid. .It Bq Er EAGAIN The process has not yet called .Fn aio_read @@ -103,6 +101,12 @@ or .It Bq Er EINTR A signal was delivered before the timeout expired and before any asynchronous I/O requests completed. +.It Bq Er EINVAL +The specified time limit is invalid. +.It Bq Er ENOSYS +The +.Fn aio_waitcomplete +system call is not supported. .It Bq Er EWOULDBLOCK .It Bq Er EINPROGRESS The specified time limit expired before any asynchronous I/O requests -- 1.7.9