fopen & fwrite

I am writing in C/C++ and am using fopwn and fwrite to write large blocks of binary data (250,000 bytes) into files in the Documents directory. I can see them under ITunes. Every so often, fwrite returns the wrong 'bytes written' value and things start to get messed up, several more fwrites may fail.


I need to get mor errror information on fwrite and fopen and I can't find specific IOS/IPhone information. Any pointers please?

These C-level APIs are documented in the man pages.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
fopen & fwrite
 
 
Q