repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
release 1.2.5
[musl.git]
/
src
/
errno
/
__errno_location.c
blob
7f9d6027a276a0b5574362f0e9aa547fed213523
1
#include <errno.h>
2
#include
"pthread_impl.h"
3
4
int
*
__errno_location
(
void
)
5
{
6
return
&
__pthread_self
()->
errno_val
;
7
}
8
9
weak_alias
(
__errno_location
,
___errno_location
);