From f15a2fea3612cfecb937847c8c8640949793c918 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 6 Dec 2010 14:46:43 +0100 Subject: Grundgerüst in Aufgabe 4 kopiert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aufgabe4/log.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 aufgabe4/log.c (limited to 'aufgabe4/log.c') diff --git a/aufgabe4/log.c b/aufgabe4/log.c new file mode 100644 index 0000000..405cdbd --- /dev/null +++ b/aufgabe4/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