2 * Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
12 #include <errno_private.h>
17 kill(pid_t pid
, int sig
)
26 status
= _kern_send_signal(pid
, sig
, NULL
, 0);
28 // translate B_BAD_THREAD_ID/B_BAD_TEAM_ID to ESRCH
29 if (status
== B_BAD_THREAD_ID
|| status
== B_BAD_TEAM_ID
)