Expand description
Types for, and operations on file descriptors. Useful for mapping
Modules§
- memory
- Provides physical in-memory file descriptors.
Structs§
- ManagedFD
- UnmanagedFD
- Represents a
RawFd
but does not provide any ownership of it.
Constants§
- STDERR_
FILENO - Raw file-descriptor for standard error
- STDIN_
FILENO - Raw file-descriptor for standard input
- STDOUT_
FILENO - Raw file-descriptor for standard output
Functions§
- try_
map_ or_ cloned - Attempt to map a file, if it fails, copy that file into memory and map that.