.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_rebase_path" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_rebase_path - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_rebase_path(const ALLEGRO_PATH *head, ALLEGRO_PATH *tail) \f[R] .fi .SH DESCRIPTION .PP 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 .PP al_join_paths(3alleg5)