Change read_sd_file semantics to return size read.

This commit is contained in:
Michael Scire committed 2018-04-26 04:47:22 -06:00
1 parent 222ec1cd7f
commit ea609e68d3
6 files changed
+8 -5

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
#include "sd_utils.h"
int read_sd_file(void *dst, size_t dst_size, const char *filename) {
size_t read_sd_file(void *dst, size_t dst_size, const char *filename) {
/* TODO: Implement this function. */
(void)(dst);
(void)(dst_size);
+1 -1
View File
@@ -3,6 +3,6 @@
#include "utils.h"
int read_sd_file(void *dst, size_t dst_size, const char *filename);
size_t read_sd_file(void *dst, size_t dst_size, const char *filename);
#endif