projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add SPE FPU support to powerpc-sf
[musl]
/
src
/
network
/
h_errno.c
1
#include <netdb.h>
2
#include "pthread_impl.h"
3
4
#undef h_errno
5
int h_errno;
6
7
int *__h_errno_location(void)
8
{
9
if (!__pthread_self()->stack) return &h_errno;
10
return &__pthread_self()->h_errno_val;
11
}