mirror of
https://github.com/fluencelabs/musl
synced 2025-06-26 13:12:03 +00:00
initial check-in, version 0.5.0
This commit is contained in:
8
src/signal/sigaltstack.c
Normal file
8
src/signal/sigaltstack.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <signal.h>
|
||||
#include "syscall.h"
|
||||
|
||||
int sigaltstack(const stack_t *ss, stack_t *old)
|
||||
{
|
||||
/* depends on kernel struct matching */
|
||||
return syscall2(__NR_sigaltstack, (long)ss, (long)old);
|
||||
}
|
Reference in New Issue
Block a user