initial check-in, version 0.5.0
[musl] / src / thread / pthread_cancel.c
1 #define SYSCALL_RETURN_ERRNO
2 #include "pthread_impl.h"
3
4 int pthread_cancel(pthread_t t)
5 {
6         return syscall3(__NR_tgkill, t->pid, t->tid, SIGCANCEL);
7 }