git: 74141b7e1ec2 - stable/15 - kqueue.2: document NOTE_PDSIGCHLD
Konstantin Belousov <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.src |
|---|---|
| Message-ID | <6a8124a0.4432b.74b7419__35232.6752546773$1786848725$gmane$org@gitrepo.freebsd.org> |
The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=74141b7e1ec2c61fc6a8877428d912204f139ce3 commit 74141b7e1ec2c61fc6a8877428d912204f139ce3 Author: Konstantin Belousov <[email protected]> AuthorDate: 2026-07-10 15:26:50 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2026-08-16 02:41:29 +0000 kqueue.2: document NOTE_PDSIGCHLD (cherry picked from commit 4cd67a0eea4eba63cf50a45a4665d8700df8d188) --- 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 9bba53b31f72..5e0b80280a81 100644 --- a/lib/libsys/kqueue.2 +++ b/lib/libsys/kqueue.2 @@ -593,11 +593,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,