FreeBSD Bugzilla – Attachment 143692 Details for
Bug 190942
aio_{cancel,error,return,suspend,waitcomplete} don't mention ENOSYS in the ERRORS section
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to manpages noting missing ENOSYS requirement
0001-Add-missing-entries-for-ENOSYS-in-the-aio_-manpages.patch (text/plain), 3.47 KB, created by
Enji Cooper
on 2014-06-11 21:07:54 UTC
(
hide
)
Description:
Patch to manpages noting missing ENOSYS requirement
Filename:
MIME Type:
Creator:
Enji Cooper
Created:
2014-06-11 21:07:54 UTC
Size:
3.47 KB
patch
obsolete
>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/libc/sys/aio_cancel.2 | 4 ++++ > lib/libc/sys/aio_error.2 | 4 ++++ > lib/libc/sys/aio_fsync.2 | 8 ++++---- > lib/libc/sys/aio_return.2 | 4 ++++ > lib/libc/sys/aio_suspend.2 | 4 ++++ > lib/libc/sys/aio_waitcomplete.2 | 8 ++++++-- > 6 files changed, 26 insertions(+), 6 deletions(-) > >diff --git a/lib/libc/sys/aio_cancel.2 b/lib/libc/sys/aio_cancel.2 >index 54e7b39..aa7aa31 100644 >--- a/lib/libc/sys/aio_cancel.2 >+++ b/lib/libc/sys/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/libc/sys/aio_error.2 b/lib/libc/sys/aio_error.2 >index f63a2dd..f14626f 100644 >--- a/lib/libc/sys/aio_error.2 >+++ b/lib/libc/sys/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/libc/sys/aio_fsync.2 b/lib/libc/sys/aio_fsync.2 >index e05bff4..db04f1ff 100644 >--- a/lib/libc/sys/aio_fsync.2 >+++ b/lib/libc/sys/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/libc/sys/aio_return.2 b/lib/libc/sys/aio_return.2 >index 2034f9d..c642293 100644 >--- a/lib/libc/sys/aio_return.2 >+++ b/lib/libc/sys/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/libc/sys/aio_suspend.2 b/lib/libc/sys/aio_suspend.2 >index 5859d15..24cb205 100644 >--- a/lib/libc/sys/aio_suspend.2 >+++ b/lib/libc/sys/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/libc/sys/aio_waitcomplete.2 b/lib/libc/sys/aio_waitcomplete.2 >index 5145f78..5c6dc98 100644 >--- a/lib/libc/sys/aio_waitcomplete.2 >+++ b/lib/libc/sys/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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 190942
: 143692 |
143693