exit() on VMS

Bjorn Benson bjorn at dataioDataio.UUCP
Mon Feb 17 09:26:57 AEST 1986


In article <3174 at umcp-cs.UUCP> chris at umcp-cs.UUCP (Chris Torek) writes:
>>   This isn't portable to VMS.
>I would hope that on VMS, exit(0) maps to status code 1...

No such luck.  Here is what we use in exit():

	__UNIX__	__VMS__
Success	   0		   1
Failure	   1		0x10000002

Ugly but true under VMS with VAX-11 C.

			Bjorn Benson
			Software Engineer
			FutureNet - a Data I/O company



More information about the Comp.lang.c mailing list