From: "Norman H. Cohen" <ncohen@watson.ibm.com>
Subject: Re: Environment variables
Date: 1996/11/13
Date: 1996-11-13T00:00:00+00:00 [thread overview]
Message-ID: <328A44B6.62FB@watson.ibm.com> (raw)
In-Reply-To: dewar.847807475@merv
Robert Dewar wrote:
> Very few remote target (embedded) runtime systems have environment
> variables and many operating systems do not. If they were standard
> they would be in the standard libraries.
>
> They are standard in ANSI, but with entirely implementation defined
> semantics.
> ANSI => ANSI C
The ANSI C standard specifically acknowledges that the C standard
library need not be supported on an embedded target. Section 2.1.2
defines two kinds of execution environments, "hosted" and
"freestanding". Subsection 2.1.2.1 describes a freestanding environment
as follows:
In a freestanding environment (in which C program execution
may take place without benefit of an operating system), the name
and type of the function called at program startup are
implementation-defined. There are otherwise no reserved external
identifiers. Any library facilities available to a freestanding
program are implementation-defined.
--
Norman H. Cohen
mailto:ncohen@watson.ibm.com
http://www.research.ibm.com/people/n/ncohen
next prev parent reply other threads:[~1996-11-13 0:00 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-30 0:00 Environment variables Christopher J Arnold
1996-10-30 0:00 ` David Emery
1996-10-30 0:00 ` Robert Dewar
1996-10-30 0:00 ` Laurent Guerby
1996-11-02 0:00 ` Keith Thompson
1996-11-01 0:00 ` Stephen Leake
1996-11-02 0:00 ` Robert Dewar
1996-11-03 0:00 ` Robert A Duff
1996-11-03 0:00 ` Robert Dewar
1996-11-04 0:00 ` Stephen Leake
1996-11-04 0:00 ` Larry Kilgallen
1996-11-04 0:00 ` Robert Dewar
1996-11-04 0:00 ` Tucker Taft
1996-11-01 0:00 ` David Shochat
1996-11-02 0:00 ` Larry Kilgallen
1996-11-04 0:00 ` Michael F Brenner
1996-11-04 0:00 ` Larry Kilgallen
1996-11-12 0:00 ` Robert Dewar
1996-11-13 0:00 ` Norman H. Cohen [this message]
1996-11-14 0:00 ` Standard libraries (Was: Environment variables) Geert Bosch
1996-11-14 0:00 ` Robert Dewar
1996-11-16 0:00 ` Geert Bosch
1996-11-16 0:00 ` Robert Dewar
1996-11-17 0:00 ` Geert Bosch
1996-11-18 0:00 ` Larry Kilgallen
1996-11-01 0:00 ` Environment variables Norman H. Cohen
1996-11-01 0:00 ` Laurent Guerby
1996-11-02 0:00 ` Robert Dewar
1996-11-02 0:00 ` Robert A Duff
1996-11-05 0:00 ` David Emery
1996-10-30 0:00 ` David Taylor
1996-10-31 0:00 ` Robert I. Eachus
1996-10-31 0:00 ` Doug Smith
1996-11-03 0:00 ` Matthew Heaney
1996-10-31 0:00 ` James Rogers
1996-10-31 0:00 ` Norman H. Cohen
1996-11-06 0:00 ` David Wheeler
1996-11-08 0:00 ` Christopher J Arnold
1996-11-09 0:00 ` Robert Dewar
-- strict thread matches above, loose matches on Subject: below --
1997-01-21 0:00 Environment Variables John M. Greer
1997-01-24 0:00 ` Matthew Heaney
1997-01-25 0:00 ` Robert Dewar
1997-01-24 0:00 ` Mike Bishop
1997-01-25 0:00 ` Doug Smith
1997-01-27 0:00 ` David Emery
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox