Use switch with fork()
Allows dropping a local variable if the explicit PID is not needed and it makes it clearer what happens. Also, one should always strive for consistency for cases like these.
This commit is contained in:
Reference in New Issue
Block a user