diff options
Diffstat (limited to 'newlib/libc/sys/linux/net/herrno.c')
-rw-r--r-- | newlib/libc/sys/linux/net/herrno.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/net/herrno.c b/newlib/libc/sys/linux/net/herrno.c new file mode 100644 index 000000000..bb6d3f598 --- /dev/null +++ b/newlib/libc/sys/linux/net/herrno.c @@ -0,0 +1,6 @@ +#include <reent.h> + +int *__h_errno_location() { + return &(_REENT->_new._reent._h_errno); +} + |