Error handling

< c


[edit] Types

Defined in header <errno.h>
Defined in header <stdio.h>
the type of errno value

[edit] Error numbers

Defined in header <errno.h>
macro which expands to POSIX-compatible thread-local error number variable
(macro variable)
macros for standard POSIX-compatible error conditions
(macro constant)

[edit] Assertions

Defined in header <assert.h>
aborts the program if the user-specified condition is not true. May be disabled for release builds
(function macro)
issues a compile-time diagnostic if the value of a constant expression is false
(function macro)

[edit] See also

C++ documentation for Error handling