Move back to C
I'm insane and as such I have moved to C AGAIN! Without any reason.
This commit is contained in:
1 parent
bf31b96a2e
commit
3d538eaa2c
43 files changed
+2645
-2649
No files matched your search
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user