I have doubts about which order of the parameters size and count to use for fread/fwrite. If I want to read 8kb of data from file fp, which of the following is more efficient?
fread(data,1,8192,fp)
fread(data,8192,1,fp)
Also are there endiannes issues that I should be worried about?