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