-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_AppendTextToFile
chrisd1100 edited this page Aug 25, 2022
·
2 revisions
Append formatted text to a file.
This function appends to the file in text mode.
Warning: Be careful with your format string, if it is incorrect this function will have undefined behavior.
bool MTY_AppendTextToFile(
const char * path,
const char * fmt,
...) MTY_FMT(2,
3
);
path
(const char *
)
Path to the file.
fmt
(const char *
)
Format string to append.
MTY_FMT(2
(...)
)
3
bool
Returns true
on success, false
on failure. Call MTY_GetLog
for details.