ERRNO - error codes.

Usage:

#include <errno.h>

Description:

This file #defines masks for system error codes and the "standard" ANSI names for these codes. These include:

EDOM
domain error -- a value passed as an argument falls outside the valid domain for such arguments (e.g. a value passed to "sqrt" was negative).
ERANGE
range error -- the function cannot return a correct result because the correct result falls outside the range of values that can be represented by the associated data type (e.g. if you use the "exp" function on too large a number).

In addition to these ANSI error values, <errno.h> defines a few error symbols that match symbols commonly found in UNIX versions of C. <errno.h> only defines such symbols when they have close GCOS8 counterparts.

See Also:

expl c lib errno
for information on the format of the SS mode "errno" value.
expl nsc lib errno
for information on the format of the NS mode "errno" value.

Copyright © 1996, Thinkage Ltd.