al_set_path_drive

void al_set_path_drive(ALLEGRO_PATH *path, const char *drive)
Introduced in 5.0.0

Set the drive string on a path. The drive may be NULL, which is equivalent to setting the drive string to the empty string.

See also: al_get_path_drive

Examples: ex_path_test