al_path_cstr - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

const char *al_path_cstr(const ALLEGRO_PATH *path, char delim)

Description

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 a null-terminated string. If you need an ALLEGRO_USTR instead, use al_path_ustr(3).

See Also

al_path_ustr(3)

Referenced By

al_path_ustr(3).

Allegro reference manual