diff --git a/src/kernel/libroot/posix/signal/sigaction.c b/src/kernel/libroot/posix/signal/sigaction.c new file mode 100644 index 0000000000..8658352d93 --- /dev/null +++ b/src/kernel/libroot/posix/signal/sigaction.c @@ -0,0 +1,25 @@ +#include +#include + +/* + * Copyright (c) 2002, OpenBeOS Project. All rights reserved. + * Distributed under the terms of the OpenBeOS license. + * + * + * sigaction.c: + * implements the signal function sigaction() + * this is merely a wrapper for a syscall + * + * + * Author(s): + * Daniel Reinhold (danielre@users.sf.net) + * + */ + + +int +sigaction(int sig, const struct sigaction *act, struct sigaction *oact) +{ + return sys_sigaction(sig, act, oact); +} +