to_cpath

Function to_cpath 

Source
pub(crate) fn to_cpath(path: &Path) -> Vec<u8> 
Expand description

Converts a path to a NUL-terminated Vec<u8> suitable for use with C functions.