Wireshark-dev: [Wireshark-dev] file_read vs fread?
From: "Ravi Kondamuru" <ravikondamuru@xxxxxxxxx>
Date: Tue, 20 Jun 2006 00:38:13 -0700
Hi,

What is the difference in reading a file via file_read vs fread? I have written a dump routine to save trace data into a file. The hex dump of
the file looks like I expect it to be. The fread of the file with a stub program shows the same data. However, when same file is read by wireshark (using file_read), the buffer into which I read, shows different data.

Just wondering how I should debug this issue?

thanks,
Ravi.