My software needs to read a file and write to a device. It should split the file to smaller pages which has a maximum size (say M bytes), and also sets page address for each cycle. How can I implement it in C?
Thanks!
Hetty
My software needs to read a file and write to a device. It should split the file to smaller pages which has a maximum size (say M bytes), and also sets page address for each cycle. How can I implement it in C?
Thanks!
Hetty
Copyright © 2021 Jogjafile Inc.
It's not clear what are you going to do with this data but to read a file chunk by chunk you just need to use
fread
: