beautypg.com

Appendix b. c standard library, Table 22, Standard headers – Zilog Z8F0130 User Manual

Page 439

background image

UM013037-1212

Appendix B. C Standard Library

Zilog Developer Studio II – Z8 Encore!

User Manual

415

Appendix B. C Standard Library

The ANSI C-Compiler provides a collection of run-time libraries for use with your C pro-
grams. The largest section of these libraries consists of an implementation of much of the
C Standard Library.

The Z8 Encore! C-Compiler is a conforming freestanding 1989 ANSI C implementation
with some exceptions. In accordance with the definition of a freestanding implementation,
the compiler supports the required standard header files <

float.h

>, <

limits.h

>,

<

stdarg.h

>, and <

stddef.h

>. It also supports additional standard header files and

Zilog-specific nonstandard header files. The latter are described in the

Run-Time Library

section on page 225.

The standard header files and functions are, with minor exceptions, fully compliant with
the ANSI C Standard. The deviations from the ANSI Standard in these files are summa-
rized in the

Library Files Not Required for Freestanding Implementation

section on page

258. The standard header files provided with the compiler are listed in the following table
and described in detail in the

Standard Header Files

section on page 416. The following

sections describe the use and format of the standard portions of the run-time libraries:

Standard Header Files

– see page 416

Standard Functions

– see page 430

Table 56. Standard Headers

Header

Description

Diagnostics

Character-handling functions

Error numbers

Floating-point limits

Integer limits

Math functions

Nonlocal jump functions

Variable arguments functions

Standard defines

Standard input/output functions

General utilities functions

String-handling functions