The canonical function does not guarantee the destination used value to be set to 0.
Ensue that this value is set, if possible.
Update the documentation comment to communicate that the destination is not appended to and is instead replaced by.
if (!main || !destination) return F_status_set_error(F_parameter);
+ destination->used = 0;
+
{
const f_status_t status = fl_path_canonical(source, destination);
if (F_status_is_error(status)) return status;
* The resulting relative canonical path.
* The destination will be completely replaced on success.
*
+ * Any existing values will be replaced.
+ *
* Must not be NULL.
*
* @return