From 7f04740599cb1cf78384e17b3cb5e1087eb54f86 Mon Sep 17 00:00:00 2001 From: Daniel Reinhold Date: Mon, 18 Nov 2002 02:29:57 +0000 Subject: [PATCH] added sigaction() git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1999 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/signal/sigaction.c | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/kernel/libroot/posix/signal/sigaction.c 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); +} +