fix: move the new utils into utils.h/c

This commit is contained in:
2024-08-25 15:04:04 +02:00
parent faf362c607
commit e442800779
8 changed files with 98 additions and 188 deletions
+7
View File
@@ -41,4 +41,11 @@ void per_line(const char* file, line_handler handler);
char* join(const char* a, const char* b);
const char* skip_arg(const char* cp);
char* skip_spaces(const char* str);
int count_argc(const char* str);
char** argv_split(const char* str, int* argc_out);
void argv_free(char** argv);
int which(const char* program_name, char* out_full_program, int max_path);
#endif