Function kernel::process::syscalls::path_to_proc_absolute_path
source · fn path_to_proc_absolute_path(path: &Path) -> Cow<'_, Path>
Expand description
Get the absolute path, if the path
is relative, it will use the current process working directory to get the absolute path.
If the path
is absolute, it will return it as is.