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
cuserid: support invocation with a null pointer argument
[musl.git]
/
src
/
thread
/
__set_thread_area.c
blob
152a6a216ba61e9eccbdd1f0738660af3f4f4097
1
#include
"pthread_impl.h"
2
3
int
__set_thread_area
(
void
*
p
)
4
{
5
#ifdef SYS_set_thread_area
6
return
__syscall
(
SYS_set_thread_area
,
p
);
7
#else
8
return
-
ENOSYS
;
9
#endif
10
}