Function rustix::process::chdir::getcwd

source ·
pub fn getcwd<B: Into<Vec<u8>>>(reuse: B) -> Result<CString>
Expand description

getcwd—Return the current working directory.

If reuse already has available capacity, reuse it if possible.

§References