aboutsummaryrefslogtreecommitdiff
path: root/aufgabe2/monitor.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/monitor.c
parent6762515c8e5861aa80675fe6f27be54689651e76 (diff)
downloadprozesskommunikation-9af2bea582c083653c08abb965eba6f63de997fa.tar.gz
prozesskommunikation-9af2bea582c083653c08abb965eba6f63de997fa.tar.bz2
aufgabe2 und aufgabe3 erstellt
Diffstat (limited to 'aufgabe2/monitor.c')
-rw-r--r--aufgabe2/monitor.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/aufgabe2/monitor.c b/aufgabe2/monitor.c
new file mode 100644
index 0000000..b631e59
--- /dev/null
+++ b/aufgabe2/monitor.c
@@ -0,0 +1,18 @@
+/*
+ * vim:ts=4:sw=4:expandtab
+ *
+ */
+#include <stdlib.h>
+#include <stdio.h>
+#include <unistd.h>
+
+void monitor() {
+ printf("monitor started\n");
+ for (;;) {
+ }
+}
+
+void monitor_cleanup() {
+ printf("monitor cleanup\n");
+ _exit(EXIT_SUCCESS);
+}