🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4011

Re: EXIT_FAILURE problem

#4011
From: Thomas Koenig
Date: Sat, 16 Sep 1995 16:00
14 lines
1265 bytes
In comp.std.c, halasz@caip.rutgers.edu wrote:

>The error is that the library indeed translated.  We hav prevented the
>programmer who uzes this system from uzing "exit" for _other_ exit-status
>that he knows is to be had on this system.

If a program I wrote returned a condition code of 2048 under MVS
via exit(2048), how would you like to translate this into a
UNIX environment, where the exit status is confirmed to a
single byte?
-- 
Thomas König, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.
Technical Details
Message-ID: <43esan$85l@fg70.rz.uni-karlsruhe.de>
Path: arc1-ca.pugleaf.net!rz.uni-karlsruhe.de!not-for-mail
References: <jbundyDCw7uo.9sz@netcom.com> <danpop.807723059@rscernix> <42mta4$2ku@solutions.solon.com> <42mus7$n9o@caip.rutgers.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!rz.uni-karlsruhe.de!not-for-mail
From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig)
Newsgroups: comp.std.c
Subject: Re: EXIT_FAILURE problem
Date: 16 Sep 1995 18:00:23 +0200
Organization: Universität Karlsruhe (TH), Germany 
Message-ID: <43esan$85l@fg70.rz.uni-karlsruhe.de>
References: <jbundyDCw7uo.9sz@netcom.com> <danpop.807723059@rscernix> <42mta4$2ku@solutions.solon.com> <42mus7$n9o@caip.rutgers.edu>
Reply-To: Thomas.Koenig@ciw.uni-karlsruhe.de
NNTP-Posting-Host: fg70.rz.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-User: ig25