diff options
| author | Michael Stapelberg <michael@stapelberg.de> | 2010-12-06 14:41:41 +0100 |
|---|---|---|
| committer | Michael Stapelberg <michael@stapelberg.de> | 2010-12-06 14:41:41 +0100 |
| commit | efd23153d6c094c7d60833548621e13f553871e9 (patch) | |
| tree | a38ba0d389b83edc72b2406b991fd9f9f74e8285 /monitor.c | |
| parent | 2043fe69d1bc3e91af346197c8207bbc190b4111 (diff) | |
| download | prozesskommunikation-efd23153d6c094c7d60833548621e13f553871e9.tar.gz prozesskommunikation-efd23153d6c094c7d60833548621e13f553871e9.tar.bz2 | |
Grundgerüst erstellt
Diffstat (limited to 'monitor.c')
| -rw-r--r-- | monitor.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c new file mode 100644 index 0000000..b631e59 --- /dev/null +++ b/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); +} |
