1 2 3 4 5 6 7 8 9 10
#include <hurd/signal.h> #include <signal.h> -- HURD_SIGSTATE__SIGALTSTACK__OFFSET offsetof(struct hurd_sigstate, sigaltstack) SIGALTSTACK__SS_SP__OFFSET offsetof(struct sigaltstack, ss_sp) SIGALTSTACK__SS_SIZE__OFFSET offsetof(struct sigaltstack, ss_size) SIGALTSTACK__SS_FLAGS__OFFSET offsetof(struct sigaltstack, ss_flags)