commit 9e022df7da1546fb09b5e6606b7e75d71aafade9 Author: Marcel Nijenhof Date: Mon Feb 25 22:11:03 2019 +0100 Eerste versie diff --git a/wait.c b/wait.c new file mode 100644 index 0000000..49a8c74 --- /dev/null +++ b/wait.c @@ -0,0 +1,14 @@ +#include +#include +#include +#include + +int main(int argc, char *argv[]) { + pid_t res; + int status; + while (1) { + res = wait(&status); + sleep(60); + } + return(0); +}