Files
RedBear-OS/include/bits/errno.h
T
Steve McKay 4859c222e7 Make program_invocation_name modifiable
libiconv expects program_invocation_name to be an lvalue
2019-08-17 12:35:43 -04:00

18 lines
283 B
C

#ifndef _BITS_ERRNO_H
#define _BITS_ERRNO_H
#ifdef __cplusplus
extern "C" {
#endif
#define ENOTSUP EOPNOTSUPP
#define errno (*__errno_location())
#define program_invocation_name (*__program_invocation_name())
#ifdef __cplusplus
} // extern "C"
#endif
#endif /* _BITS_ERRNO_H */