1b70ff87aSbostic /*- 2*bac379f5Sbostic * Copyright (c) 1990, 1993 3*bac379f5Sbostic * The Regents of the University of California. All rights reserved. 4b70ff87aSbostic * 5b70ff87aSbostic * %sccs.include.redist.c% 6b70ff87aSbostic */ 7b70ff87aSbostic 8b70ff87aSbostic #if defined(LIBC_SCCS) && !defined(lint) 9*bac379f5Sbostic static char sccsid[] = "@(#)raise.c 8.1 (Berkeley) 06/04/93"; 10b70ff87aSbostic #endif /* LIBC_SCCS and not lint */ 11b70ff87aSbostic 12b70ff87aSbostic #include <signal.h> 13b70ff87aSbostic #include <unistd.h> 14b70ff87aSbostic raise(s)15b70ff87aSbosticraise(s) 16b70ff87aSbostic int s; 17b70ff87aSbostic { 18b70ff87aSbostic return(kill(getpid(), s)); 19b70ff87aSbostic } 20