aboutsummaryrefslogtreecommitdiffstats
path: root/utility
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-01 12:55:52 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-01 12:55:52 +0000
commit4574ee462a94ff270f262361d4a2ef7e91de96c5 (patch)
treea4770704b660fe64bf866494100d3950be3b0ce6 /utility
parentMerge branch 'master' of https://github.com/bloodstalker/mutator (diff)
downloadmutator-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.c13
-rw-r--r--utility/utility.h4
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);