Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
network
/
h_errno.c
blob: 638f77180314a625e90507a7890cfafa94e7f1b6 [
file
] [
log
] [
blame
]
#include
<netdb.h>
#include
"pthread_impl.h"
#undef
h_errno
int
h_errno
;
int
*
__h_errno_location
(
void
)
{
if
(!
__pthread_self
()->
stack
)
return
&
h_errno
;
return
&
__pthread_self
()->
h_errno_val
;
}