libc/newlib/libc/sys/linux/net/herrno.c

7 lines
93 B
C

#include <reent.h>
int *__h_errno_location() {
return &(_REENT->_new._reent._h_errno);
}