When a process forks, the child will share with its parent the file description that was open before the forking.
Is there a way to make the child have its own copy of the file description (that includes the offset and the file status flag)?
I need that since I don't want both parent and child to share the same offset of the file; if one process has done a read, I don't want the offset of the file for the second process to be changed.