Viewing Issue Simple Details
[ Jump to Notes ]
|
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Type |
Date Submitted |
Last Update |
0000597 |
[1003.1(2008)/Issue 7] System Interfaces |
Editorial |
Clarification Requested |
2012-08-07 19:53 |
2012-08-08 15:28 |
|
Reporter |
joerg |
View Status |
public |
|
Assigned To |
ajosey |
Priority |
normal |
Resolution |
Duplicate |
|
Status |
Closed |
|
|
|
|
Name |
Jörg Schilling |
Organization |
|
User Reference |
|
Section |
System Interfaces |
Page Number |
545 + 785 |
Line Number |
18912-18913 + 26212-26213 |
Interp Status |
--- |
Final Accepted Text |
|
|
Summary |
0000597: exit() incorrectly claims that the exit code is masked by 0377 |
Description |
Using waitid(), the whole sizeof int may be passed as exit code,
the current text claims that it is masked by 0377.
|
Desired Action |
Chage the text:
The value of status may be 0, EXIT_SUCCESS, EXIT_FAILURE, [CX] [Option Start] or any other value, though only the least significant 8 bits (that is, status & 0377) shall be available to a waiting parent process. [Option End]
to:
The value of status may be 0, EXIT_SUCCESS, EXIT_FAILURE, [CX] [Option Start] or any other value, though if not using waitid() to wait for the process, only the least significant 8 bits (that is, status & 0377) shall be available to a waiting parent process. [Option End]
|
Tags |
No tags attached. |
|
Attached Files |
|
|