rhl120 <rhl...@protonmail.com> wrote:

> Hello, this commit fixes nothing. To me it is just an instance of using
> the right tool for the right job.

Sorry, you are incorrect.

> I could also argue that there is a 
> performance improvement (because the call passes less arguments) but 
> that is probably negligible. 

That is not correct.  The kernel only has a wait4() system call.

waitpid() and wait() are both wrappers on top of it.

It is half style.  The other half is that this program is intentionally
written at a lower level of calls, so your proposal is not right.

Reply via email to