[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: systems requiring exit?

From: Paul Eggert
Subject: Re: systems requiring exit?
Date: Mon, 13 Nov 2006 16:40:42 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Howard Chu <address@hidden> writes:

> As I recall, they implemented a fairly old draft of POSIX threads (and
> not the same draft version as DCE or AIX) and with a compiler named
> "c89" it's a given that they're not up to C99 specs. But still
> reasonably modern.

If they conform to C89 there should be no problem.  In C89, returning
N from 'main' is like 'exit(N)'.  This thread is about pre-C89 systems
where the return value from 'main' is mangled.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]