In my program, I fork() several times depending on user input.
In certain instances, I want to handle SIGCHLD and say something like "Process # Finished". In other cases though, I want to ignore this signal.
How can I do this?
以上就是Ignoring SIGCHLD in some cases but not others的详细内容，更多请关注web前端其它相关文章！