Skip to main content

reaches_kernel

Function reaches_kernel 

Source
pub fn reaches_kernel(path: &Path) -> bool
Expand description

Whether path is under /proc or /sys, or the symbolic links on the way to it lead there, as /dev/fd leads to /proc/self/fd and /dev/stdin to /proc/self/fd/0 (see kernel_links).