diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-01 12:55:52 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-01 12:55:52 +0000 |
commit | 4574ee462a94ff270f262361d4a2ef7e91de96c5 (patch) | |
tree | a4770704b660fe64bf866494100d3950be3b0ce6 /utility | |
parent | Merge branch 'master' of https://github.com/bloodstalker/mutator (diff) | |
download | mutator-4574ee462a94ff270f262361d4a2ef7e91de96c5.tar.gz mutator-4574ee462a94ff270f262361d4a2ef7e91de96c5.zip |
the folder that holds the c functions later needed for mutants running.
Diffstat (limited to 'utility')
-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); |