Add sizep param to mg_file_read()

This commit is contained in:
cpq committed 2021-03-15 09:16:34 +00:00
1 parent 381d7cce54
commit 4528cc28ef
7 files changed
+14 -12

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
#include "arch.h"
#include "str.h"
char *mg_file_read(const char *path);
char *mg_file_read(const char *path, size_t *size);
int64_t mg_file_size(const char *path);
bool mg_file_write(const char *path, const void *buf, size_t len);
bool mg_file_printf(const char *path, const char *fmt, ...);