diff options
-rw-r--r-- | utility/utility.c | 13 | ||||
-rw-r--r-- | utility/utility.h | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/utility/utility.c b/utility/utility.c new file mode 100644 index 0000000..822851b --- /dev/null +++ b/utility/utility.c @@ -0,0 +1,13 @@ + +#include "utility.h" +#include "stdlib.h" + +void C_Trap_P (void) +{ + exit (EXIT_FAILURE); +} + +void C_Trap_N (void) +{ + exit (EXIT_SUCCESS); +} diff --git a/utility/utility.h b/utility/utility.h new file mode 100644 index 0000000..d0349c8 --- /dev/null +++ b/utility/utility.h @@ -0,0 +1,4 @@ + + +void C_Trap_P (void); +void C_Trap_N (void); |