Jan. 26, 2011
10:59 a.m.
Hi all, We know that each file descriptor fd, has an associated 'struct file'. How is the 'struct file' copied/cloned at fork? Are all fields of 'struct file' inherited by child? I want to know if there is a function which takes a struct file* and creates a consistent copy/clone of it. thanks, Daniel.