added sigaction()

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1999 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Daniel Reinhold
2002-11-18 02:29:57 +00:00
parent 274dff2fe0
commit 7f04740599
@@ -0,0 +1,25 @@
#include <syscalls.h>
#include <signal.h>
/*
* 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 ([email protected])
*
*/
int
sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
{
return sys_sigaction(sig, act, oact);
}