1 /* 2 * Copyright (c) 2002-2011, 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 12 #include <signal_defs.h> 13 #include <syscalls.h> 14 15 16 int 17 send_signal(thread_id thread, uint sig) 18 { 19 return _kern_send_signal(thread, sig, NULL, SIGNAL_FLAG_SEND_TO_THREAD); 20 } 21