On 12 Mar 2007 22:03:53 GMT, David Given <dg@[EMAIL PROTECTED]
> wrote in
comp.lang.c.moderated:
> I'm working on this compiler/libc suite. It's a bit antiquated and the
headers
> badly need reworking to be brought up to date and to separate out the
> platform-specific stuff from the platform-independent stuff.
>
> Does anyone know where I can find a set of minimal ANSI headers that I
can use
> as a reference? (I'm also wanting Posix, too, but that can wait for now.
As
> well as being off-topic.) My usual source for this kind of thing --- the
C
> development kit for the BSD operating systems --- isn't really terribly
useful
> because the ANSI, Posix and platform-specific headers are all jumbled
together
> and it's not terribly clear which is which.
I am not really sure what a "vanilla" set of C headers would be, since
they must contain a large number of implementation-specific values.
Consider <limits.h>, <float.h>, and <stdio.h>, if not others, even
among the C90 headers. They all contain macros with values that are
not specified by the C standard, although certain limitations are
specified for some.
The most vanilla way, I suppose, would be to go through the
environment and library section of the standard, whatever version you
want to work with. All of the required function prototypes for each
header are there, as well as description of the macros and type
definitions that must be incor****ated.
--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.para****ft.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
--
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
-- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line. Sorry.


|