diff --git a/man2/_exit.2 b/man2/_exit.2 index c55d2a612..6e656c8f4 100644 --- a/man2/_exit.2 +++ b/man2/_exit.2 @@ -65,7 +65,7 @@ The process's parent is sent a signal. .PP The value -.I "status & 0377" +.I "status & 0xFF" is returned to the parent process as the process's exit status, and can be collected using one of the .BR wait (2) diff --git a/man3/exit.3 b/man3/exit.3 index 98f4da8ca..da675de68 100644 --- a/man3/exit.3 +++ b/man3/exit.3 @@ -38,9 +38,8 @@ exit \- cause normal process termination .SH DESCRIPTION The .BR exit () -function causes normal process termination and the -value of \fIstatus & 0377\fP is returned to the parent -(see +function causes normal process termination and the value of \fIstatus & +0xFF\fP is returned to the parent (see .BR wait (2)). .PP All functions registered with