aboutsummaryrefslogtreecommitdiff
path: root/aufgabe2/statistic.c
diff options
context:
space:
mode:
Diffstat (limited to 'aufgabe2/statistic.c')
-rw-r--r--aufgabe2/statistic.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/aufgabe2/statistic.c b/aufgabe2/statistic.c
new file mode 100644
index 0000000..b83776a
--- /dev/null
+++ b/aufgabe2/statistic.c
@@ -0,0 +1,18 @@
+/*
+ * vim:ts=4:sw=4:expandtab
+ *
+ */
+#include <stdlib.h>
+#include <stdio.h>
+#include <unistd.h>
+
+void statistic() {
+ printf("statistic started\n");
+ for (;;) {
+ }
+}
+
+void statistic_cleanup() {
+ printf("statistic cleanup\n");
+ _exit(EXIT_SUCCESS);
+}