Simplified the get_dir function, and now we have directories and files ready :)

This commit is contained in:
synt-xerror
2026-02-14 20:49:52 -03:00
parent 7b829fde21
commit a73b97101f
3 changed files with 57 additions and 50 deletions

View File

@@ -2,6 +2,7 @@
#define TOYBOX_H
char* home();
char* get_dir(char* HOME, char* DIR_ROOT, char* DIR_NAME);
char* get_dir(const char* HOME, const char* DIR_NAME);
char* get_file(char* ROOT, char* FILE_NAME);
#endif