which system call is used to replace the current process image with new process image.
Answers
Answered by
2
Answer:
The fork() system call is used to create an exact copy of a running process and the created copy is the child process and the running process is the parent process. Whereas, exec() system call is used to replace a process image with a new process image.
Explanation:
plz plz plz follow me
Answered by
0
The exec() is used to replace the current process image with new process image.
- Generally the exec system call replaces the specific program which is properly executed by a continuous process.
- When a process calls exec, all the coding and information in the unique process is promptly lost and replaced with the new program executable.
- To substitute the current process image with the new process image, the exec system call is typically used.
- It provides the program into the current space and executes it from the point of entry.
Similar questions