fix_filename_case(3alleg)

fix_filename_case3alleg

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

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.