fix_filename_case(3alleg4)
β¨ NAME β¨
fix_filename_case β converts a filename to a standardised case. Part of the Allegro game programming library, bestie! This page is fix_filename_case(3alleg4) from the Allegro manual, btw. π
π SYNOPSIS π
#include <allegro.h>
char *fix_filename_case(char *path);
π DESCRIPTION π
Okay so basically: fix_filename_case takes the filename stored in path and converts it to a standardised case. On DOS platforms, that means the whole thing gets turned ENTIRELY UPPERCASE β like it's yelling, but in a filename way. On other platforms? This function literally does nothing. It's giving "I'm just here for the vibe check" energy. π
Example, because examples eat every time:
get_executable_name(name, sizeof(name));
fix_filename_case(name);
allegro_message("Running `%s'\n", name);
π RETURN VALUE π
It returns a copy of the path parameter. So you get your path back, just as a copy β no cap. π
π SEE ALSO π
πΈ that's the whole page, bestie! This was fix_filename_case(3alleg4) from the Allegro manual, version 4.4.3. Stay iconic. π
β¨
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms