exit(-1)

Peter da Silva peter at sugar.UUCP
Wed Feb 3 16:06:01 AEST 1988


I don't understand the problem.

On VMS, neither 1 nor 0 are valid exit codes.

So have the exit function map 0 into SUCCESS, and 1 into FAIL.
Let anything else through unchanged...

Or go with VMS$EXIT(VMS_CODE);.
-- 
-- Peter da Silva  `-_-'  ...!hoptoad!academ!uhnix1!sugar!peter
-- Disclaimer: These U aren't mere opinions... these are *values*.



More information about the Comp.lang.c mailing list