xref: /csrg-svn/lib/libc/gen/raise.c (revision 46464)
1*46464Sbostic /*-
2*46464Sbostic  * Copyright (c) 1990 The Regents of the University of California.
3*46464Sbostic  * All rights reserved.
4*46464Sbostic  *
5*46464Sbostic  * %sccs.include.redist.c%
6*46464Sbostic  */
7*46464Sbostic 
8*46464Sbostic #if defined(LIBC_SCCS) && !defined(lint)
9*46464Sbostic static char sccsid[] = "@(#)raise.c	5.1 (Berkeley) 02/19/91";
10*46464Sbostic #endif /* LIBC_SCCS and not lint */
11*46464Sbostic 
12*46464Sbostic #include <signal.h>
13*46464Sbostic #include <unistd.h>
14*46464Sbostic 
15*46464Sbostic raise(s)
16*46464Sbostic 	int s;
17*46464Sbostic {
18*46464Sbostic 	return(kill(getpid(), s));
19*46464Sbostic }
20