diff options
Diffstat (limited to 'libc/sysdeps/linux/common/errno.c')
-rw-r--r-- | libc/sysdeps/linux/common/errno.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/errno.c b/libc/sysdeps/linux/common/errno.c new file mode 100644 index 000000000..418fc933b --- /dev/null +++ b/libc/sysdeps/linux/common/errno.c @@ -0,0 +1,8 @@ +#include <errno.h> + +int errno = 0; + +int * __errno_location ( void ) +{ + return &errno; +} |