Updated filemanager to use dynamically allocated strings
converted filename to dynamically allocated string created cstr_helper
This commit is contained in:
@@ -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_ */
|
||||
Reference in New Issue
Block a user