al_get_path_extension(3alleg5)

al_get_path_extension3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro.h>
const char *al_get_path_extension(const ALLEGRO_PATH *path)

Overview

Return a pointer to the start of the extension of the filename, i.e. everything from the final dot (`.') character onwards. If no dot exists, returns an empty string.

The returned pointer is valid only until the filename part of the path is modified in any way, or until the path is destroyed.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.