Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopeifeng authored Aug 29, 2016
1 parent ae209d3 commit 164ee5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1.waitpid_sigchld_ignore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ It is oppsite the description of "man 2 waitpid".

# Reason

Because when waitpid for child2, we specified the pid. But the SICHLD is ignored,
Because when waitpid for child2, we specify the pid. But the SICHLD is ignored,
the exit status of child2 is not saved.
So the waitpid fail to get the child2's status and returns error, and show the reason "No child processes", then
return immediately
Expand Down

0 comments on commit 164ee5a

Please sign in to comment.