title: Multiple threads writing on same file
body: <p>I would like to know if we can use multiple threads to write binary data on the same file.</p>
  
  <pre><code>FILE *fd = openfile("test");
  int SIZE = 1000000000;
  int * table = malloc(sizeof(int) * SIZE);
  // .. filling the table
  fwrite(table, sizeof(*table), SIZE, fd);
  </code></pre>
  
  <p>so I wonder if i can use threads,and each thread calls fssek to seek to a different location to write in the same file.</p>
  
  <p>Any idea ?</p>