fix_filename_case(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

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