Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

raise.c

00001 /*-
00002  * See the file LICENSE for redistribution information.
00003  *
00004  * Copyright (c) 1997-2005
00005  *      Sleepycat Software.  All rights reserved.
00006  *
00007  * $Id: raise.c,v 12.2 2005/06/16 20:20:50 bostic Exp $
00008  */
00009 
00010 #include "db_config.h"
00011 
00012 #ifndef NO_SYSTEM_INCLUDES
00013 #include <signal.h>
00014 #include <unistd.h>
00015 #endif
00016 
00017 /*
00018  * raise --
00019  *      Send a signal to the current process.
00020  *
00021  * PUBLIC: #ifndef HAVE_RAISE
00022  * PUBLIC: int raise __P((int));
00023  * PUBLIC: #endif
00024  */
00025 int
00026 raise(s)
00027         int s;
00028 {
00029         return (kill(getpid(), s));
00030 }

Generated on Sun Dec 25 12:14:17 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2