VMS and exit();

VAX Headroom @ The End of the Galaxy dave at terminus.UUCP
Wed Feb 3 12:54:17 AEST 1988


In article <11537 at brl-adm.ARPA>, lamonts at Sds.Sdsc.EDU (Steve Lamont) writes:
> > <     exit( 0 );
> > < %NONAME-W-NOMSG, Message number 00000000
> >...
> and just drop out the bottom, you don't get a message.  I don't know if that
> was the case under 2.2 or not, since I don't have access to the old version

Yes, that is the case under 2.0-2.3.

VMS likes exit() or exit(1) as an "ok" indication.

I propose the use of exit(EXIT_OK) where EXIT_OK is defined correctly for
your machine.



More information about the Comp.lang.c mailing list