From 9af2bea582c083653c08abb965eba6f63de997fa Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 6 Dec 2010 14:47:57 +0100 Subject: aufgabe2 und aufgabe3 erstellt --- aufgabe2/log.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 aufgabe2/log.c (limited to 'aufgabe2/log.c') diff --git a/aufgabe2/log.c b/aufgabe2/log.c new file mode 100644 index 0000000..405cdbd --- /dev/null +++ b/aufgabe2/log.c @@ -0,0 +1,18 @@ +/* + * vim:ts=4:sw=4:expandtab + * + */ +#include +#include +#include + +void log() { + printf("log started\n"); + for (;;) { + } +} + +void log_cleanup() { + printf("log cleanup\n"); + _exit(EXIT_SUCCESS); +} -- cgit v1.2.3-70-g09d2