pid_t startChild(void (*funion)(void *arg), void *anarg) { pid_t chld; if ( (chld = fork()) == 0) { funion(anarg); } return chld; }