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-26 13:12:03 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
9743a399bf4d6da9a1dbdf7e8df07284c97df16f
musl
/
src
/
network
/
h_errno.c
10 lines
101 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>
fix misplaced semicolon in preprocessor directive (#undef h_errno)
2012-05-16 20:14:30 -04:00
#
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