rustix::fs

Constant CWD

Source
pub const CWD: BorrowedFd<'static>;
Available on crate feature fs only.
Expand description

AT_FDCWD—A handle representing the current working directory.

This is 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