al_create_path(3)

al_create_path3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
ALLEGRO_PATH *al_create_path(const char *str)

Overview

Create a path structure from a string. The last component, if it is followed by a directory separator and is neither “.” nor “..”, is treated as the last directory name in the path. Otherwise the last component is treated as the filename. The string may be NULL for an empty path.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.