2 * Copyright 2007, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
11 #include <errno_private.h>
16 set_signal_stack(void *ptr
, size_t size
)
18 stack_t alternateStack
;
21 alternateStack
.ss_sp
= ptr
;
22 alternateStack
.ss_size
= size
;
23 alternateStack
.ss_flags
= 0;
25 status
= _kern_set_signal_stack(&alternateStack
, NULL
);