Introduction - If you have any usage issues, please Google them yourself
The overall function: if the call process is not a group leader, setsid create a new session. Call process will become the new session of the group leader, the new process group leader, and there is no control terminal.