Date: Wed, 19 Jan 2022 22:37:41 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 7406ec4ea99c - main - kqueue(2): Add note about format of the data for NOTE_EXIT Message-ID: <202201192237.20JMbfEE066357@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7406ec4ea99c1c61e88d5c98c58094093b9e78fb commit 7406ec4ea99c1c61e88d5c98c58094093b9e78fb Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-01-19 22:35:09 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-01-19 22:37:25 +0000 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 --- lib/libc/sys/kqueue.2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index afa1dc5dcb4a..8ba1779c5551 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -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 .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201192237.20JMbfEE066357>