参考: https://www.cnblogs.com/webor2006/p/4014586.html
wait()和waitpid()的参数解析:https://blog.csdn.net/csdn_kou/article/details/81091191