Skip to main content

drive_kind

Function drive_kind 

Source
fn drive_kind(drive: u8) -> Option<bool>
Expand description

Accepts only the two documented drive numbers.

Returns Some(true) for the fixed disk, Some(false) for the floppy and None for anything else.