Path: utzoo!utgpu!water!watmath!clyde!rutgers!im4u!ut-sally!utah-cs!utah-gr!uplherc!sp7040!obie!terminus!dave From: dave@terminus.UUCP (VAX Headroom @ The End of the Galaxy) Newsgroups: comp.lang.c Subject: Re: VMS and exit(); Summary: exit in VAXC Message-ID: <37@terminus.UUCP> Date: 3 Feb 88 02:54:17 GMT References: <11537@brl-adm.ARPA> Lines: 13 In article <11537@brl-adm.ARPA>, lamonts@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.