method

set_close_on_exec

set_close_on_exec(io)
private

Sets the close on exec flag for io