Path structures
These functions are declared in the main Allegro header file:
#include <allegro5/allegro.h>
We define a path as an optional drive, followed by zero or more directory components, followed by an optional filename. The filename may be broken up into a basename and an extension, where the basename includes the start of the filename up to, but not including, the last dot (.) character. If no dot character exists the basename is the whole filename. The extension is everything from the last dot character to the end of the filename.
- al_create_path
- al_create_path_for_directory
- al_destroy_path
- al_clone_path
- al_join_paths
- al_rebase_path
- al_get_path_drive
- al_get_path_num_components
- al_get_path_component
- al_get_path_tail
- al_get_path_filename
- al_get_path_basename
- al_get_path_extension
- al_set_path_drive
- al_append_path_component
- al_insert_path_component
- al_replace_path_component
- al_remove_path_component
- al_drop_path_tail
- al_set_path_filename
- al_set_path_extension
- al_path_cstr
- al_make_path_canonical