-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
m |
m |
||
Line 6: | Line 6: | ||
== Macros == | == Macros == | ||
− | The header provides | + | The header provides four macro definitions: |
{| class="wikitable" | {| class="wikitable" |
Latest revision as of 19:53, 7 January 2015
C Standard Library |
<assert.h>(C89) <complex.h>(C99)op <ctype.h>(C89) <errno.h>(C89) <fenv.h>(C99) <float.h>(C89) <inttypes.h>(C99) <iso646.h>(NA1) <limits.h>(C89) <locale.h>(C89) <math.h>(C89) <setjmp.h>(C89) <signal.h>(C89) <stdalign.h>(C11) <stdarg.h>(C89) <stdatomic.h>(C11)op <stdbool.h>(C99) <stddef.h>(C89) <stdint.h>(C99) <stdio.h>(C89) <stdlib.h>(C89) <stdnoreturn.h>(C11) <string.h>(C89) <tgmath.h>(C99) <threads.h>(C11)op <time.h>(C89) <uchar.h>(C11) <wchar.h>(NA1) <wctype.h>(NA1) |
The <errno.h> header is part of the standard library of the C programming language that defines several macros relating to the reporting of error conditions.
Upon failure, library functions that are required to update errno object. They will do so by setting the value of errno to an integer value greater than zero. The integer constants defined in this header can be used by the program to test for those errors immediately after the library function call that failed.
Macros[edit]
The header provides four macro definitions:
Macro Name | Description | Since |
---|---|---|
EDOM | Expands to a distinct positive integer expression of type int. | C89 |
EILSEQ | Expands to a distinct positive integer expression of type int. | C99 |
ERANGE | Expands to a distinct positive integer expression of type int. | C89 |
errno | Expands to a modifiable lvalue of type int and with thread local storage duration. | C89 |