summaryrefslogtreecommitdiff
path: root/src/thread/__set_thread_area.c
blob: 152a6a216ba61e9eccbdd1f0738660af3f4f4097 (plain)
1
2
3
4
5
6
7
8
9
10
#include "pthread_impl.h"

int __set_thread_area(void *p)
{
#ifdef SYS_set_thread_area
	return __syscall(SYS_set_thread_area, p);
#else
	return -ENOSYS;
#endif
}