title: Are file descriptors shared when fork()ing?
body: <p>Let's say I open a file with <code>open()</code>. Then I <code>fork()</code> my program.</p>
  
  <p>Will father and child now share the same offset for the file descriptor?</p>
  
  <p>I mean if I do a write in my father, the offset will be changed in child too?</p>
  
  <p>Or will the offsets be independent after the <code>fork()</code>?</p>