Constant INVALID_FD

pub(in ::sys::io::kernel_copy::linux) const INVALID_FD: RawFd = -1i32;

Invalid file descriptor.

Valid file descriptors are guaranteed to be positive numbers (see open() manpage) while negative values are used to indicate errors. Thus -1 will never be overlap with a valid open file.