cuserid: support invocation with a null pointer argument
[musl.git] / src / thread / __set_thread_area.c
blob152a6a216ba61e9eccbdd1f0738660af3f4f4097
1 #include "pthread_impl.h"
3 int __set_thread_area(void *p)
5 #ifdef SYS_set_thread_area
6 return __syscall(SYS_set_thread_area, p);
7 #else
8 return -ENOSYS;
9 #endif