[Bug 261346] kqueue(2) NOTE_EXIT does not mention exit status is in format as set by wait(2)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Jan 2022 21:16:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261346

            Bug ID: 261346
           Summary: kqueue(2) NOTE_EXIT does not mention exit status is in
                    format as set by wait(2)
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: daveb@spectralogic.com
                CC: doc@FreeBSD.org

The FreeBSD kqueue(2) man page says the following about NOTE_WAIT:

"NOTE_EXIT         The process has exited.  The exit status will be stored in
data."

The OpenBSD kqueue(2) man page, however, provides a help detail:

"NOTE_EXIT: The process has exited. The exit status will be stored in data in
the same format as the status set by wait(2)."

That little note in FreeBSD would have saved me several hours.

-- 
You are receiving this mail because:
You are the assignee for the bug.