summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/kill.c
blob: 46eabf0c9f3247b364825d406c53d30a3175e416 (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)