headers/bsd: Add sys/queue.h.
[haiku.git] / src / system / libroot / posix / signal / send_signal.c
blobd8e2806e0f8fbcbdbaaf5707207eec38c65069cd
1 /*
2 * Copyright (c) 2002-2011, Haiku Project. All rights reserved.
3 * Distributed under the terms of the Haiku license.
5 * Author(s):
6 * Daniel Reinhold (danielre@users.sf.net)
7 */
10 #include <OS.h>
12 #include <signal_defs.h>
13 #include <syscalls.h>
16 int
17 send_signal(thread_id thread, uint sig)
19 return _kern_send_signal(thread, sig, NULL, SIGNAL_FLAG_SEND_TO_THREAD);