xref: /haiku/src/system/libroot/posix/signal/raise.c (revision 93aeb8c3bc3f13cb1f282e3e749258a23790d947)
1 /*
2  *  Copyright (c) 2002-2004, 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 send_signal(find_thread(NULL), sig);
18 }
19 
20