What does child process inherit from parent?

What does child process inherit from parent?
Answer
A child process inherits most of its attributes, such as file descriptors, from its parent. In Unix, a child process is typically created as a copy of the parent, using the fork system call. The child process can then overlay itself with a different program (using exec) as required.
 

Tìm kiếm

Back
Top