Bizzare Unix semantics question. Given the parent of init is init (getppid(() of pid 1 is 1) is init the child of init, and if only init is running what is the correct return from wait(NULL);
Believe it or not I actually found a case it matters in my Fuzix init today and having read various docs I'm really not sure what the answer is. ECHILD or blocking ?