Searched refs:setenv (Results 1 - 25 of 197) sorted by last modified time

12345678

/freebsd-current/contrib/bmake/
H A Dvar.c671 setenv(name, val, 1);
688 setenv(name, val, 1);
698 setenv(v->name.str, v->val.data, 1);
708 * Avoid calling setenv more often than necessary since it can leak.
722 setenv(v->name.str, v->val.data, 1);
771 setenv(MAKE_LEVEL_ENV, level_buf, 1);
877 setenv(MAKE_LEVEL_ENV, level, 1);
1061 setenv(name, val, 1);
1875 setenv("TZ", "UTC", 1);
1878 setenv("T
[all...]
H A Dmain.c751 setenv("PWD", objdir, 1);
2145 setenv("MAKEFLAGS", flags, 1);
H A Dparse.c2294 setenv(variable, value, 1);
/freebsd-current/sys/kern/
H A Dkern_sysctl.c1023 * The setenv / unsetenv event handlers are invoked by kern_setenv() /
1080 * Register the kernel's setenv / unsetenv events.
1082 EVENTHANDLER_DEFINE(setenv, sysctl_setenv_vnet, NULL, EVENTHANDLER_PRI_ANY);
H A Dsubr_boot.c56 #define SETENV(k, v) setenv(k, v, 1)
H A Dkern_environment.c671 EVENTHANDLER_INVOKE(setenv, name);
/freebsd-current/contrib/libarchive/unzip/test/
H A Dtest_I.c49 setenv("LANG", "en_US.UTF-8", 1);
61 setenv("LANG", lang, 1);
/freebsd-current/usr.sbin/pstat/
H A Dpstat.c135 setenv("BLOCKSIZE", "1G", 1);
141 setenv("BLOCKSIZE", "1K", 1);
144 setenv("BLOCKSIZE", "1M", 1);
/freebsd-current/bin/date/
H A Ddate.c144 (void)setenv("TZ", "UTC0", 1);
186 if (outzone != NULL && setenv("TZ", outzone, 1) != 0)
187 err(1, "setenv(TZ)");
/freebsd-current/usr.bin/script/
H A Dscript.c437 setenv("SCRIPT", fname, 1);
/freebsd-current/sys/contrib/openzfs/cmd/
H A Dztest.c8706 VERIFY0(setenv("ZTEST_FD_DATA", fd_data_str, 1));
8711 VERIFY0(setenv("LD_LIBRARY_PATH", libpath, 1));
8716 VERIFY0(setenv("LD_LIBRARY_PATH", newlp, 1));
/freebsd-current/contrib/libarchive/unzip/
H A Dbsdunzip.c1231 setenv("POSIXLY_CORRECT", "", 1);
/freebsd-current/usr.sbin/tzsetup/
H A Dtzsetup.c707 setenv("TZ", filename, 1);
/freebsd-current/sbin/restore/
H A Dtape.c205 if (setenv("RESTORE_VOLUME", "1", 1) == -1) {
402 if (setenv("RESTORE_VOLUME", volno, 1) == -1) {
/freebsd-current/usr.sbin/daemon/
H A Ddaemon.c582 setenv("USER", pw->pw_name, 1);
583 setenv("HOME", pw->pw_dir, 1);
584 setenv("SHELL", *pw->pw_shell ? pw->pw_shell : _PATH_BSHELL, 1);
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_environment.cpp59 #include <stdlib.h> // getenv, setenv, unsetenv.
176 int rc = setenv(name, value, overwrite);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingFile.c582 setenv(LPROF_INIT_ONCE_ENV, LPROF_INIT_ONCE_ENV, 1);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp740 INTERCEPTOR(int, setenv, const char *name, const char *value, int overwrite) {
743 int res = REAL(setenv)(name, value, overwrite);
1867 INTERCEPT_FUNCTION(setenv);
/freebsd-current/crypto/openssh/
H A Dsshd.c1905 setenv(SSH_AUTHSOCKET_ENV_NAME,
H A Dssh.c1746 setenv(SSH_AUTHSOCKET_ENV_NAME, p, 1);
1749 setenv(SSH_AUTHSOCKET_ENV_NAME, cp, 1);
2174 if ((term = lookup_env_in_list("TERM", options.setenv,
H A Dssh-agent.c2403 format = c_flag ? "setenv %s %s;\n" : "%s=%s; export %s;\n";
2419 format = c_flag ? "setenv %s %s;\n" : "%s=%s; export %s;\n";
2427 if (setenv(SSH_AUTHSOCKET_ENV_NAME, socket_name, 1) == -1 ||
2428 setenv(SSH_AGENTPID_ENV_NAME, pidstrbuf, 1) == -1) {
2429 perror("setenv");
H A Dsession.c1171 cp = xstrdup(options.setenv[i]);
1174 fatal("Invalid config SetEnv: %s", options.setenv[i]);
H A Dservconf.c673 { "setenv", sSetEnv, SSHCFG_ALL },
2155 options->setenv = strs;
3206 dump_cfg_strarray(sSetEnv, o->num_setenv, o->setenv);
H A Dreadconf.h132 char **setenv; member in struct:__anon7
/freebsd-current/crypto/openssh/regress/misc/fuzz-harness/
H A Dagent_fuzz_helper.c162 setenv("DISPLAY", "", 1); /* ban askpass */

Completed in 352 milliseconds

12345678