exit codes (was: Identifier length?)

Karl Heuer karl at haddock.ima.isc.com
Wed Mar 22 03:26:51 AEST 1989


In article <6212 at bsu-cs.UUCP> dhesi at bsu-cs.UUCP (Rahul Dhesi) writes:
>Another [political issue] was refusal to standardize the common practice of
>0=normal, nonzero=error in exit(n),

This is not common practice.  Even in Unix, the current situation is that
(n%256==0) denotes normal exit, (n%256!=0) flags an error.  Should Unix change
to meet the proposed specification (so that exit(256) will flag an error), or
do you want it reworded in such a way that Unix already conforms?

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.std.c mailing list