🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4953

Re: EXIT_SUCCES != EXIT_FAILURE?

#4953
From: Dan Pop
Date: Tue, 26 Mar 1996 02:01
14 lines
872 bytes
In <tompa.827763954@news> tompa@ida.liu.se (Thomas Padron-McCarthy) writes:

>So I wonder: Does the standard guarantee that EXIT_SUCCESS and
>EXIT_FAILURE are different?

No.  If the host environment doesn't support the concept of termination
status, both macros can legally evaluate to the same value.

Dan
--
Dan Pop
CERN, CN Division
Email: danpop@mail.cern.ch 
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
Technical Details
Message-ID: <danpop.827805711@rscernix>
Path: arc1-ca.pugleaf.net!rcp6.elan.af.mil!rscernix!danpop
References: <tompa.827763954@news>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!rcp6.elan.af.mil!rscernix!danpop
From: danpop@mail.cern.ch (Dan Pop)
Newsgroups: comp.std.c
Subject: Re: EXIT_SUCCES != EXIT_FAILURE?
Date: 26 Mar 96 02:01:51 GMT
Organization: CERN European Lab for Particle Physics
Message-ID: <danpop.827805711@rscernix>
References: <tompa.827763954@news>
NNTP-Posting-Host: ues5.cern.ch
Keywords: EXIT_SUCCESS EXIT_FAILURE guarantee
X-Newsreader: NN version 6.5.0 #7 (NOV)