I want to get the current executable\'s file path without the executable name at the end.
I\'m using:
char path[1024]; uint32_t size = sizeof(path); if (
char* program_name = dirname(path);