1fix_filename_case(3) Allegro manual fix_filename_case(3)
2
3
4
6 fix_filename_case - Converts a filename to a standardised case. Allegro
7 game programming library.
8
10 #include <allegro.h>
11
12
13 char *fix_filename_case(char *path);
14
16 Converts the filename stored in `path' to a standardised case. On DOS
17 platforms, they will be entirely uppercase. On other platforms this
18 function doesn't do anything. Example:
19
20 get_executable_name(name, sizeof(name));
21 fix_filename_case(name);
22 allegro_message("Running `%s'\n", name);
23
25 Returns a copy of the `path' parameter.
26
27
29 fix_filename_slashes(3), canonicalize_filename(3)
30
31
32
33Allegro version 4.4.3 fix_filename_case(3)