C Programming – Creating a child process with “fork”
fork() function is used to create a child process. The process who calls this function is called parent process. Once the fork() function is called, it creates an exact copy of the calling process. The syntax of the function is: pid_t fork(void); where pid_t is an unique integer which refers the process id. As we […]