Skip to main content

default_device_path

Function default_device_path 

Source
pub fn default_device_path() -> Option<&'static Path>
Expand description

Determine the optionally configured default path to the kernel character device.

A build without the default-device-path feature returns None. Callers must then provide a path explicitly or use an already-open device file descriptor.