Namespaces
Variants
Views
Actions

Error numbers

From cppreference.com
< c‎ | error
Revision as of 21:35, 31 May 2013 by P12bot (Talk | contribs)

Each of the macros defined in <errno.h> expands to integer constant expressions with type int, each with a unique positive value. The following constants are defined (the implementation may define more, as long as they begin with 'E' followed by digits or uppercase letters)

Defined in header <errno.h>
EDOM
Mathematics argument out of domain of function
(macro constant)
EILSEQ
(C99)
Illegal byte sequence
(macro constant)
ERANGE
Result too large
(macro constant)

Example

See also

macro which expands to POSIX-compatible thread-local error number variable
(macro variable) [edit]
displays a character string corresponding of the current error to stderr
(function) [edit]
returns a text version of a given error code
(function) [edit]