| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /* Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk> |
| 2 | * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. | ||||
| 3 | */ | ||||
| 4 | |||||
| 5 | #include <unistd.h> | ||||
| 6 | #include <string.h> | ||||
| 7 | #include <signal.h> | ||||
| 8 | #include <sys/types.h> | ||||
| 9 | |||||
| 10 | int raise(int signo) | ||||
| 11 | { | ||||
| 12 | return kill(getpid(), signo); | ||||
| 13 | } | ||||
| 14 | libc_hidden_def(raise) | ||||