/* * Copyright (c) 2002-2011, Haiku Project. All rights reserved. * Distributed under the terms of the Haiku license. * * Author(s): * Daniel Reinhold (danielre@users.sf.net) */ #include #include #include #include int raise(int sig) { RETURN_AND_SET_ERRNO(send_signal(find_thread(NULL), sig)); }