summaryrefslogtreecommitdiff
path: root/libc/signal/raise.c
blob: d9dbab672921c9159509468100d6cf3ca6aa699f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <unistd.h>
#include <signal.h>

int raise(int signo)
{
	return kill(getpid(), signo);
}
libc_hidden_def(raise)