/ Published in: C

loadfile(filename);
returns NULL on fail or a pointer that should be free()d when no longer needed.
savefile(filename,data,dataSize);
returns 0 on fail or 1 on success.
returns NULL on fail or a pointer that should be free()d when no longer needed.
savefile(filename,data,dataSize);
returns 0 on fail or 1 on success.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
void*loadfile(const char*const s){ if(f){ { if(ml){ if(m){ return m; } } } } return 0; } int savefile(const char*const s,const void*const m,const int ml){ if(f){ return ok; } return 0; }
Comments
