Component index
Section index | Component savefile |
Search |
Type | Function |
Summary | Overwrite a file with new content |
Description | This will open the file, produce an error message if it can't be opened (unless openfail is used). Once the file is opened, start(), dowrite and end() are called in this order. |
![]() ![]() | int dowrite (FILE *fout, const char *fname) | |
![]() ![]() | void end (FILE *fout, const char *fname) | |
![]() ![]() | void openfail (const char *fname) | |
![]() ![]() | void start (FILE *fout, const char *fname) |
Return -1 if any errors
The file is currently opened