Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!husc6!cmcl2!brl-adm!adm!lamonts@Sds.Sdsc.EDU From: lamonts@Sds.Sdsc.EDU (Steve Lamont) Newsgroups: comp.lang.c Subject: VMS and exit(-1) Message-ID: <11439@brl-adm.ARPA> Date: 23 Jan 88 23:08:41 GMT Sender: news@brl-adm.ARPA Lines: 49 Rahul Dhesi says > In article <551@cresswell.quintus.UUCP> ok@quintus.UUCP (Richard A. O'Keefe) > writes: > >Everything that has been said about VMS and exit(0) so far is false. > ... > >I found that *none* of them resulted in any message from DCL; > >*all* of them produced a quiet exit. > The time frame of discussion is important. DEC has recently revised > its C compiler for VMS. Some things formerly missing are now present, > and the old exit(0) problem ("No text for message 0000" etc.) has been > fixed. At the risk of flogging a deceased equine, I tested Rahul's exit(0) contention. The results are shown below: $ type foo.c #include main() { printf( "all done...\n" ); exit( 0 ); } $ run foo all done... %NONAME-W-NOMSG, Message number 00000000 .... as you can see, VMS complains, sorta. Doesn't *anybody* on this newsgroup actually _check_things_out_ before they send? Arrrrrgh! spl ---------------------------------------- Internet: LAMONTS@SDS.SDSC.EDU Bitnet: LAMONTS@SDSC Span: SDSC::LAMONTS (27.1) USPS: Steve Lamont San Diego Supercomputer Center P.O. Box 85608 San Diego, CA 92138 AT&T: 619.534.5126