[][src]Function posish::fs::cwd

pub fn cwd() -> ManuallyDrop<File>

Return a "file" which holds a handle which refers to the process current directory (AT_FDCWD). It is a ManuallyDrop, however the caller should not drop it explicitly, as it refers to an ambient authority rather than an open resource.