environ_set
environ_set(env, name, ENVIRON_HIDDEN, "%s", value);
environ_set(env, name, 0, "%s", value);
environ_set(env, name, flags, "%s", value);
environ_set(dst, envent->name, 0, "%s", envent->value);
environ_set(env, "TERM", 0, "%s", value);
environ_set(env, "TERM_PROGRAM", 0, "%s", "tmux");
environ_set(env, "TERM_PROGRAM_VERSION", 0, "%s", getversion());
environ_set(env, "COLORTERM", 0, "truecolor");
environ_set(env, "TMUX", 0, "%s,%ld,%d", socket_path, (long)getpid(),
environ_set(dstenv, envent->name, envent->flags,
environ_set(env, "PWD", 0, "%s", cwd);
environ_set(env, "PWD", 0, "%s", home);
environ_set(env, "PWD", 0, "/");
environ_set(child, "TMUX_PANE", 0, "%%%u", new_wp->id);
environ_set(child, "PATH", 0, "%s", ee->value);
environ_set(child, "PATH", 0, "%s", _PATH_DEFPATH);
environ_set(child, "SHELL", 0, "%s", new_wp->shell);
environ_set(child, "PWD", 0, "%s", actual_cwd);
environ_set(global_environ, "PWD", 0, "%s", cwd);
void printflike(4, 5) environ_set(struct environ *, const char *, int,
environ_set(item->environ, item->name, flags, "%s", s);
environ_set(item->environ, name, 0, "%s", value + 1);
environ_set(item->environ, item->name, flags, "%s", s);