Move back to C

I'm insane and as such I have moved to C AGAIN! Without any reason.
This commit is contained in:
Piotr Krygier committed 2023-08-14 13:48:29 +02:00
1 parent bf31b96a2e
commit 3d538eaa2c
43 files changed
+2645 -2649

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#ifndef RSE_FILE_UTILS_H
#define RSE_FILE_UTILS_H
#include <stddef.h>
/**
* @brief Reads file and puts its content into char buffer. If NULL is provided as buffer, than just bytes_count
* is set
*
* @param file_path Path to file
* @param bytes_count Returned bytes count
* @param buffer Returned filled buffer
*/
void read_file(const char* file_path, long* bytes_count, char* buffer);
#endif /* RSE_FILE_UTILS_H */