[][src]Function discid_sys::discid_get_default_device

pub unsafe extern "C" fn discid_get_default_device() -> *mut c_char

Return the name of the default disc drive for this machine. This isn't constant, but possibly depends on the drives currently attached, depending on the platform. For this reason you should call this once and save it when you want to make sure to use the same drive for multiple operations.

The returned string is thread local and owned by libdiscid internally.

@return a string containing an operating system dependent device identifier