Function rustix::path::arg::with_c_str_slow_path

source ·
fn with_c_str_slow_path<T, F>(bytes: &[u8], f: F) -> Result<T>
where F: FnOnce(&CStr) -> Result<T>,
Expand description

The slow path which handles any length. In theory OS’s only support up to PATH_MAX, but we let the OS enforce that.