Skip to main content

is_reserved_device_name

Function is_reserved_device_name 

pub fn is_reserved_device_name(name: impl AsRef<OsStr>) -> bool
Available on crate feature std only.
Expand description

Whether name matches a reserved Windows device name (e.g. CON, NUL, COM1, LPT9), independent of the current platform.