Retrieves the status of the close on exec flag.
close on exec
fn is_close_on_exec(&self) -> Result<bool, Errno>
Returns whether the close on exec flag is set.
fcntl(2) and the description of F_GETFD therein.
F_GETFD
lrs::fd::FDContainer::set_close_on_exec