This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Another exit codes question
- To: Clive Nicolson <srwmcln at baby dot bedroom dot gen dot nz>
- Subject: Re: Another exit codes question
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Fri, 2 Mar 2001 09:57:50 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <009F86E6.5F7B23E0.1@baby.bedroom.gen.nz>
On Fri, Mar 02, 2001 at 09:15:28PM +1300, Clive Nicolson wrote:
> >I need to know which of these system triples do and do not define the
> >C89 EXIT_SUCCESS and EXIT_FAILURE macros. Of those that do define
> >them, I need to know if any get them wrong. ("Wrong" means "fails to
> >convey the appropriate information to the invoking process.") Of
> >those that don't define them, I need to know whether or not 0==success
> >and 1==failure are appropriate as the argument to exit(3) or return
> >from main.
> >
> >alpha*-dec-vms*
> >vax*-*-vms*
> >i370-*-opened*
> >i370-*-mvs*
> >i370-*-linux*
> >
> >These are the system triples with "unusual" definitions of
> >SUCCESS_EXIT_CODE and/or FATAL_EXIT_CODE, in case anyone is curious.
>
> vax/vms gcc used to use the following, which were ok (alpha/dec/vms
> may use the same values?).
I need to know what the system-provided stdlib.h has, not something
GCC made up. If it's the same, great.
zw