.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_create_path" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_create_path - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include ALLEGRO_PATH *al_create_path(const char *str) \f[R] .fi .SH DESCRIPTION .PP Create a path structure from a string. The last component, if it is followed by a directory separator and is neither \[lq].\[rq] nor \[lq]..\[rq], 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. .SH SEE ALSO .PP al_create_path_for_directory(3alleg5), al_destroy_path(3alleg5)