[][src]Module palaver::file

File and file descriptor-related functionality

Structs

FdIter

Iterator for all open file descriptors. Doesn't work on Windows.

Functions

copy

Loops io::copy till len elapsed or error

fd_dir

Returns the path of the directory that contains entries for each open file descriptor. On Linux this is /proc/self/fd. Doesn't work on Windows.

fd_path

Returns the path of the entry for a particular open file descriptor. On Linux this is /proc/self/fd/{fd}. Doesn't work on Windows.