aboutsummaryrefslogtreecommitdiff
path: root/grundgeruest/monitor.c
diff options
context:
space:
mode:
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);
+}