-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_WriteFile
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Write a buffer to a file.
This function writes to the file in binary mode.
bool MTY_WriteFile(
const char * path,
const void * buf,
size_t size
);
path
(const char *
)
Path to the file.
buf
(const void *
)
Input buffer to write.
size
(size_t
)
Size in bytes of buf
.
bool
Returns true
on success, false
on failure. Call MTY_GetLog
for details.