fix_filename_case(3alleg4)

fix_filename_case3alleg4

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

Usage

#include <allegro.h>

char *fix_filename_case(char *path);

Overview

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.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.