delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/13/11:42:27

From: Brian Hansell <hansell AT epix DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Program Exit Code 255
Date: Sat, 13 Feb 1999 11:15:04 -0800
Organization: epix Internet Services
Lines: 12
Message-ID: <36C5CF37.204E8855@epix.net>
References: <36C4EA76 DOT 2AF8D76A AT epix DOT net> <36C4B354 DOT 2C8939EE AT xyz DOT net>
NNTP-Posting-Host: qrvl209-74-60ppp193.epix.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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?

Bjørn Hansen wrote:

> I've been told that the actual number of the exit code is meaningless.
> Just that an exit code of 0 is a normal completion of the program and
> anything not 0 is an exit on some error.  You can specify in your program
> what code to return if you get a certain type of error.  These exit codes
> can be usefull in trouble shooting or can be used to tell other programs
> stuff.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019