NetBSD-Bugs archive

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

misc/45769:



>Number:         45769
>Category:       misc
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 02 13:45:00 +0000 2012
>Originator:     eradman%radstation2.eadman.com@localhost
>Release:        NetBSD 5.99.59
>Organization:
        Eric Radman <ericshane%eradman.com@localhost>
>Environment:
        
        
System: NetBSD radstation2.eadman.com 5.99.59 NetBSD 5.99.59 (GENERIC) #0: Fri 
Dec 30 08:57:52 EST 2011 
eradman%radstation2.eadman.com@localhost:/home/eradman/obj/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        Might help if this man page was reworded so that it is clear how 
negative return values are interpreted
>How-To-Repeat:
        man 3 exit
>Fix:
        - Lastly, exit() and _Exit() call _exit(2).  Note that typically 
_exit(2)
        - only passes the lower 8 bits of status on to the parent, thus negative
        - values have less meaning.

        + Lastly, exit() and _Exit() call _exit(2).  Note that _exit(2) only
        + passes the lower 8 bits of status on to the parent, thus supplying a
        + value of -10 would result in an exit code of 246.



Home | Main Index | Thread Index | Old Index