Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 1997 23:24:26 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Mark Tinguely <tinguely@plains.NoDak.edu>
Cc:        hackers@FreeBSD.ORG, jacques@wired.ctech.ac.za
Subject:   Re: values for exit() 
Message-ID:  <199710152224.XAA18405@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Wed, 15 Oct 1997 11:54:28 CDT." <199710151654.LAA22736@plains.NoDak.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >  Where can I find the exit values for
> >  exit()?  Meaning, what is the difference
> >  between eg exit(1) and exit(2)?
> 
> each application defines their return code meanings. The important
> rule is that 0 means no error, non-zero indicates an error or special
> condition.

Although this is true in practice, the theory is in sysexits.h

> --mark.

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710152224.XAA18405>