diff options
author | 2013-05-31 19:01:56 +0000 | |
---|---|---|
committer | 2013-05-31 19:01:56 +0000 | |
commit | 00b96b7b7fa3b2bfe014cf1f70acc6e56cdf39ac (patch) | |
tree | 55fdc834564d1ee364d922cb9bcb5975a3ab7336 /lib/libc/sys | |
parent | add shm_open and friends which i have been told ports programs would (diff) | |
download | wireguard-openbsd-00b96b7b7fa3b2bfe014cf1f70acc6e56cdf39ac.tar.xz wireguard-openbsd-00b96b7b7fa3b2bfe014cf1f70acc6e56cdf39ac.zip |
On NOTE_EXIT event of EVFILT_PROC, store the exit status in kn_data.
ok guenther tedu deraadt
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/kqueue.2 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 55266bff364..a678aeed158 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kqueue.2,v 1.25 2012/04/12 14:25:57 deraadt Exp $ +.\" $OpenBSD: kqueue.2,v 1.26 2013/05/31 19:01:56 yasuoka Exp $ .\" .\" Copyright (c) 2000 Jonathan Lemon .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/lib/libc/sys/kqueue.2,v 1.18 2001/02/14 08:48:35 guido Exp $ .\" -.Dd $Mdocdate: April 12 2012 $ +.Dd $Mdocdate: May 31 2013 $ .Dt KQUEUE 2 .Os .Sh NAME @@ -368,6 +368,10 @@ The events to monitor are: .Bl -tag -width XXNOTE_TRACKERR .It Dv NOTE_EXIT The process has exited. +The exit status will be stored in +.Va data +in the same format as the status set by +.Xr wait 2 . .It Dv NOTE_FORK The process has called .Fn fork . @@ -505,6 +509,7 @@ The specified process to attach to does not exist. .Xr read 2 , .Xr select 2 , .Xr sigaction 2 , +.Xr wait 2 , .Xr write 2 , .Xr signal 3 .Sh HISTORY |