kqueue(2): Add note about format of the data for NOTE_EXIT

Noted by:	Dave Baukus <daveb@spectralogic.com>
PR:	261346
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Konstantin Belousov 2022-01-20 00:35:09 +02:00
parent eb81812fb7
commit 7406ec4ea9

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd October 12, 2021
.Dd January 20, 2022
.Dt KQUEUE 2
.Os
.Sh NAME
@ -479,7 +479,9 @@ The events to monitor are:
.It Dv NOTE_EXIT
The process has exited.
The exit status will be stored in
.Va data .
.Va data
in the same format as the status returned by
.Xr wait 2 .
.It Dv NOTE_FORK
The process has called
.Fn fork .