Updated filemanager to use dynamically allocated strings

converted filename to dynamically allocated string
created cstr_helper
This commit is contained in:
Michael Tryby
2019-04-02 11:05:56 -04:00
parent 2c6d4ca74d
commit c98d13de80
7 changed files with 73 additions and 24 deletions
+9
View File
@@ -0,0 +1,9 @@
#ifndef CSTR_HELPER_H_
#define CSTR_HELPER_H_
int copy_cstr(const char *source, char **destination, size_t *size);
#endif /* CSTR_HELPER_H_ */