Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!brl-smoke!smoke!SOWELL%FSU.MFENET@LLL-MFE.ARPA From: SOWELL%FSU.MFENET@LLL-MFE.ARPA Newsgroups: net.lang.c Subject: Re: Re: fast code and no morals: Message-ID: <1005@brl-smoke.ARPA> Date: Mon, 17-Feb-86 14:40:06 EST Article-I.D.: brl-smok.1005 Posted: Mon Feb 17 14:40:06 1986 Date-Received: Wed, 19-Feb-86 20:27:23 EST Sender: news@brl-smoke.ARPA Lines: 27 >>exit(0); > This isn't portable to VMS. ...Does anybody care about VMS, though?... Yes I care about VMS. While UNIX is a great OS, it is not the be all or end all that many UNIX junkies think it is. The documentation is crummy! As for 0 being an undefined status code, the "Programming in VAX 11-C" manual (N.B. I have no experience about this) says that a status of 0 signifies a warning. So it is defined! Not conventionally, I grant you, but that should pose no problem to the well organized programmer :-). #ifdef VMS #define WARNING 0 /* these can be kept in a local include file */ #define SUCCESS 1 #define ERROR 2 #endif /* VMS */ ... error(SUCCESS); Glenn Sowell Supercomputer Computations Research Institute Florida State University Tallahassee, FL sowell%fsu.mfe@lll-mfenet.arpa