xref: /haiku/src/system/libroot/posix/signal/raise.c (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1 /*
2  *  Copyright (c) 2002-2006, Haiku Project. All rights reserved.
3  *  Distributed under the terms of the Haiku license.
4  *
5  *  Author(s):
6  *  Daniel Reinhold (danielre@users.sf.net)
7  */
8 
9 
10 #include <OS.h>
11 #include <signal.h>
12 
13 
14 int
15 raise(int sig)
16 {
17 	return kill(find_thread(NULL), sig);
18 }
19 
20