svn commit: r194538 - head/sys/sys

Bruce Evans brde at optusnet.com.au
Wed Jul 1 11:44:24 UTC 2009


On Tue, 30 Jun 2009, [utf-8] Dag-Erling Smørgrav wrote:

> Bruce Evans <brde at optusnet.com.au> writes:
>> Freestanding reserves fewer symbols for the implementation.
>
> IIRC, freestanding implementations are only required to provide
> <iso646.h> and <stdint.h>, and everything else is available to the
> application.

Also <float.h>, <limits.h>, <stdarg.h>, <stdbool.h> and <stddef.h>.
However, _FOO and __foo don't seem to be reserved -- these seem to
only be reserved in section 7 (library), and freestanding specifically
doesn't require anything in section 7 except the above headers.  The
complete list seems to be just the standard contents of the above
headers, plus things like __STDC__, at least if the application doesn't
#undef these things before using them.

Bruce


More information about the svn-src-head mailing list