diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-16 10:06:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-16 10:06:27 +0000 |
commit | 705ce36d85df6a6ab0f881a89797a5a88bd0422a (patch) | |
tree | a892a8176b72693e5e84f66ca93fcb3ed041f94c /libc/sysdeps/linux/common/errno.c | |
parent | 31c580aa61615bcea5625ae884db7ad965bb1829 (diff) |
Added common handling of errno.
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; +} |