Namespaces
Variants
Views
Actions

Error handling

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

Types

Defined in header <errno.h>
Defined in header <stdio.h>
errno_t
(C11)
the type of errno value
(typedef)

Error numbers

Defined in header <errno.h>
macro which expands to POSIX-compatible thread-local error number variable
(macro variable) [edit]
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) [edit]
issues a compile-time diagnostic if the value of a constant expression is false
(function macro)