diff options
Diffstat (limited to 'aufgabe3/monitor.c')
| -rw-r--r-- | aufgabe3/monitor.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/aufgabe3/monitor.c b/aufgabe3/monitor.c new file mode 100644 index 0000000..b631e59 --- /dev/null +++ b/aufgabe3/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); +} |
