aboutsummaryrefslogtreecommitdiff
path: root/grundgeruest/monitor.c
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2010-12-06 14:47:33 +0100
committerMichael Stapelberg <michael@stapelberg.de>2010-12-06 14:47:33 +0100
commit6762515c8e5861aa80675fe6f27be54689651e76 (patch)
tree73101a65621f7d76998302f80b57b9cdeb1ce9a1 /grundgeruest/monitor.c
parentf15a2fea3612cfecb937847c8c8640949793c918 (diff)
downloadprozesskommunikation-6762515c8e5861aa80675fe6f27be54689651e76.tar.gz
prozesskommunikation-6762515c8e5861aa80675fe6f27be54689651e76.tar.bz2
Grundgerüst in eigenen Ordner verschoben
Diffstat (limited to 'grundgeruest/monitor.c')
-rw-r--r--grundgeruest/monitor.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/grundgeruest/monitor.c b/grundgeruest/monitor.c
new file mode 100644
index 0000000..b631e59
--- /dev/null
+++ b/grundgeruest/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);
+}