Module argdata::fd[][src]

All the things related to file descriptors.

Structs

ConvertFdFn

Convert encoded fd numbers to Fds using the given function.

EncodedFd

A file descriptor in some argdata.

Fd

A file descriptor of the current process.

Identity

The identity conversion: Convert numbers to Fds with the exact same number.

InvalidFd

An error indicating that the encoded fd number is invalid: It doesn't refer to any file descriptor.

NoConvert

Don't provide any access to Fds. Every conversion will fail.

Traits

ConvertFd

Something that can convert encoded fd numbers to actual Fds.

FdMapping

Something that can convert actual Fds to encoded fd numbers.