[Bug 190942] aio_{cancel,error,return,suspend,waitcomplete} don't mention ENOSYS in the ERRORS section

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Mar 2025 04:51:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190942

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=d97e44784bb5a510b7af7593c86cfbcff73855c4

commit d97e44784bb5a510b7af7593c86cfbcff73855c4
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2025-03-25 21:57:52 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2025-03-26 04:49:33 +0000

    aio_*(2): mention ENOSYS under ERRORS

    ENOSYS can occur if aio(4) is not loaded in the kernel. Document this
    behavior so consumers on FreeBSD can better understand that this is a
    possible scenario.

    Clean up the manpages slightly while here:
    - Sort `ERRORS` by errno(3).
    - Use `.Fx` instead of `FreeBSD`.

    MFC after:      2 weeks
    Reviewed by:    ziaee
    PR:             190942
    Differential Revision: https://reviews.freebsd.org/D49502

 lib/libsys/aio_cancel.2       |  7 +++++++
 lib/libsys/aio_error.2        |  7 +++++++
 lib/libsys/aio_fsync.2        |  7 +++++++
 lib/libsys/aio_mlock.2        |  7 +++++++
 lib/libsys/aio_read.2         | 11 ++++++++++-
 lib/libsys/aio_return.2       |  7 +++++++
 lib/libsys/aio_suspend.2      |  7 +++++++
 lib/libsys/aio_waitcomplete.2 | 11 +++++++++--
 lib/libsys/aio_write.2        | 11 ++++++++++-
 9 files changed, 71 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.