If I fopen a file, what\'s the difference between calling fclose or close and which one should I use?
fopen
fclose
close
If forked children have
which one should I use?
If you open a file with fopen, close it with fclose. Using close in this case may cause a memory leak on a handle allocated by fopen