DRIVE_FindDriveRoot(3w)

DRIVE_FindDriveRoot3w

Drive_finddriveroot

Usage

int DRIVE_FindDriveRoot(const char **path);

Overview

Find a drive for which the root matches the begginning of the given path. This can be used to translate a Unix path into a drive + DOS path. Return value is the drive, or -1 on error. On success, path is modified to point to the beginning of the DOS path.

From wine-doc 0.0.980315-1 in Debian 2.0 (Hamm). Parsed by carta from the page's man source.