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