There are two reasons why POSIX programmers call fork(). One reason is to create a new thread of control within the same program (which was originally only possible in POSIX by creating a new process); the other is to create a new process running a different program. In the latter case, the call to fork() is soon followed by a call to one of the exec functions.
Quando fork()
é usado como um "encadeamento de pobre", faz sentido copiar os descritores de arquivo. Esse caso de uso deve continuar sendo suportado, então esse recurso permanecerá ...