This website requires JavaScript.
Explore
Help
Sign In
fluencelabs
/
musl
Watch
1
Star
0
Fork
0
You've already forked musl
mirror of
https://github.com/fluencelabs/musl
synced
2025-06-27 05:32:06 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
c5f3add3254de442f90f8102503c6df7b39e941e
musl
/
src
/
network
/
h_errno.c
10 lines
102 B
C
Raw
Normal View
History
Unescape
Escape
use __h_errno_location for h_errno we do not bother making h_errno thread-local since the only interfaces that use it are inherently non-thread-safe. but still use the potentially-thread-local ABI to access it just to avoid lock-in.
2012-05-12 23:45:07 -04:00
#
include
<netdb.h>
#
undef h_errno;
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
int
h_errno
;
use __h_errno_location for h_errno we do not bother making h_errno thread-local since the only interfaces that use it are inherently non-thread-safe. but still use the potentially-thread-local ABI to access it just to avoid lock-in.
2012-05-12 23:45:07 -04:00
int
*
__h_errno_location
(
void
)
{
return
&
h_errno
;
}
Reference in New Issue
Copy Permalink