Errors <errno.h, Standard definitions <stddef.h, Errors <errno.h> standard definitions <stddef.h – Zilog ZUSBOPTS User Manual

Page 421: Macros, Macros types

Advertising
background image

UM017105-0511

Standard Header Files

Zilog Developer Studio II – ZNEO™

User Manual

393

Errors <errno.h>

The <

errno.h

> header defines macros relating to the reporting of error conditions.

Macros

Additional macro definitions, beginning with E and an uppercase letter, can also be speci-
fied by the implementation.

Standard Definitions <stddef.h>

The following types and macros are defined in several headers referred to in the descrip-
tions of the functions declared in that header, as well as the common <

stddef.h

> stan-

dard header.

Macros

Types

EDOM

Expands to a distinct nonzero integral constant expression.

ERANGE

Expands to a distinct nonzero integral constant expression.

errno

A modifiable value that has type int. Several libraries set errno to a posi-
tive value to indicate an error. errno is initialized to zero at program
startup, but it is never set to zero by any library function. The value of
errno can be set to nonzero by a library function even if there is no error,
depending on the behavior specified for the library function in the ANSI
Standard.

NULL

Expands to a null pointer constant.

offsetof (type,
identifier)

Expands to an integral constant expression that has type size_t and pro-
vides the offset in bytes, from the beginning of a structure designated by
type to the member designated by identifier.

ptrdiff_t

Signed integral type of the result of subtracting two pointers.

size_t

Unsigned integral type of the result of the sizeof operator.

wchar_t

Integral type whose range of values can represent distinct codes for all
members of the largest extended character set specified among the sup-
ported locales.

Advertising
This manual is related to the following products: