tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wait(2) and SIGCHLD



> I'm not sure I've completely understood your question
Probably not. Or I don't get what you are trying to say.

What I observe is that a process that explicitly ignores SIGCHLD (SIG_IGN), 
then forks a child which exits, when wait()ing for the child, gets ECHILD 
(i.e., wait returns -1 and errno is ECHILD).


Home | Main Index | Thread Index | Old Index