get_close_on_exec
if (get_close_on_exec(fd))
err = get_close_on_exec(fd) ? FD_CLOEXEC : 0;
extern bool get_close_on_exec(unsigned int fd);