The fork() function is the Unix/Linux/POSIX way of creating a new process by duplicating the calling process.