summaryrefslogtreecommitdiff
path: root/libc/signal/raise.c
blob: d4137aeb87f6e4a2f44384ef9b94541613838f5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
 * This file is part of the Linux-8086 C library and is distributed
 * under the GNU Library General Public License.
 */
#include <unistd.h>
#include <string.h>
#include <signal.h>
#include <sys/types.h>

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