diff options
Diffstat (limited to '05/musl-0.6.0/include/errno.h')
-rw-r--r-- | 05/musl-0.6.0/include/errno.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/05/musl-0.6.0/include/errno.h b/05/musl-0.6.0/include/errno.h new file mode 100644 index 0000000..d9c2c9c --- /dev/null +++ b/05/musl-0.6.0/include/errno.h @@ -0,0 +1,18 @@ +#ifndef _ERRNO_H +#define _ERRNO_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include <bits/errno.h> + +extern int *__errno_location(void); +#define errno (*__errno_location()) + +#ifdef __cplusplus +} +#endif + +#endif + |