.TH "al_get_path_num_components(3alleg5) Allegro reference manual" "" "" "" "" .SH NAME .PP al_get_path_num_components \- Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include\ int\ al_get_path_num_components(const\ ALLEGRO_PATH\ *path) \f[] .fi .SH DESCRIPTION .PP Return the number of directory components in a path. .PP The directory components do not include the final part of a path (the filename). .SH SEE ALSO .PP al_get_path_component(3alleg5)