xref: /drstd/dlibc/src/unix/platform/dragonos/c/dragonos_include/bits/errno.h (revision 86982c5e9b2eaa583327251616ee822c36288824)
1 #ifndef _BITS_ERRNO_H
2 #define _BITS_ERRNO_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #define ENOTSUP EOPNOTSUPP
9 
10 #define errno (*__errno_location())
11 #define program_invocation_name (*__program_invocation_name())
12 #define program_invocation_short_name (*__program_invocation_short_name())
13 
14 #ifdef __cplusplus
15 } // extern "C"
16 #endif
17 
18 #endif /* _BITS_ERRNO_H */
19