.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_rebase_path" "3" "" "Allegro reference manual" .SH NAME al_rebase_path \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] bool al_rebase_path(const ALLEGRO_PATH *head, ALLEGRO_PATH *tail) .EE .SH DESCRIPTION Concatenate two path structures, modifying the second path structure. If \f[I]tail\f[R] is an absolute path, this function does nothing. Otherwise, the drive and path components in \f[I]head\f[R] are inserted at the start of \f[I]tail\f[R]. .PP For example, if \f[I]head\f[R] is \[lq]/anchor/\[rq] and \f[I]tail\f[R] is \[lq]data/file.ext\[rq], then after the call \f[I]tail\f[R] becomes \[lq]/anchor/data/file.ext\[rq]. .SH SEE ALSO al_join_paths(3)