aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-02-24 08:58:41 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-02-24 09:00:30 +0100
commit7776aac98aaeda64e21555a80e1d5a79c2c32fcd (patch)
treecb432d3d3ede08f54395b13d060836990eb00745 /man3
parent2fe33a0da7df809033ec05fada402b5df953c4a3 (diff)
downloadman-pages-7776aac98aaeda64e21555a80e1d5a79c2c32fcd.tar.gz
exit.3: Small improvement to the discussion of 'status' argument
Reported-by: Walter Harms <wharms@bfs.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/exit.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/exit.3 b/man3/exit.3
index d21979afe0..efb722c113 100644
--- a/man3/exit.3
+++ b/man3/exit.3
@@ -38,8 +38,9 @@ exit \- cause normal process termination
.SH DESCRIPTION
The
.BR exit ()
-function causes normal process termination and the value of \fIstatus &
-0xFF\fP is returned to the parent (see
+function causes normal process termination and the least significant byte of
+.I status
+(i.e., \fIstatus & 0xFF\fP) is returned to the parent (see
.BR wait (2)).
.PP
All functions registered with