git: 513ebe011bf5 - stable/15 - pdfork.2: document EINVAL for pdwait(2)

Konstantin Belousov <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a81248f.451e6.33e1bfc7__15508.1624792487$1786848558$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by kib:

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

commit 513ebe011bf5406429d935c43007e3b67e6484c3
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-05-20 02:05:02 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-08-16 02:41:23 +0000

    pdfork.2: document EINVAL for pdwait(2)
    
    (cherry picked from commit 1cced493289962858c961b06b161b44ca43e7ac7)
---
 lib/libsys/pdfork.2 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/libsys/pdfork.2 b/lib/libsys/pdfork.2
index 3997570d2125..bf433509892a 100644
--- a/lib/libsys/pdfork.2
+++ b/lib/libsys/pdfork.2
@@ -232,6 +232,11 @@ The process descriptor being operated on has insufficient rights (e.g.
 .Dv CAP_PDKILL
 for
 .Fn pdkill ) .
+.It Bq Er EINVAL
+The
+.Fn pdwait
+function is called with reserved bits set in
+.Fa options .
 .El
 .Sh SEE ALSO
 .Xr close 2 ,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.