mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
33 lines
540 B
C
33 lines
540 B
C
/*-
|
|
* See the file LICENSE for redistribution information.
|
|
*
|
|
* Copyright (c) 1997, 1998
|
|
* Sleepycat Software. All rights reserved.
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#ifndef lint
|
|
static const char sccsid[] = "@(#)raise.c 10.4 (Sleepycat) 4/10/98";
|
|
#endif /* not lint */
|
|
|
|
#ifndef NO_SYSTEM_INCLUDES
|
|
#include <signal.h>
|
|
#include <unistd.h>
|
|
#endif
|
|
|
|
/*
|
|
* raise --
|
|
* Send a signal to the current process.
|
|
*
|
|
* PUBLIC: #ifndef HAVE_RAISE
|
|
* PUBLIC: int raise __P((int));
|
|
* PUBLIC: #endif
|
|
*/
|
|
int
|
|
raise(s)
|
|
int s;
|
|
{
|
|
return (kill(getpid(), s));
|
|
}
|