aboutsummaryrefslogtreecommitdiff
path: root/aufgabe2/statistic.c
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2010-12-06 14:47:57 +0100
committerMichael Stapelberg <michael@stapelberg.de>2010-12-06 14:47:57 +0100
commit9af2bea582c083653c08abb965eba6f63de997fa (patch)
treeac553217ec7cde33b80722b1c1ba42b9e76f021a /aufgabe2/statistic.c
parent6762515c8e5861aa80675fe6f27be54689651e76 (diff)
downloadprozesskommunikation-9af2bea582c083653c08abb965eba6f63de997fa.tar.gz
prozesskommunikation-9af2bea582c083653c08abb965eba6f63de997fa.tar.bz2
aufgabe2 und aufgabe3 erstellt
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);
+}