Error handling - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# Error handling

From cppreference.com
< c

### [edit] Types

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

### [edit] Error numbers

Defined in header `<errno.h>`
errno | macro which expands to POSIX-compatible thread-local error number variable (macro variable) [edit]
E2BIG, EACCES, ..., EXDEV | macros for standard POSIX-compatible error conditions (macro constant) [edit]

### [edit] Assertions

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

### [edit] See also

C++ documentation for Error handling

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/error&oldid=71026"