fd_close_on_exec
extern bool fd_close_on_exec(const struct io_context *context, int fd);
if (descriptor != NULL && fd_close_on_exec(context, i)) {
const bool closeOnExec = fd_close_on_exec(parentContext, i);
status = fd_close_on_exec(context, fd) ? FD_CLOEXEC : 0;
extern bool fd_close_on_exec(struct io_context *context, int fd);
if (descriptor != NULL && fd_close_on_exec(context, i)) {
if (descriptor != NULL && !fd_close_on_exec(parentContext, i)) {
status = fd_close_on_exec(context, fd) ? FSSH_FD_CLOEXEC : 0;