From b9208aceba72e692592278c98b4ef656c31680e2 Mon Sep 17 00:00:00 2001 From: Nathan Giddings Date: Tue, 7 Nov 2023 12:34:31 -0600 Subject: [PATCH] Created types/sigaction.h --- include/types/sigaction.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/types/sigaction.h 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