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