Name Description Size
abs.rs POSIX-style filesystem functions which operate on bare paths. 10049
at.rs POSIX-style `*at` functions. The `dirfd` argument to these functions may be a file descriptor for a directory, or the special value [`CWD`]. [`cwd`]: crate::fs::CWD 15430
constants.rs Filesystem API constants, translated into `bitflags` constants. 199
copy_file_range.rs 565
cwd.rs The `cwd` function, representing the current working directory. # Safety This file uses `AT_FDCWD`, which is a raw file descriptor, but which is always valid. 1332
dir.rs `Dir` and `DirEntry`. 91
fadvise.rs 603
fcntl.rs The Unix `fcntl` function is effectively lots of different functions hidden behind a single dynamic dispatch interface. In order to provide a type-safe API, rustix makes them all separate functions so that they can have dedicated static type signatures. 3684
fcntl_apple.rs 2243
fcopyfile.rs 2623
fd.rs Functions which operate on file descriptors. 11509
getpath.rs 384
id.rs 33
ioctl.rs Filesystem-oriented `ioctl` functions. 2861
makedev.rs 677
memfd_create.rs 631
mod.rs Filesystem operations. 3503
mount.rs Linux `mount`. These have been moved to a new `rustix::mount` module. 1696
openat2.rs 613
raw_dir.rs `RawDir` and `RawDirEntry`. 7385
seek_from.rs The following is derived from Rust's library/std/src/io/mod.rs at revision dca3f1b786efd27be3b325ed1e01e247aa589c3b. 2236
sendfile.rs 468
statx.rs Linux `statx`. 4280
sync.rs 347
xattr.rs 6057