Skip to main content

Module fd

Module fd 

Source
Expand description

File descriptor types (RawFd, BorrowedFd, OwnedFd) and *at flags.

Structs§

BorrowedFd
Borrowed file descriptor tied to lifetime 'fd.
OwnedFd
Owned file descriptor that closes the underlying descriptor on drop.

Constants§

AT_EMPTY_PATH
Operate on the dirfd itself when path is empty.
AT_FDCWD
Special dirfd value indicating the current working directory.
AT_REMOVEDIR
Remove directory instead of unlinking file.
AT_SYMLINK_NOFOLLOW
Do not follow symbolic links.

Type Aliases§

RawFd
Raw file descriptor integer.