I would like to know if we can use multiple threads to write binary data on the same file.
FILE *fd = openfile(\"test\"); int SIZE = 1000000000; int * table
fseek and fwrite are thread-safe so you can use them without additional synchronization.