Skip to main content

family_for

Function family_for 

Source
pub fn family_for(argv0: &OsStr) -> Option<(Family, &'static str)>
Expand description

The family and canonical name for an argv[0], or None when it is not a compatibility name. Only the final path component counts, and on Windows a trailing .exe is ignored.