git: 4cd67a0eea4e - main - kqueue.2: document NOTE_PDSIGCHLD

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Mon, 13 Jul 2026 03:12:53 UTC
The branch main has been updated by kib:

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

commit 4cd67a0eea4eba63cf50a45a4665d8700df8d188
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-07-10 15:26:50 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-13 03:12:39 +0000

    kqueue.2: document NOTE_PDSIGCHLD
    
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D58123
---
 lib/libsys/kqueue.2 | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/lib/libsys/kqueue.2 b/lib/libsys/kqueue.2
index 6e2d2df40ead..cc46edc0a248 100644
--- a/lib/libsys/kqueue.2
+++ b/lib/libsys/kqueue.2
@@ -587,11 +587,19 @@ to monitor as the identifier and the events to watch for in
 and returns when the associated process performs one or more of the
 requested events.
 The events to monitor are:
-.Bl -tag -width "Dv NOTE_EXIT"
+.Bl -tag -width "Dv NOTE_PDSIGCHLD"
 .It Dv NOTE_EXIT
 The process has exited.
 The exit status will be stored in
 .Va data .
+.It Dv NOTE_PDSIGCHLD
+Activates on events that are reported through
+.Xr pdwait 2
+on the process descriptor.
+After the event is reported, the
+.Xr pdwait 2
+can be called to obtain the information about the process
+status change.
 .El
 .Pp
 On return,