summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/kill.c
blob: 3578673b8fe88e78fdcb3eab0668ce1adcbcc098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* vi: set sw=4 ts=4: */
/*
 * kill() for uClibc
 *
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#include <signal.h>

/* libc_hidden_proto(kill) */

#define __NR___syscall_kill __NR_kill
static __inline__ _syscall2(int, __syscall_kill, __kernel_pid_t, pid, int, sig)

int kill(pid_t pid, int sig)
{
	return (__syscall_kill(pid, sig));
}
libc_hidden_def(kill)