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

Page 419: Appendix c. c standard library

Advertising
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

<assert.h>

Diagnostics

394

<ctype.h>

Character-handling functions

394

<errno.h>

Error numbers

393

<float.h>

Floating-point limits

396

<limits.h>

Integer limits

395

<math.h>

Math functions

398

<setjmp.h>

Nonlocal jump functions

401

<stdarg.h>

Variable arguments functions

401

<stddef.h>

Standard defines

393

<stdio.h>

Standard input/output functions

402

<stdlib.h>

General utilities functions

403

<string.h>

String-handling functions

405

Advertising
This manual is related to the following products: