use alt signal stack when present for implementation-internal signals
[musl.git] / include / errno.h
blob0361b33ad348a2ab1d3422a2399cb2e3ccf0217b
1 #ifndef _ERRNO_H
2 #define _ERRNO_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #include <features.h>
10 #include <bits/errno.h>
12 #ifdef __GNUC__
13 __attribute__((const))
14 #endif
15 int *__errno_location(void);
16 #define errno (*__errno_location())
18 #ifdef _GNU_SOURCE
19 extern char *program_invocation_short_name, *program_invocation_name;
20 #endif
22 #ifdef __cplusplus
24 #endif
26 #endif