diff --git a/include/types/sigaction.h b/include/types/sigaction.h new file mode 100644 index 0000000..6ebb0e9 --- /dev/null +++ b/include/types/sigaction.h @@ -0,0 +1,15 @@ +#ifndef QUARK_SIGACTION_H +#define QUARK_SIGACTION_H + +#include "types/pid.h" +#include "types/sighandler.h" + +struct signal_action_t +{ + pid_t pid; + signal_handler_t func_ptr; + void (*trampoline_ptr)(); + void *userdata; +}; + +#endif \ No newline at end of file