projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove useless __yield alias for sched_yield
[oweals/musl.git]
/
src
/
errno
/
__errno_location.c
1
#include "pthread_impl.h"
2
3
int *__errno_location(void)
4
{
5
static int e;
6
if (libc.has_thread_pointer) return __pthread_self()->errno_ptr;
7
return &e;
8
}