al_path_ustr(3alleg5)

al_path_ustr3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro.h>
const ALLEGRO_USTR *al_path_ustr(const ALLEGRO_PATH *path, char delim)

Overview

Convert a path to its string representation, i.e. optional drive, followed by directory components separated by `delim', followed by an optional filename.

To use the current native path separator, use ALLEGRO_NATIVE_PATH_SEP for `delim'.

The returned pointer is valid only until the path is modified in any way, or until the path is destroyed. This returns an ALLEGRO_USTR. If you need a null-terminated string instead, use al_path_cstr(3alleg5).

Since

5.2.3

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

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