beautypg.com

In the appendix titled, C standard, Library – Zilog ZUSBOPTS User Manual

Page 419: Appendix c. c standard library

background image

UM017105-0511

Zilog Developer Studio II – ZNEO™

User Manual

391

Appendix C. C Standard Library

As described in the

Run-Time Library

section on page 177, the ZNEO C-Compiler pro-

vides a collection of run-time libraries. The largest section of these libraries consists of an
implementation of much of the C Standard Library.

The ZNEO 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 177.

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

Library Files Not Required for Freestanding Implementation

– see page 196. The

standard header files provided with the compiler are listed in Table 34 and described in
detail in the

Standard Header Files

section on page 392. The following sections describe

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

Standard Header Files

– see page 392

Standard Functions

– see page 407

Table 34. Standard Headers

Header

Description

Page

Diagnostics

394

Character-handling functions

394

Error numbers

393

Floating-point limits

396

Integer limits

395

Math functions

398

Nonlocal jump functions

401

Variable arguments functions

401

Standard defines

393

Standard input/output functions

402

General utilities functions

403

String-handling functions

405

This manual is related to the following products: