write()/read() system call
write() system call is used to write to a file descriptor. In other words write() can be used to write to any file (all hardware are also referred as file
/**/
write() system call is used to write to a file descriptor. In other words write() can be used to write to any file (all hardware are also referred as file
An orphan process is a process whose parent has finished. Suppose P1 and P2 are two process such that P1 is the parent process and P2
execl() or execlp() functions are used to replace the image of the current process with a new process image. In other words the current process code gets replaced by the new process code.
fork() is a system call used to create a new process. The new process is called a child process and the original process is called the parent process. The child process by default is a duplicate of the parent process.