diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-07-10 15:26:50 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-07-13 03:12:39 +0000 |
| commit | 4cd67a0eea4eba63cf50a45a4665d8700df8d188 (patch) | |
| tree | 93bf730c20ec1ad789ec9870ceafc0766d8d19e1 | |
| parent | 2a5e58c59694bc719d7ab82abb1c65ee2045329d (diff) | |
kqueue.2: document NOTE_PDSIGCHLD
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D58123
| -rw-r--r-- | lib/libsys/kqueue.2 | 10 |
1 files changed, 9 insertions, 1 deletions
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, |
