Function rustix::fs::cwd[][src]

pub fn cwd() -> BorrowedFd<'static>
Expand description

AT_FDCWD—Returns a handle representing the current working directory.

This returns a file descriptor which refers to the process current directory which can be used as the directory argument in *at functions such as openat.

References