diff options
Diffstat (limited to 'klibc/klibc/bsd_signal.c')
-rw-r--r-- | klibc/klibc/bsd_signal.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/klibc/klibc/bsd_signal.c b/klibc/klibc/bsd_signal.c new file mode 100644 index 0000000000..9acc867a36 --- /dev/null +++ b/klibc/klibc/bsd_signal.c @@ -0,0 +1,11 @@ +/* + * bsd_signal.c + */ + +#include <signal.h> + +__sighandler_t bsd_signal(int signum, __sighandler_t handler) +{ + /* BSD signal() semantics */ + return __signal(signum, handler, SA_RESTART); +} |