summaryrefslogtreecommitdiff
path: root/libc/signal/raise.c
blob: 1ac549d2fc4b28804a7283c3a5a7f2f3a5ebf18f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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 <string.h>
#include <signal.h>
#include <sys/types.h>



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