1/*- 2 * See the file LICENSE for redistribution information. 3 * 4 * Copyright (c) 1997,2008 Oracle. All rights reserved. 5 * 6 * $Id: raise.c,v 12.8 2008/01/08 20:58:08 bostic Exp $ 7 */ 8 9#include "db_config.h" 10 11#include "db_int.h" 12 13/* 14 * raise -- 15 * Send a signal to the current process. 16 * 17 * PUBLIC: #ifndef HAVE_RAISE 18 * PUBLIC: int raise __P((int)); 19 * PUBLIC: #endif 20 */ 21int 22raise(s) 23 int s; 24{ 25 return (kill(getpid(), s)); 26} 27