fix_filename_case(3)
fix_filename_case(3) β the Allegro manual page, but make it bestie-coded π
okay so this is from the Allegro manual, and it's page fix_filename_case(3). We're talking about a function that fixes filename case. slay.
β¨ NAME β¨
fix_filename_case β converts a filename to a standardised case. It's part of the Allegro game programming library. π
πΈ SYNOPSIS πΈ
#include <allegro.h>
char *fix_filename_case(char *path);
π DESCRIPTION π
So this function converts the filename stored in `path' to a standardised case. That's the whole vibe. π
On DOS platforms, those filenames will be entirely uppercase. On other platforms? This function doesn't do anything. literally nothing. no thoughts, head empty. π
Example time, bestie:
get_executable_name(name, sizeof(name));
fix_filename_case(name);
allegro_message("Running `%s'\n", name);
π RETURN VALUE π
Returns a copy of the `path' parameter. that's it, that's the tea. π«Ά
π SEE ALSO π
kisses from the Allegro manual, version 4.4.3 π β the footer had the version and no date, so that's the sign-off, periodt. π
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms