|
fread() function seems to be designed to read stream file where data in
the file is segmented and, just like record in a database file, each
segment has the same length. Of course, by passing those parameters the
way you suggested would allow Shannon to know the length of data that
this api has read. I'm just curious as why not just use the read()
function. This function seems to be a more suitable function to use
when needing to read an image file.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.