summaryrefslogtreecommitdiff
path: root/src/thread/pthread_kill.c
blob: 9d85fa5b497fb06afcabf9d1258cc8e446b3dabd (plain) (blame)
1
2
3
4
5
6
7
#define SYSCALL_RETURN_ERRNO
#include "pthread_impl.h"

int pthread_kill(pthread_t t, int sig)
{
	return syscall3(__NR_tgkill, t->pid, t->tid, sig);
}