Note that the exit status may be truncated to the least significant 8 bits.

This commit is contained in:
jschauma 2022-10-18 02:31:39 +00:00
parent 81b74d1c8d
commit 76a83e03a4
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: _exit.2,v 1.18 2003/09/08 17:54:34 wiz Exp $
.\" $NetBSD: _exit.2,v 1.19 2022/10/18 02:31:39 jschauma Exp $
.\"
.\" Copyright (c) 1980, 1993
.\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\"
.\" @(#)_exit.2 8.1 (Berkeley) 6/4/93
.\"
.Dd April 23, 2002
.Dd October 17, 2022
.Dt EXIT 2
.Os
.Sh NAME
@ -68,6 +68,10 @@ the
.Em status
is set as defined by
.Xr wait 2 .
(Note that only the least significant 8 bits of
.Em status
are preserved and returned to the parent via
.Xr wait 2 Ns .)
.It
The parent process-ID of all of the calling process's existing child
processes are set to 1; the initialization process