fix_filename_case - Man Page

Converts a filename to a standardised case. Allegro game programming library.

Synopsis

#include <allegro.h>

char *fix_filename_case(char *path);

Description

Converts the filename stored in `path' to a standardised case. On DOS platforms, they will be entirely uppercase. On other platforms this function doesn't do anything. Example:

   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.

See Also

fix_filename_slashes(3), canonicalize_filename(3)

Referenced By

canonicalize_filename(3), fix_filename_slashes(3).

version 4.4.3 Allegro manual