bits/syscall.h: add landlock syscalls from linux v5.13
[musl.git] / src / thread / pthread_getspecific.c
blobd9342a560f7bc6c9341b27911ae353d03a78fb1f
1 #include "pthread_impl.h"
2 #include <threads.h>
4 static void *__pthread_getspecific(pthread_key_t k)
6 struct pthread *self = __pthread_self();
7 return self->tsd[k];
10 weak_alias(__pthread_getspecific, pthread_getspecific);
11 weak_alias(__pthread_getspecific, tss_get);