summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/kill.c
blob: 2d1d9ae8ac9a1c5add688bc65c80802b9656acd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* vi: set sw=4 ts=4: */
/*
 * kill() for uClibc
 *
 * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
 *
 * GNU Library General Public License (LGPL) version 2 or later.
 */

#include "syscalls.h"
#include <signal.h>

#undef kill
#define __NR___syscall_kill __NR_kill
static inline _syscall2(int, __syscall_kill, __kernel_pid_t, pid, int, sig);

int attribute_hidden __kill(pid_t pid, int sig)
{
	return (__syscall_kill(pid, sig));
}
strong_alias(__kill,kill)