Enables or disables the close on exec flag.
close on exec
fn set_close_on_exec(&self, val: bool) -> Result<(), Errno>
Whether the flag is set.
fcntl(2) and the description of F_SETFD therein.
F_SETFD
lrs::file::File::io_close_on_exec