Date: Sun, 14 Feb 1999 13:09:19 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Brian Hansell cc: djgpp AT delorie DOT com Subject: Re: Program Exit Code 255 In-Reply-To: <36C5CF37.204E8855@epix.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sat, 13 Feb 1999, Brian Hansell wrote: > Then is there a way I can tell what the default error exit code 255 is? Or > is there someplace where I can find a list of errors? See EXIT_FAILURE and EXIT_SUCCESS in the header stdlib.h. 255 is simply (unsigned char)(-1). Some programs return -1 in case of a fatal error, but the portable way is to use EXIT_FAILURE.