added allocFile to utils
This commit is contained in:
parent
9c72a4f261
commit
3d24d19659
2 changed files with 15 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ void trimTrailingNewlines(char* line);
|
|||
int exists(char* path);
|
||||
void touch(char* path);
|
||||
void putFile(char* path, char* contents);
|
||||
char* allocFile(char* path); // caller must free
|
||||
void getFile(char* path, char* buffer, size_t buffer_size);
|
||||
void putInt(char* path, int value);
|
||||
int getInt(char* path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue