Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man2 Fix description of si_status.



details:   https://anonhg.NetBSD.org/src/rev/2ed642c4e3b5
branches:  trunk
changeset: 814704:2ed642c4e3b5
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 04 17:29:04 2016 +0000

description:
Fix description of si_status.

diffstat:

 share/man/man2/siginfo.2 |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 325491821259 -r 2ed642c4e3b5 share/man/man2/siginfo.2
--- a/share/man/man2/siginfo.2  Mon Apr 04 16:47:39 2016 +0000
+++ b/share/man/man2/siginfo.2  Mon Apr 04 17:29:04 2016 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: siginfo.2,v 1.7 2015/02/27 15:21:54 riastradh Exp $
+.\"    $NetBSD: siginfo.2,v 1.8 2016/04/04 17:29:04 christos Exp $
 .\"
 .\" Copyright (c) 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 23, 2012
+.Dd April 43, 2016
 .Dt SIGINFO 2
 .Os
 .Sh NAME
@@ -321,7 +321,10 @@
 .Fa si_uid
 field contains the user id of the that process, the
 .Fa si_status
-field contains a status code described in
+field contains either the exit code of the process (for
+.Dv CLD_EXITED ) ,
+or the signal number received by the process.
+.Xr waitid 2 ,
 .Xr waitpid 2 ,
 and the
 .Fa si_utime



Home | Main Index | Thread Index | Old Index