Symbol: getenv
bin/chio/chio.c
143
if ((changer_name = getenv(CHANGER_ENV_VAR)) == NULL)
bin/ed/main.c
1343
(s = getenv("HOME")) != NULL &&
bin/expr/expr.y
271
if (getenv("EXPR_COMPAT") != NULL
bin/ls/ls.c
175
p = getenv("CLICOLOR");
bin/ls/ls.c
181
p = getenv("COLORTERM");
bin/ls/ls.c
188
(isatty(STDOUT_FILENO) || getenv("CLICOLOR_FORCE")));
bin/ls/ls.c
249
if ((p = getenv("COLUMNS")) != NULL && *p != '\0')
bin/ls/ls.c
258
p = getenv("COLUMNS");
bin/ls/ls.c
267
if (getenv("LS_SAMESORT"))
bin/ls/ls.c
275
if (getenv("CLICOLOR"))
bin/ls/ls.c
507
if ((term = getenv("TERM")) != NULL &&
bin/ls/ls.c
545
parsecolors(getenv("LSCOLORS"));
bin/ls/ls.c
776
initmax = getenv("LS_COLWIDTHS");
bin/pax/options.c
969
arcname = getenv("TAPE");
bin/pax/pax.c
235
if ((tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0')
bin/ps/ps.c
206
if ((cols = getenv("COLUMNS")) != NULL && *cols != '\0')
bin/pwd/pwd.c
49
if ((pwd = getenv("PWD")) == NULL || *pwd != '/')
bin/sh/show.c
380
if ((p = getenv("HOME")) == NULL) {
crypto/heimdal/appl/afsutil/pagsh.c
169
path = getenv("SHELL");
crypto/heimdal/appl/ftp/ftp/cmds.c
1250
shellpath = getenv("SHELL");
crypto/heimdal/appl/ftp/ftp/ruserpass.c
116
hdir = getenv("HOME");
crypto/heimdal/appl/login/login.c
613
if(getenv("TERM"))
crypto/heimdal/appl/login/login.c
614
add_env("TERM", getenv("TERM"));
crypto/heimdal/appl/login/login.c
615
if(getenv("TZ"))
crypto/heimdal/appl/login/login.c
616
add_env("TZ", getenv("TZ"));
crypto/heimdal/appl/push/push.c
631
ret = getenv("MAILHOST");
crypto/heimdal/appl/push/push.c
646
*user = getenv ("USERNAME");
crypto/heimdal/appl/su/su.c
443
char *t = getenv ("TERM");
crypto/heimdal/appl/telnet/telnet/commands.c
1292
shellp = getenv("SHELL");
crypto/heimdal/appl/telnet/telnet/commands.c
1992
char *home = getenv("HOME");
crypto/heimdal/appl/telnet/telnet/main.c
211
if((p = getenv("DISPLAY")))
crypto/heimdal/appl/telnet/telnetd/authenc.c
72
return(getenv(val));
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1199
if ((*envp = getenv("TZ")))
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1339
user = getenv("USER");
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1364
if (getenv("USER")) {
crypto/heimdal/appl/telnet/telnetd/telnetd.c
974
if (getenv("USER"))
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
86
fn = getenv("NTLM_USER_FILE");
crypto/heimdal/lib/gssapi/ntlm/kdc.c
73
cache = getenv("NTLM_ACCEPTOR_CCACHE");
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
371
host = getenv("GSSAPI_SPNEGO_NAME");
crypto/heimdal/lib/hx509/softp11.c
824
fn = getenv("SOFTPKCS11RC");
crypto/heimdal/lib/hx509/softp11.c
827
home = getenv("HOME");
crypto/heimdal/lib/hx509/softp11.c
844
fn = getenv("SOFTPKCS11RC");
crypto/heimdal/lib/kafs/afssys.c
102
if (getuid() != 0 && !issuid() && (p = getenv("AFSLIBPATH")) != NULL)
crypto/heimdal/lib/kafs/afssys.c
415
env = getenv ("AFS_SYSCALL");
crypto/heimdal/lib/kafs/common.c
236
homedir = getenv("HOME");
crypto/heimdal/lib/krb5/cache.c
439
e = getenv("KRB5CCNAME");
crypto/heimdal/lib/krb5/cache.c
510
e = getenv("KRB5CCNAME");
crypto/heimdal/lib/krb5/config_file.c
439
home = getenv("HOME");
crypto/heimdal/lib/krb5/context.c
153
tmp = getenv("KRB5_KTNAME");
crypto/heimdal/lib/krb5/context.c
240
tmp = getenv("KRB5_CHECK_RD_REQ_SERVER");
crypto/heimdal/lib/krb5/context.c
825
files = getenv("KRB5_CONFIG");
crypto/heimdal/lib/krb5/expand_path.c
290
p = getenv("TEMP");
crypto/heimdal/lib/krb5/get_default_principal.c
43
const char *user = getenv("USER");
crypto/heimdal/lib/krb5/get_default_principal.c
45
user = getenv("LOGNAME");
crypto/heimdal/lib/krb5/get_default_principal.c
47
user = getenv("USERNAME");
crypto/heimdal/lib/roken/get_default_username.c
48
user = getenv ("USER");
crypto/heimdal/lib/roken/get_default_username.c
50
user = getenv ("LOGNAME");
crypto/heimdal/lib/roken/get_default_username.c
52
user = getenv ("USERNAME");
crypto/heimdal/lib/roken/get_window_size.c
120
if ((s = getenv("COLUMNS")))
crypto/heimdal/lib/roken/get_window_size.c
126
if ((s = getenv("LINES")))
crypto/heimdal/lib/roken/getarg.c
237
if(getenv("GETARGMANDOC")){
crypto/heimdal/lib/roken/glob.c
367
if ((h = getenv("HOME")) == NULL) {
crypto/heimdal/lib/roken/roken_gethostby.c
255
char *query = getenv("QUERY_STRING");
crypto/heimdal/lib/roken/setenv.c
53
if (!rewrite && getenv(var) != 0)
crypto/heimdal/lib/roken/socket_wrapper.c
245
const char *s = getenv("SOCKET_WRAPPER_DIR");
crypto/heimdal/lib/roken/socket_wrapper.c
257
const char *s = getenv("SOCKET_WRAPPER_DEFAULT_IFACE");
crypto/heimdal/lib/roken/socket_wrapper.c
759
s = getenv("SOCKET_WRAPPER_PCAP_FILE");
crypto/heimdal/lib/sl/sl.c
136
if (getenv("SLMANDOC")) {
crypto/heimdal/lib/wind/test-normalize.c
156
const char *srcdir = getenv("srcdir");
crypto/krb5/src/clients/ksu/main.c
800
env_ccname = getenv(KRB5_ENV_CCNAME);
crypto/krb5/src/include/k5-platform.h
1147
#define secure_getenv getenv
crypto/krb5/src/kadmin/cli/kadmin.c
519
} else if ((luser = getenv("USER"))) {
crypto/krb5/src/kadmin/server/ovsec_kadmd.c
536
kprop_port = getenv("KPROP_PORT");
crypto/krb5/src/lib/apputils/net-server.c
728
v = getenv("LISTEN_PID");
crypto/krb5/src/lib/apputils/net-server.c
736
v = getenv("LISTEN_FDS");
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
1517
char *envstr = getenv("MS_FORCE_NO_MIC");
crypto/krb5/src/lib/krb5/os/ccdefname.c
200
if (!try_dir(getenv("TEMP"), p, size) &&
crypto/krb5/src/lib/krb5/os/ccdefname.c
201
!try_dir(getenv("TMP"), p, size))
crypto/krb5/src/lib/krb5/rcache/rc_dfl.c
59
dir = getenv("KRB5RCACHEDIR");
crypto/krb5/src/plugins/gssapi/negoextest/main.c
124
envstr = getenv("GSS_ACCEPT_BINDING");
crypto/krb5/src/plugins/gssapi/negoextest/main.c
142
envstr = getenv("ACCEPT_FAIL");
crypto/krb5/src/plugins/gssapi/negoextest/main.c
258
envstr = getenv(initiator ? "INIT_QUERY_FAIL" : "ACCEPT_QUERY_FAIL");
crypto/krb5/src/plugins/gssapi/negoextest/main.c
261
envstr = getenv(initiator ? "INIT_QUERY_NONE" : "ACCEPT_QUERY_NONE");
crypto/krb5/src/plugins/gssapi/negoextest/main.c
282
envstr = getenv(initiator ? "INIT_EXCHANGE_FAIL" : "ACCEPT_EXCHANGE_FAIL");
crypto/krb5/src/plugins/gssapi/negoextest/main.c
327
envstr = getenv("KEY");
crypto/krb5/src/plugins/gssapi/negoextest/main.c
60
envstr = getenv("GSS_INIT_BINDING");
crypto/krb5/src/plugins/gssapi/negoextest/main.c
70
envstr = getenv("HOPS");
crypto/krb5/src/plugins/gssapi/negoextest/main.c
82
envstr = getenv("INIT_FAIL");
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
405
envtmp = getenv("TMPDIR");
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
189
p = getenv("TMPDIR");
crypto/krb5/src/util/ss/pager.c
98
if ((_ss_pager_name = getenv("PAGER")) == (char *)NULL)
crypto/krb5/src/util/support/secure_getenv.c
110
return elevated_privilege ? NULL : getenv(name);
crypto/krb5/src/util/verto/ev.c
2868
&& getenv ("LIBEV_FLAGS"))
crypto/krb5/src/util/verto/ev.c
2869
flags = atoi (getenv ("LIBEV_FLAGS"));
crypto/krb5/src/windows/kfwlogon/kfwlogon.c
617
DebugEvent("KFW_Logon_Event PATH %s", getenv("PATH"));
crypto/krb5/src/windows/leash/LeashView.cpp
1399
CHAR* ptestenv = getenv(*pEnv);
crypto/openssh/auth-pam.c
488
char *tz = getenv("TZ");
crypto/openssh/authfd.c
129
authsocket = getenv(SSH_AUTHSOCKET_ENV_NAME);
crypto/openssh/authfd.c
209
if (getenv(SSH_AUTHSOCKET_ENV_NAME))
crypto/openssh/channels.c
5167
display = getenv("DISPLAY");
crypto/openssh/misc.c
1339
if ((val = getenv(var)) == NULL) {
crypto/openssh/misc.c
1851
if ((tmpdir = getenv("TMPDIR")) != NULL) {
crypto/openssh/misc.c
2843
if ((cp = getenv("LANG")) != NULL)
crypto/openssh/mux.c
1380
display = getenv("DISPLAY");
crypto/openssh/mux.c
1906
term = getenv("TERM");
crypto/openssh/openbsd-compat/getopt_long.c
330
posixly_correct = (getenv("POSIXLY_CORRECT") != NULL);
crypto/openssh/openbsd-compat/glob.c
395
if (issetugid() != 0 || (h = getenv("HOME")) == NULL) {
crypto/openssh/openbsd-compat/glob.c
397
if ((getuid() != geteuid()) || (h = getenv("HOME")) == NULL) {
crypto/openssh/openbsd-compat/port-linux.c
350
if ((path = getenv("NOTIFY_SOCKET")) == NULL || strlen(path) == 0)
crypto/openssh/readconf.c
544
if ((shell = getenv("SHELL")) == NULL)
crypto/openssh/readpass.c
130
if (((s = getenv("DISPLAY")) != NULL && *s != '\0') ||
crypto/openssh/readpass.c
131
((s = getenv("WAYLAND_DISPLAY")) != NULL && *s != '\0'))
crypto/openssh/readpass.c
133
if ((s = getenv(SSH_ASKPASS_REQUIRE_ENV)) != NULL) {
crypto/openssh/readpass.c
176
if (getenv(SSH_ASKPASS_ENV))
crypto/openssh/readpass.c
177
askpass = getenv(SSH_ASKPASS_ENV);
crypto/openssh/readpass.c
259
if ((askpass = getenv("SSH_ASKPASS")) == NULL)
crypto/openssh/readpass.c
265
if (getenv("DISPLAY") == NULL && getenv("WAYLAND_DISPLAY") == NULL &&
crypto/openssh/readpass.c
266
((s = getenv(SSH_ASKPASS_REQUIRE_ENV)) == NULL ||
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
420
if (getenv("DEBUG") != NULL || getenv("KEX_FUZZ_DEBUG") != NULL)
crypto/openssh/regress/mkdtemp.c
49
if ((tmpdir = getenv("TMPDIR")) == NULL)
crypto/openssh/session.c
1004
if (getenv("TZ"))
crypto/openssh/session.c
1005
child_set_env(&env, &envsize, "TZ", getenv("TZ"));
crypto/openssh/session.c
1083
if ((cp = getenv("KRB5CCNAME")) != NULL)
crypto/openssh/session.c
1091
if ((cp = getenv("AUTHSTATE")) != NULL)
crypto/openssh/sftp-server.c
2002
if ((cp = getenv("SSH_CONNECTION")) != NULL) {
crypto/openssh/sftp-server.c
2006
getenv("SSH_CONNECTION"));
crypto/openssh/sftp.c
333
if ((shell = getenv("SHELL")) == NULL || *shell == '\0')
crypto/openssh/ssh-add.c
847
skprovider = getenv("SSH_SK_PROVIDER");
crypto/openssh/ssh-agent.c
2358
shell = getenv("SHELL");
crypto/openssh/ssh-agent.c
2364
pidstr = getenv(SSH_AGENTPID_ENV_NAME);
crypto/openssh/ssh-agent.c
2403
(pidstr = getenv("LISTEN_PID")) != NULL &&
crypto/openssh/ssh-agent.c
2404
(fdstr = getenv("LISTEN_FDS")) != NULL) {
crypto/openssh/ssh-keygen.c
3426
sk_provider = getenv("SSH_SK_PROVIDER");
crypto/openssh/ssh-pkcs11-client.c
602
prog = getenv("SSH_PKCS11_HELPER");
crypto/openssh/ssh-sk-client.c
58
helper = getenv("SSH_SK_HELPER");
crypto/openssh/ssh.c
1658
if ((cp = getenv(options.sk_provider + 1)) == NULL) {
crypto/openssh/ssh.c
1802
if ((p = getenv(cp + 1)) == NULL)
crypto/openssh/ssh.c
1819
if ((p = getenv(cp + 1)) != NULL)
crypto/openssh/ssh.c
2205
display = getenv("DISPLAY");
crypto/openssh/ssh.c
2235
term = getenv("TERM");
crypto/openssh/sshconnect.c
122
if ((shell = getenv("SHELL")) == NULL)
crypto/openssh/sshconnect.c
1715
if ((shell = getenv("SHELL")) == NULL || *shell == '\0')
crypto/openssh/sshconnect.c
204
if ((shell = getenv("SHELL")) == NULL || *shell == '\0')
crypto/openssh/sshconnect.c
713
if ((home = getenv("HOME")) == NULL || (l = strlen(home)) == 0)
crypto/openssh/sshd.c
1567
if (getenv("KRB5CCNAME") != NULL)
crypto/openssh/utf8.c
337
if ((cp = getenv(vars[i])) == NULL)
crypto/openssl/apps/lib/apps.c
217
tmp = getenv(arg);
crypto/openssl/apps/lib/apps.c
3016
&& (prefix = getenv("HARNESS_OSSL_PREFIX")) != NULL) {
crypto/openssl/apps/openssl.c
265
setup_trace(getenv("OPENSSL_TRACE"));
crypto/openssl/apps/openssl.c
80
use_libctx = getenv("OPENSSL_TEST_LIBCTX");
crypto/openssl/apps/rehash.c
565
} else if ((env = getenv(X509_get_default_cert_dir_env())) != NULL) {
crypto/openssl/apps/s_time.c
259
cipher = getenv("SSL_CIPHER");
crypto/openssl/apps/vms_decc_init.c
76
openssl_debug_decc_init = getenv("OPENSSL_DEBUG_DECC_INIT");
crypto/openssl/crypto/armcap.c
265
if ((e = getenv("OPENSSL_armcap"))) {
crypto/openssl/crypto/cpuid.c
45
#define ossl_getenv getenv
crypto/openssl/crypto/getenv.c
99
return getenv(name);
crypto/openssl/crypto/info.c
117
if ((env = getenv("OPENSSL_s390xcap")) != NULL)
crypto/openssl/crypto/info.c
171
if ((env = getenv("OPENSSL_riscvcap")) != NULL)
crypto/openssl/crypto/info.c
63
if ((env = getenv("OPENSSL_ia32cap")) != NULL)
crypto/openssl/crypto/info.c
72
if ((env = getenv("OPENSSL_armcap")) != NULL)
crypto/openssl/crypto/info.c
81
if ((env = getenv("OPENSSL_ppccap")) != NULL)
crypto/openssl/crypto/mem.c
169
const char *cp = getenv("OPENSSL_MALLOC_FAILURES");
crypto/openssl/crypto/mem.c
181
if ((cp = getenv("OPENSSL_MALLOC_FD")) != NULL)
crypto/openssl/crypto/mem.c
183
if ((cp = getenv("OPENSSL_MALLOC_SEED")) != NULL)
crypto/openssl/crypto/ppccap.c
151
if ((e = getenv("OPENSSL_ppccap"))) {
crypto/openssl/crypto/riscvcap.c
144
if ((e = getenv("OPENSSL_riscvcap"))) {
crypto/openssl/crypto/s390xcap.c
178
env = getenv("OPENSSL_s390xcap");
crypto/openssl/crypto/sparcv9cap.c
95
if ((e = getenv("OPENSSL_sparcv9cap"))) {
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
1050
char *fileprefix = getenv("FILEPREFIX");
crypto/openssl/providers/implementations/kdfs/pkcs12kdf.c
275
if (getenv("OPENSSL_RUNNING_UNIT_TESTS") == NULL && p != NULL && ctx->iter > 100)
crypto/openssl/providers/implementations/kem/template_kem.c
40
if (getenv("TEMPLATEKEM"))
crypto/openssl/providers/implementations/keymgmt/template_kmgmt.c
41
if (getenv("TEMPLATEKM"))
crypto/openssl/test/ct_test.c
512
if ((ct_dir = getenv("CT_DIR")) == NULL)
crypto/openssl/test/ct_test.c
514
if ((certs_dir = getenv("CERTS_DIR")) == NULL)
crypto/openssl/test/drbgtest.c
403
int verbose = (getenv("V") != NULL);
crypto/openssl/test/evp_test.c
5399
extended_tests = getenv("EVP_TEST_EXTENDED") != NULL;
crypto/openssl/test/lhash_test.c
504
char *harness_jobs = getenv("HARNESS_JOBS");
crypto/openssl/test/lhash_test.c
505
char *lhash_workers = getenv("LHASH_WORKERS");
crypto/openssl/test/prov_config_test.c
77
char *module_path = getenv("OPENSSL_MODULES");
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop-server.c
612
if (getenv("NO_ADDR_VALIDATE") != NULL)
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop-server.c
764
fileprefix = getenv("FILEPREFIX");
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop.c
739
if (getenv("SSL_CIPHER_SUITES") != NULL) {
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop.c
740
if (!SSL_CTX_set_ciphersuites(*ctx, getenv("SSL_CIPHER_SUITES"))) {
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop.c
753
if (getenv("SSL_SESSION_FILE") != NULL) {
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop.c
754
if (!setup_session_cache(*ssl, *ctx, getenv("SSL_SESSION_FILE"))) {
crypto/openssl/test/sslapitest.c
13660
if (getenv("OPENSSL_TEST_GETCOUNTS") != NULL) {
crypto/openssl/test/testutil/driver.c
102
char *test_rand_order = getenv("OPENSSL_TEST_RAND_ORDER");
crypto/openssl/test/testutil/driver.c
103
char *test_rand_seed = getenv("OPENSSL_TEST_RAND_SEED");
crypto/openssl/test/testutil/driver.c
104
char *TAP_levels = getenv("HARNESS_OSSL_LEVEL");
crypto/openssl/test/testutil/helper.c
62
tz = getenv("TZ");
crypto/openssl/test/testutil/testutil_init.c
143
setup_trace(getenv("OPENSSL_TRACE"));
include/stdlib.h
97
char *getenv(const char *);
lib/libbe/be_access.c
245
tmpdir = getenv("TMPDIR");
lib/libc/db/test/dbtest.c
142
p = getenv("TMPDIR");
lib/libc/gen/__xuname.c
125
if ((p = getenv("UNAME_m")))
lib/libc/gen/__xuname.c
52
if ((p = getenv("UNAME_s")))
lib/libc/gen/__xuname.c
80
if ((p = getenv("UNAME_r")))
lib/libc/gen/__xuname.c
96
if ((p = getenv("UNAME_v")))
lib/libc/gen/check_utility_compat.c
52
if ((p = getenv(_ENV_UTIL_COMPAT)) != NULL) {
lib/libc/gen/exec.c
363
if ((path = getenv("PATH")) == NULL)
lib/libc/gen/fmtmsg.c
55
if ((env = getenv("MSGVERB")) != NULL && *env != '\0' &&
lib/libc/gen/getbsize.c
50
if ((p = getenv("BLOCKSIZE")) != NULL && *p != '\0') {
lib/libc/gen/getosreldate.c
46
if ((temp = getenv("OSVERSION"))) {
lib/libc/gen/pw_scan.c
89
pw_big_ids_warning = getenv("PW_SCAN_BIG_IDS") == NULL ? 1 : 0;
lib/libc/gen/timezone.c
57
if ( (beg = getenv("TZNAME")) ) { /* set in environment */
lib/libc/gen/uexterr_format.c
56
} else if ((v = getenv(exterror_verbose_name)) != NULL) {
lib/libc/gen/wordexp.c
143
ifs = getenv("IFS");
lib/libc/gmon/gmon.c
148
if (getenv("PROFIL_USE_PID"))
lib/libc/locale/setlocale.c
285
env = getenv(categories[0]);
lib/libc/locale/setlocale.c
289
env = getenv(categories[category]);
lib/libc/locale/setlocale.c
293
env = getenv("LANG");
lib/libc/net/nsdispatch.c
351
path = getenv("NSSWITCH_CONF");
lib/libc/nls/msgcat.c
148
lang = getenv("LANG");
lib/libc/resolv/res_init.c
540
else if ((cp = getenv("RES_OPTIONS")) != NULL)
lib/libc/rpc/getnetpath.c
101
if ((npp = getenv(NETPATH)) == NULL) {
lib/libc/stdlib/getenv.c
491
return (getenv(name));
lib/libc/stdlib/getopt_long.c
371
posixly_correct = (getenv("POSIXLY_CORRECT") != NULL);
lib/libc/stdtime/strftime.c
88
if (warn != IN_NONE && getenv(YEAR_2000_NAME) != NULL) {
lib/libc/tests/gen/fts_test.h
34
fts_test_debug = !getenv("__RUNNING_INSIDE_ATF_RUN") &&
lib/libc/tests/resolv/resolv_test.c
262
debug_output = getenv("DEBUG_OUTPUT") != NULL;
lib/libc/tests/stdlib/clearenv_test.c
103
ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) != NULL);
lib/libc/tests/stdlib/clearenv_test.c
105
ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) == NULL);
lib/libc/tests/stdlib/clearenv_test.c
112
ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) != NULL);
lib/libc/tests/stdlib/clearenv_test.c
114
ATF_CHECK(getenv(TEST_SYSTEM_VARIABLE) == NULL);
lib/libc/tests/stdlib/clearenv_test.c
116
ATF_CHECK_STREQ(getenv(TEST_SYSTEM_VARIABLE), "test");
lib/libc/tests/stdlib/clearenv_test.c
147
ATF_CHECK(getenv(TEST_VARIABLE) == NULL);
lib/libc/tests/stdlib/clearenv_test.c
149
ATF_CHECK(strcmp(getenv(TEST_VARIABLE), "1") == 0);
lib/libc/tests/stdlib/clearenv_test.c
153
ATF_CHECK(getenv(TEST_VARIABLE) == NULL);
lib/libc/tests/stdlib/clearenv_test.c
52
ATF_CHECK(getenv(name) == NULL);
lib/libc/tests/stdlib/clearenv_test.c
54
ATF_CHECK_STREQ(getenv(name), value);
lib/libc/tests/stdlib/clearenv_test.c
66
ATF_CHECK(getenv(name) == NULL);
lib/libc/tests/stdlib/clearenv_test.c
75
ATF_CHECK_STREQ(getenv(TEST_VARIABLE), "true");
lib/libc/tests/stdlib/clearenv_test.c
77
ATF_CHECK(getenv(TEST_VARIABLE) == NULL);
lib/libc/tests/stdlib/qsort_bench.c
109
debugging = !getenv("__RUNNING_INSIDE_ATF_RUN") &&
lib/libc/tests/stdtime/detect_tz_changes_test.c
464
debugging = !getenv("__RUNNING_INSIDE_ATF_RUN") &&
lib/libcompat/4.3/rexec.c
139
hdir = getenv("HOME");
lib/libdpv/dialog_util.c
239
if ((cp = getenv(ENV_DIALOG)) != NULL)
lib/libdpv/dialogrc.c
292
if ((cp = getenv(ENV_DIALOGRC)) != NULL && *cp != '\0')
lib/libdpv/dialogrc.c
294
else if ((cp = getenv(ENV_HOME)) != NULL) {
lib/libdpv/dprompt.c
249
if ((done = getenv(ENV_MSG_DONE)) != NULL)
lib/libdpv/dprompt.c
274
if ((fail = getenv(ENV_MSG_FAIL)) != NULL)
lib/libdpv/dprompt.c
299
if ((pend = getenv(ENV_MSG_PENDING)) != NULL)
lib/libdpv/dpv.c
358
if ((cp = getenv(ENV_USE_COLOR)) != 0)
lib/libdpv/dpv.c
489
getenv("LC_ALL") == NULL && getenv("LC_NUMERIC") == NULL ?
lib/libfetch/common.c
1050
if (getenv("SSL_NO_TLS1") != NULL)
lib/libfetch/common.c
1052
if (getenv("SSL_NO_TLS1_1") != NULL)
lib/libfetch/common.c
1054
if (getenv("SSL_NO_TLS1_2") != NULL)
lib/libfetch/common.c
1056
if (getenv("SSL_NO_TLS1_3") != NULL)
lib/libfetch/common.c
1073
if (getenv("SSL_NO_VERIFY_PEER") == NULL) {
lib/libfetch/common.c
1074
ca_cert_file = getenv("SSL_CA_CERT_FILE");
lib/libfetch/common.c
1075
ca_cert_path = getenv("SSL_CA_CERT_PATH");
lib/libfetch/common.c
1095
if ((crl_file = getenv("SSL_CRL_FILE")) != NULL) {
lib/libfetch/common.c
1123
if ((client_cert_file = getenv("SSL_CLIENT_CERT_FILE")) != NULL) {
lib/libfetch/common.c
1124
client_key_file = getenv("SSL_CLIENT_KEY_FILE") != NULL ?
lib/libfetch/common.c
1125
getenv("SSL_CLIENT_KEY_FILE") : client_cert_file;
lib/libfetch/common.c
1224
if (getenv("SSL_NO_VERIFY_HOSTNAME") == NULL) {
lib/libfetch/common.c
1628
if ((p = getenv("NETRC")) != NULL) {
lib/libfetch/common.c
1636
if ((p = getenv("HOME")) == NULL) {
lib/libfetch/common.c
1741
if ((no_proxy = getenv("NO_PROXY")) == NULL &&
lib/libfetch/common.c
1742
(no_proxy = getenv("no_proxy")) == NULL)
lib/libfetch/common.c
541
if ((socks5env = getenv("SOCKS5_PROXY")) == NULL || *socks5env == '\0') {
lib/libfetch/common.c
621
bindaddr = getenv("FETCH_BIND_ADDRESS");
lib/libfetch/ftp.c
1078
if (((p = getenv("FTP_PROXY")) || (p = getenv("ftp_proxy")) ||
lib/libfetch/ftp.c
1079
(p = getenv("HTTP_PROXY")) || (p = getenv("http_proxy"))) &&
lib/libfetch/ftp.c
1082
if (getenv("FTP_PROXY") || getenv("ftp_proxy"))
lib/libfetch/ftp.c
639
if ((s = getenv("FTP_PASSIVE_MODE")) != NULL)
lib/libfetch/ftp.c
771
bindaddr = getenv("FETCH_BIND_ADDRESS");
lib/libfetch/ftp.c
918
if ((user = getenv("FTP_LOGIN")) != NULL)
lib/libfetch/ftp.c
933
if ((pwd = getenv("FTP_PASSWORD")) != NULL)
lib/libfetch/http.c
1421
} else if ((p = getenv("HTTP_PROXY_AUTH")) != NULL &&
lib/libfetch/http.c
1509
if (((p = getenv("HTTP_PROXY")) || (p = getenv("http_proxy"))) &&
lib/libfetch/http.c
1692
} else if ((p = getenv("HTTP_PROXY_AUTH")) != NULL &&
lib/libfetch/http.c
1722
} else if ((p = getenv("HTTP_AUTH")) != NULL &&
lib/libfetch/http.c
1745
if ((p = getenv("HTTP_ACCEPT")) != NULL) {
lib/libfetch/http.c
1751
if ((p = getenv("HTTP_REFERER")) != NULL && *p != '\0') {
lib/libfetch/http.c
1758
if ((p = getenv("HTTP_USER_AGENT")) != NULL) {
lib/libpam/modules/pam_ksu/pam_ksu.c
240
p = getenv("KRB5CCNAME");
lib/libpmc/libpmc_pmu_util.c
384
debug = getenv("PMUDEBUG");
lib/libpmc/libpmc_pmu_util.c
425
debug = getenv("PMUDEBUG");
lib/librtld_db/rtld_db.c
148
debug = getenv("LIBRTLD_DB_DEBUG");
lib/libsecureboot/tests/tvo.c
209
printf("pcr=%s\n", getenv("loader.ve.pcr"));
lib/libsecureboot/verify_file.c
365
cp = getenv(var);
lib/libstdbuf/stdbuf.c
105
i_mode = getenv("_STDBUF_I");
lib/libstdbuf/stdbuf.c
106
o_mode = getenv("_STDBUF_O");
lib/libstdbuf/stdbuf.c
107
e_mode = getenv("_STDBUF_E");
lib/libthr/thread/thr_init.c
508
env_bigstack = getenv("LIBPTHREAD_BIGSTACK_MAIN");
lib/libthr/thread/thr_init.c
509
env_splitstack = getenv("LIBPTHREAD_SPLITSTACK_MAIN");
lib/libthr/thread/thr_init.c
522
env = getenv("LIBPTHREAD_SPINLOOPS");
lib/libthr/thread/thr_init.c
525
env = getenv("LIBPTHREAD_YIELDLOOPS");
lib/libthr/thread/thr_init.c
528
env = getenv("LIBPTHREAD_QUEUE_FIFO");
lib/libthr/thread/thr_init.c
531
env = getenv("LIBPTHREAD_UMTX_MIN_TIMEOUT");
lib/libusb/libusb10.c
209
debug = getenv("LIBUSB_DEBUG");
lib/libusb/libusb20_desc.c
212
const char *str = getenv("LIBUSB_DEBUG");
lib/libutil/getlocalbase.c
63
tmppath = getenv("LOCALBASE");
lib/libutil/login_crypt.c
41
if (getenv("CRYPT_DEBUG") != NULL)
lib/libutil/pw_util.c
288
if ((editor = getenv("EDITOR")) == NULL)
lib/libutil/stub.c
43
if (getenv("CRYPT_DEBUG") != NULL)
lib/libvgl/mouse.c
304
if (getenv("VGLMOUSEBORDERCOLOR") != NULL)
lib/libvgl/mouse.c
305
border = strtoul(getenv("VGLMOUSEBORDERCOLOR"), NULL, 0);
lib/libvgl/mouse.c
306
if (getenv("VGLMOUSEINTERIORCOLOR") != NULL)
lib/libvgl/mouse.c
307
interior = strtoul(getenv("VGLMOUSEINTERIORCOLOR"), NULL, 0);
libexec/atf/atf-pytest-wrapper/atf_pytest_wrapper.cpp
171
char *env_path = getenv(kPythonPathEnv.c_str());
libexec/flua/linit_flua.c
71
if (getenv("LUA_PATH") == NULL)
libexec/phttpget/phttpget.c
129
env_HTTP_PROXY = getenv("HTTP_PROXY");
libexec/phttpget/phttpget.c
131
env_HTTP_PROXY = getenv("http_proxy");
libexec/phttpget/phttpget.c
146
env_HTTP_PROXY_AUTH = getenv("HTTP_PROXY_AUTH");
libexec/phttpget/phttpget.c
181
env_HTTP_USER_AGENT = getenv("HTTP_USER_AGENT");
libexec/phttpget/phttpget.c
185
env_HTTP_TIMEOUT = getenv("HTTP_TIMEOUT");
libexec/rtld-elf/rtld.c
6314
pathenv = getenv("PATH");
sbin/bsdlabel/bsdlabel.c
679
if ((ed = getenv("EDITOR")) == (char *)0)
sbin/camcontrol/modeedit.c
1095
if ((pagedb_path = getenv("SCSI_MODES")) == NULL)
sbin/camcontrol/modeedit.c
1161
if ((pagedb_path = getenv("SCSI_MODES")) == NULL)
sbin/camcontrol/modeedit.c
953
if ((editor = getenv("EDITOR")) == NULL)
sbin/dump/dumprmt.c
149
if ((rmt = getenv("RMT")) == NULL)
sbin/dump/main.c
270
} else if (tape == NULL && (tape = getenv("TAPE")) == NULL)
sbin/geom/core/geom.c
528
path = getenv("GEOM_LIBRARY_PATH");
sbin/growfs/growfs.c
1234
if (columns == 0 && (cp = getenv("COLUMNS")))
sbin/ifconfig/ifconfig.c
633
envformat = getenv("IFCONFIG_FORMAT");
sbin/ipf/common/ipf_y.y
1994
s = getenv("YYDEBUG");
sbin/ipf/common/ipf_y.y
2038
s = getenv("YYDEBUG");
sbin/ipf/ipf/ipf.c
72
assigndefined(getenv("IPF_PREDEFINED"));
sbin/ipf/ipftest/ipftest.c
319
if (getenv("FINDLEAKS")) {
sbin/ipf/ipmon/ipmon_y.y
654
s = getenv("YYDEBUG");
sbin/ipf/ipnat/ipnat.c
103
assigndefined(getenv("IPNAT_PREDEFINED"));
sbin/ipf/ipnat/ipnat_y.y
1307
s = getenv("YYDEBUG");
sbin/ipf/ipnat/ipnat_y.y
1356
s = getenv("YYDEBUG");
sbin/ipf/ippool/ippool.c
90
assigndefined(getenv("IPPOOL_PREDEFINED"));
sbin/ipf/ippool/ippool_y.y
620
s = getenv("YYDEBUG");
sbin/ipf/ippool/ippool_y.y
661
s = getenv("YYDEBUG");
sbin/mount_fusefs/mount_fusefs.c
161
if (getenv("MOUNT_FUSEFS_IGNORE_UNKNOWN"))
sbin/mount_fusefs/mount_fusefs.c
163
if (getenv("MOUNT_FUSEFS_VERBOSE"))
sbin/mount_fusefs/mount_fusefs.c
319
if (getenv("MOUNT_FUSEFS_SAFE"))
sbin/mount_fusefs/mount_fusefs.c
462
if (! getenv("MOUNT_FUSEFS_CALL_BY_LIB")) {
sbin/newfs/mkfs.c
1196
if (columns == 0 && (cp = getenv("COLUMNS")))
sbin/restore/dirs.c
135
if ((tmpdir = getenv("TMPDIR")) == NULL || tmpdir[0] == '\0')
sbin/restore/dirs.c
563
if ((tmpdir = getenv("TMPDIR")) == NULL || tmpdir[0] == '\0')
sbin/restore/dirs.c
805
if ((tmpdir = getenv("TMPDIR")) == NULL || tmpdir[0] == '\0')
sbin/restore/main.c
169
if (inputdev == NULL && (inputdev = getenv("TAPE")) == NULL)
share/examples/ppi/ppilcd.c
106
drivertype = getenv("LCD_TYPE");
stand/common/boot.c
166
cp = getenv("autoboot_delay");
stand/common/boot.c
187
if ((cp = getenv("autoboot_delay"))) {
stand/common/boot.c
194
kernelname = getenv("kernelname");
stand/common/boot.c
198
kernelname = getenv("kernelname");
stand/common/boot.c
283
if ((spec = getenv("bootfile")) == NULL)
stand/common/boot.c
325
if (getenv("vfs.root.mountfrom") != NULL)
stand/common/boot.c
387
if (getenv("vfs.root.mountfrom.options") == NULL) {
stand/common/boot.c
403
currdev = getenv("currdev");
stand/common/commands.c
131
snprintf(buf, sizeof(buf), "%s/boot/%s", getenv("loaddev"),
stand/common/commands.c
273
cp = getenv(ev->ev_name);
stand/common/commands.c
283
if ((cp = getenv(argv[1])) != NULL) {
stand/common/console.c
128
prefconsole = getenv("console");
stand/common/gfx_fb.c
250
ptr = getenv(envname);
stand/common/gfx_fb.c
3122
splash = getenv("splash");
stand/common/gfx_fb.c
3124
splash = getenv("shutdown_splash");
stand/common/install.c
220
currdev = getenv("currdev");
stand/common/interp.c
139
if ((cp = getenv("prompt")) == NULL)
stand/common/interp.c
148
ev = getenv(p + 2);
stand/common/interp.c
77
if (getenv("prompt") == NULL)
stand/common/interp.c
79
if (getenv("interpret") == NULL)
stand/common/interp_lua.c
148
filename = getenv("loader_lua");
stand/common/interp_parse.c
223
return (char *)getenv(name);
stand/common/metadata.c
113
rootdevname = getenv("rootdev");
stand/common/metadata.c
115
rootdevname = getenv("currdev");
stand/common/metadata.c
139
if (getenv("usefdt") != NULL)
stand/common/metadata.c
58
if (!strcmp(getenv("console"), "comconsole"))
stand/common/metadata.c
60
if (!strcmp(getenv("console"), "nullconsole"))
stand/common/module.c
1755
path = getenv("module_path");
stand/common/zfs_cmd.c
77
root = getenv("zfs_be_root");
stand/efi/libefi/devicename.c
55
rv = devparse(dev, getenv("currdev"), NULL);
stand/efi/libefi/eficom.c
277
env = getenv("smbios.bios.version");
stand/efi/libefi/eficom.c
295
env = getenv("efi_com_port");
stand/efi/libefi/eficom.c
346
env = getenv("efi_com_speed");
stand/efi/libefi/eficom.c
349
env = getenv("comconsole_speed");
stand/efi/libefi/eficom.c
577
ev = getenv("smbios.bios.version");
stand/efi/libefi/efinet.c
214
if ((envstr = getenv("rootpath")) != NULL)
stand/efi/libefi/efinet.c
220
envstr = getenv("ipaddr");
stand/efi/libefi/efinet.c
223
envstr = getenv("netmask");
stand/efi/libefi/efinet.c
226
envstr = getenv("gatewayip");
stand/efi/libefi/efinet.c
229
envstr = getenv("serverip");
stand/efi/loader/arch/amd64/multiboot2.c
375
cmdline = getenv("xen_cmdline");
stand/efi/loader/bootinfo.c
111
tmp = getenv("efi_com_speed");
stand/efi/loader/bootinfo.c
114
tmp = getenv("efi_com_port");
stand/efi/loader/bootinfo.c
118
tmp = getenv("comconsole_port");
stand/efi/loader/bootinfo.c
213
efi_novmap = getenv("efi_disable_vmap");
stand/efi/loader/bootinfo.c
374
rootdevname = getenv("rootdev");
stand/efi/loader/bootinfo.c
440
else if (getenv("acpi.revision") == NULL) {
stand/efi/loader/bootinfo.c
81
console = getenv("console");
stand/efi/loader/bootinfo.c
90
getenv("efi_8250_uid") != NULL &&
stand/efi/loader/bootinfo.c
91
getenv("hw.uart.console") == NULL) {
stand/efi/loader/framebuffer.c
376
ev = getenv("smbios.system.maker");
stand/efi/loader/framebuffer.c
378
ev = getenv("smbios.system.product");
stand/efi/loader/framebuffer.c
444
ev = getenv("hw.efifb.address");
stand/efi/loader/framebuffer.c
485
ev = getenv("hw.efifb.stride");
stand/efi/loader/framebuffer.c
744
maxres = getenv("efi_max_resolution");
stand/efi/loader/framebuffer.c
854
textmode = getenv("hw.vga.textmode");
stand/efi/loader/main.c
1208
if ((policy = getenv("boot_policy")) == NULL)
stand/efi/loader/main.c
1334
if (strcmp(getenv("console"), "efi") == 0) {
stand/efi/loader/main.c
1376
if ((s = getenv("fail_timeout")) != NULL)
stand/efi/loader/main.c
1390
printf(" Console: %s (%#x)\n", getenv("console"), howto);
stand/efi/loader/main.c
1411
if (getenv("uefi_ignore_boot_mgr") != NULL) {
stand/efi/loader/main.c
552
rootdev = getenv("rootdev");
stand/efi/loader/main.c
565
rootdev = getenv("uefi_rootdev");
stand/fdt/fdt_loader_cmd.c
945
s = getenv("fdt_overlays");
stand/fdt/fdt_loader_cmd.c
996
if (err && (getenv("acpi.revision") == NULL)) {
stand/ficl/loader.c
163
value = getenv(name);
stand/i386/libi386/biosdisk.c
1359
if ((nip = getenv("root_disk_unit")) != NULL) {
stand/i386/libi386/bootinfo.c
49
string = next = strdup(getenv("console"));
stand/i386/libi386/bootinfo32.c
169
kernelname = getenv("kernelname");
stand/i386/libi386/bootinfo32.c
76
rootdevname = getenv("rootdev");
stand/i386/libi386/bootinfo64.c
122
rootdevname = getenv("rootdev");
stand/i386/libi386/comconsole.c
109
env = getenv("comconsole_port");
stand/i386/libi386/comconsole.c
121
env = getenv("comconsole_pcidev");
stand/i386/libi386/comconsole.c
91
cons = getenv("console");
stand/i386/libi386/comconsole.c
93
getenv("boot_multicons") != NULL) {
stand/i386/libi386/comconsole.c
97
env = getenv("comconsole_speed");
stand/i386/libi386/devicename.c
52
if (((rv = devparse(dev, getenv("currdev"), NULL)) == 0) &&
stand/i386/libi386/multiboot.c
197
cmdline = getenv("xen_cmdline");
stand/i386/libi386/vbe.c
124
maxres = getenv("vbe_max_resolution");
stand/kboot/kboot/hostdisk.c
286
override=getenv("hostdisk_override");
stand/kboot/kboot/main.c
136
if (((rv = devparse(dev, getenv("currdev"), NULL)) == 0) &&
stand/kboot/kboot/main.c
416
hostfs_root = getenv("hostfs_root");
stand/kboot/kboot/main.c
424
bootdev = getenv("bootdev");
stand/kboot/kboot/main.c
436
bootdev = getenv("currdev");
stand/liblua/lutils.c
209
lua_pushstring(L, getenv(luaL_checkstring(L, 1)));
stand/liblua/lutils.c
394
REG_SIMPLE(getenv),
stand/libofw/devicename.c
48
rv = devparse(dev, getenv("currdev"), NULL);
stand/libsa/bootp.c
350
if ((val = getenv("dhcp.root-path")) == NULL)
stand/libsa/bootp.c
355
if ((val = getenv("dhcp.host-name")) == NULL)
stand/libsa/bootp.c
361
if ((val = getenv("dhcp.interface-mtu")) != NULL) {
stand/libsa/geli/gelidev.c
321
envpw = getenv("kern.geom.eli.passphrase");
stand/libsa/nfs.c
155
if ((env = getenv("nfs.read_size")) != NULL) {
stand/libsa/pager.c
49
if ((cp = getenv("LINES")) != NULL) {
stand/libsa/stand.h
379
extern char *getenv(const char *name);
stand/libsa/tftp.c
328
if ((tftp_blksize = getenv("tftp.blksize")) != NULL) {
stand/libsa/zfs/zfs.c
1873
if ((root = getenv("zfs_be_root")) == NULL)
stand/libsa/zfs/zfs.c
1903
currpage = strtol(getenv("zfs_be_currpage"), NULL, 10);
stand/libsa/zfs/zfs.c
1954
beroot = getenv("zfs_be_root");
stand/libsa/zfs/zfs.c
1959
pagenum = getenv("zfs_be_currpage");
stand/powerpc/ofw/cas.c
252
else if ((var = getenv("radix_mmu")) != NULL && var[0] == '0')
stand/powerpc/ofw/main.c
112
if ((cas = getenv("cas")) && cas[0] == '1')
stand/uboot/devicename.c
55
if (((rv = uboot_parsedev(dev, getenv("currdev"), NULL)) == 0)
stand/uboot/uboot_fdt.c
90
s = getenv("fdt_file");
stand/userboot/test/test.c
559
.getenv = test_getenv,
stand/userboot/userboot.h
215
char * (*getenv)(void *arg, int num);
stand/userboot/userboot/bootinfo.c
47
string = next = strdup(getenv("console"));
stand/userboot/userboot/bootinfo32.c
147
kernelname = getenv("kernelname");
stand/userboot/userboot/bootinfo32.c
76
rootdevname = getenv("rootdev");
stand/userboot/userboot/bootinfo64.c
117
rootdevname = getenv("rootdev");
stand/userboot/userboot/devicename.c
53
rv = devparse(dev, getenv("currdev"), NULL);
stand/userboot/userboot/main.c
195
var = CALLBACK(getenv, i++);
sys/kern/subr_boot.c
57
#define GETENV(k) getenv(k)
tests/sys/capsicum/capsicum-test-main.cc
79
old_path = getenv("PATH");
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
116
if ((env_vals[i] = getenv(env_names[i])) == NULL) {
tests/sys/kern/unix_passfd_test.c
97
getenv("TMPDIR") == NULL ? "/tmp" : getenv("TMPDIR"));
tests/sys/posixshm/posixshm_test.c
63
getenv("TMPDIR") == NULL ? "/tmp" : getenv("TMPDIR"),
tools/build/cross-build/secure_getenv.c
15
return (getenv(name));
tools/regression/environ/envctl.c
169
value = getenv(arg == 'g' ? optarg : NULL);
tools/regression/environ/retention.c
54
if (getenv(envName) != NULL)
tools/regression/environ/retention.c
60
((env1 = getenv(envName)) == NULL) ||
tools/regression/environ/retention.c
67
if ((unsetenv(envName) == -1) || ((env2 = getenv(envName)) != NULL))
tools/regression/environ/retention.c
73
((env3 = getenv(envName)) == NULL) ||
tools/regression/environ/retention.c
81
((env4 = getenv(envName)) == NULL) ||
tools/regression/environ/retention.c
89
((env5 = getenv(envName)) == NULL) ||
tools/regression/environ/timings.c
108
if (getenv(name) == NULL)
tools/regression/environ/timings.c
124
if (getenv(name2) == NULL)
tools/regression/environ/timings.c
156
if (getenv(name2) == NULL)
tools/regression/environ/timings.c
172
if (getenv(name2) == NULL)
tools/regression/environ/timings.c
76
if (getenv(name) == NULL)
tools/test/stress2/lib/options.c
89
cp = getenv(help);
tools/test/stress2/lib/options.c
91
cp = getenv(name);
tools/test/stress2/testcases/swap/swap.c
80
if ((cp = getenv("MAXSWAPPCT")) != NULL && *cp != '\0') {
tools/test/stress2/testcases/udp/udp.c
74
if (getenv("BLASTHOST") == NULL)
tools/test/stress2/testcases/udp/udp.c
77
hostname = getenv("BLASTHOST");
tools/tools/ath/ath_prom_read/ath_prom_read.c
92
ifname = getenv("ATH");
tools/tools/ath/athaggrstats/main.c
88
ifname = getenv("ATH");
tools/tools/ath/athani/main.c
184
ifname = getenv("ATH");
tools/tools/ath/athdebug/athdebug.c
158
ifname = getenv("ATH");
tools/tools/ath/athkey/athkey.c
141
ifname = getenv("ATH");
tools/tools/ath/athpoke/athpoke.c
73
ifname = getenv("ATH");
tools/tools/ath/athpow/athpow.c
85
ifname = getenv("ATH");
tools/tools/ath/athprom/athprom.c
103
ifname = getenv("ATH");
tools/tools/ath/athratestats/main.c
316
ifname = getenv("ATH");
tools/tools/ath/athregs/dumpregs.c
101
ifname = getenv("ATH");
tools/tools/ath/athstats/main.c
96
ifname = getenv("ATH");
tools/tools/ath/athsurvey/athsurvey.c
173
ifname = getenv("ATH");
tools/tools/cfi/cfi.c
125
dvname = getenv("CFI");
tools/tools/npe/npestats/main.c
75
ifname = getenv("NPE");
tools/tools/vimage/vimage.c
302
if ((str = getenv("SHELL")) == NULL)
usr.bin/apply/apply.c
116
tmpshell = getenv("SHELL");
usr.bin/at/at.c
320
mailname = getenv("LOGNAME");
usr.bin/calendar/io.c
108
char *home = getenv("HOME");
usr.bin/column/column.c
79
if ((p = getenv("COLUMNS")))
usr.bin/diff/diff.c
407
env = getenv("DIFFCOLORS");
usr.bin/diff/diff.c
669
p = getenv("CLICOLOR");
usr.bin/diff/diff.c
670
p2 = getenv("COLORTERM");
usr.bin/enigma/enigma.c
99
if ((cp = getenv(MINUSKVAR)) == NULL) {
usr.bin/env/envopts.c
420
vvalue = getenv(vname);
usr.bin/fetch/fetch.c
1110
if ((s = getenv("FTP_TIMEOUT")) != NULL) {
usr.bin/fetch/fetch.c
1117
if ((s = getenv("HTTP_TIMEOUT")) != NULL) {
usr.bin/finger/finger.c
175
if ((envargv[1] = getenv("FINGER"))) {
usr.bin/fortune/fortune/fortune.c
1381
Fortune_path = getenv("FORTUNE_PATH");
usr.bin/fortune/fortune/fortune.c
160
if (getenv("FORTUNE_SAVESTATE") != NULL)
usr.bin/from/from.c
88
if (!(file = getenv("MAIL"))) {
usr.bin/grep/grep.c
307
c = getenv("GREP_COLOR");
usr.bin/grep/grep.c
349
eopts = getenv("GREP_OPTIONS");
usr.bin/grep/grep.c
581
term = getenv("TERM");
usr.bin/gzip/gzip.c
330
if ((gzip = getenv("GZIP")) != NULL)
usr.bin/indent/args.c
181
snprintf(fname, sizeof(fname), "%s/%s", getenv("HOME"), prof);
usr.bin/indent/indent.c
174
envval = getenv("SIMPLE_BACKUP_SUFFIX");
usr.bin/lex/initparse.c
727
if ((yys = getenv("YYDEBUG")) != NULL)
usr.bin/lex/initscan.c
1948
if ( getenv("POSIXLY_CORRECT") ) \
usr.bin/limits/limits.c
725
char * shell = getenv("SHELL");
usr.bin/locale/locale.c
584
lang = getenv("LANG");
usr.bin/locale/locale.c
593
eval = getenv(lcinfo[i].name);
usr.bin/locale/locale.c
610
vval = getenv("LC_ALL");
usr.bin/locate/locate/locate.c
171
if ((path_fcodes = getenv("LOCATE_PATH")) == NULL ||
usr.bin/login/login.c
517
term = getenv("TERM");
usr.bin/login/login.c
623
cx = getenv("MAIL");
usr.bin/login/login.c
631
if (getenv("MAIL") == NULL)
usr.bin/m4/gnum4.c
112
envpath = getenv("M4PATH");
usr.bin/mail/cmd3.c
410
if (getenv(*ap))
usr.bin/mail/main.c
276
if ((rc = getenv("MAILRC")) == NULL)
usr.bin/mail/temp.c
48
if ((tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0')
usr.bin/mail/temp.c
74
if ((cp = getenv("HOME")) == NULL || *cp == '\0' ||
usr.bin/mail/v7.local.c
51
char *tmp = getenv("MAIL");
usr.bin/mail/v7.local.c
82
if ((np = getenv("USER")) != NULL)
usr.bin/mail/v7.local.c
84
if ((np = getenv("LOGNAME")) != NULL)
usr.bin/mail/vars.c
107
return (getenv(name));
usr.bin/mdo/mdo.c
876
const char *sh = getenv("SHELL");
usr.bin/ministat/ministat.c
572
if ((p = getenv("COLUMNS")) != NULL && *p != '\0')
usr.bin/mkimg/image.c
747
if ((tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0')
usr.bin/mktemp/mktemp.c
132
envtmp = getenv("TMPDIR");
usr.bin/mktemp/mktemp.c
82
tmpdir = getenv("TMPDIR");
usr.bin/msgs/msgs.c
387
if ((cp = getenv("HOME")) == NULL || *cp == '\0') {
usr.bin/msgs/msgs.c
435
if (tgetent(inbuf, getenv("TERM")) <= 0
usr.bin/msgs/msgs.c
626
if ((env_pager = getenv("PAGER")) == NULL) {
usr.bin/mt/mt.c
203
if ((tape = getenv("TAPE")) == NULL)
usr.bin/newgrp/newgrp.c
275
term = getenv("TERM");
usr.bin/newgrp/newgrp.c
276
ticket = getenv("KRBTKFILE");
usr.bin/nohup/nohup.c
100
if ((p = getenv("HOME")) != NULL && *p != '\0' &&
usr.bin/patch/patch.c
170
if ((tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0')
usr.bin/patch/patch.c
199
v = getenv("SIMPLE_BACKUP_SUFFIX");
usr.bin/patch/patch.c
211
if ((v = getenv("PATCH_VERSION_CONTROL")) == NULL)
usr.bin/patch/patch.c
212
v = getenv("VERSION_CONTROL");
usr.bin/patch/patch.c
686
if (getenv("POSIXLY_CORRECT") != NULL)
usr.bin/rpcgen/rpc_main.c
270
else if ((var = getenv("RPCGEN_CPP")) == NULL)
usr.bin/script/script.c
429
shell = getenv("SHELL");
usr.bin/sdiff/edit.c
46
ed = getenv("VISUAL");
usr.bin/sdiff/edit.c
48
ed = getenv("EDITOR");
usr.bin/sdiff/sdiff.c
331
if ((tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0')
usr.bin/sed/process.c
595
if ((p = getenv("COLUMNS")) && *p != '\0')
usr.bin/sort/sort.c
336
if (getenv("GNUSORT_NUMERIC_COMPATIBILITY"))
usr.bin/sort/sort.c
369
td = getenv("TMPDIR");
usr.bin/stdbuf/stdbuf.c
43
curval = getenv(key);
usr.bin/su/su.c
498
p = getenv("TERM");
usr.bin/tip/tip/remote.c
205
if (host == NOSTR && (host = getenv("HOST")) == NOSTR) {
usr.bin/tip/tip/remote.c
68
rempath = getenv("REMOTE");
usr.bin/tip/tip/tip.c
158
if ((PH = getenv("PHONES")) == NOSTR)
usr.bin/tip/tip/value.c
60
if ((cp = getenv(p->v_name)))
usr.bin/top/screen.c
82
term_name = getenv("TERM");
usr.bin/top/top.c
292
if ((env_top = getenv("TOP")) != NULL)
usr.bin/ul/ul.c
103
termtype = getenv("TERM");
usr.bin/uname/uname.c
145
if ((var = getenv("UNAME_" opt)) == NULL) { \
usr.bin/units/units.c
137
env = getenv("PATH");
usr.bin/whereis/whereis.c
283
if ((cp = getenv("PATH")) != NULL) {
usr.bin/which/which.c
73
if ((p = getenv("PATH")) == NULL)
usr.bin/who/who.c
302
if ((cols = getenv("COLUMNS")) != NULL && *cols != '\0') {
usr.bin/whois/whois.c
234
if ((host = getenv("WHOIS_SERVER")) == NULL &&
usr.bin/whois/whois.c
235
(host = getenv("RA_SERVER")) == NULL) {
usr.bin/xinstall/xinstall.c
1283
stripbin = getenv("STRIPBIN");
usr.bin/xinstall/xinstall.c
294
if (getenv("DONTSTRIP") != NULL) {
usr.sbin/acpi/acpidump/acpi.c
2915
tmpdir = getenv("TMPDIR");
usr.sbin/bhyve/acpi.c
447
if ((tmpdir = getenv("BHYVE_TMPDIR")) == NULL || *tmpdir == '\0' ||
usr.sbin/bhyve/acpi.c
448
(tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0') {
usr.sbin/bhyve/acpi.c
861
if (getenv("BHYVE_ACPI_VERBOSE_IASL"))
usr.sbin/bhyve/acpi.c
868
if (getenv("BHYVE_ACPI_KEEPTMPS"))
usr.sbin/bhyveload/bhyveload.c
673
.getenv = cb_getenv,
usr.sbin/bsdinstall/distextract/distextract.c
125
chrootdir = getenv("BSDINSTALL_CHROOT");
usr.sbin/bsdinstall/distextract/distextract.c
73
if ((distributions = getenv("DISTRIBUTIONS")) == NULL)
usr.sbin/bsdinstall/distextract/distextract.c
75
if ((distdir = getenv("BSDINSTALL_DISTDIR")) == NULL)
usr.sbin/bsdinstall/distfetch/distfetch.c
57
if (getenv("DISTRIBUTIONS") == NULL)
usr.sbin/bsdinstall/distfetch/distfetch.c
60
diststring = strdup(getenv("DISTRIBUTIONS"));
usr.sbin/bsdinstall/distfetch/distfetch.c
83
getenv("BSDINSTALL_DISTSITE"), strsep(&diststring, " \t"));
usr.sbin/bsdinstall/distfetch/distfetch.c
86
if (chdir(getenv("BSDINSTALL_DISTDIR")) != 0) {
usr.sbin/bsdinstall/distfetch/distfetch.c
89
getenv("BSDINSTALL_DISTDIR"), strerror(errno));
usr.sbin/bsdinstall/partedit/gpart_ops.c
165
if (getenv("BSDINSTALL_TMPBOOT") != NULL) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
169
getenv("BSDINSTALL_TMPBOOT"));
usr.sbin/bsdinstall/partedit/partedit.c
382
if (getenv("BSDINSTALL_LOG") == NULL)
usr.sbin/bsdinstall/partedit/partedit.c
392
md->newfs, md->newfs, getenv("BSDINSTALL_LOG"),
usr.sbin/bsdinstall/partedit/partedit.c
393
getenv("BSDINSTALL_LOG"));
usr.sbin/bsdinstall/partedit/partedit.c
433
if (getenv("PATH_FSTAB") != NULL)
usr.sbin/bsdinstall/partedit/partedit.c
434
fstab_path = getenv("PATH_FSTAB");
usr.sbin/bsdinstall/partedit/partedit.c
441
getenv("PATH_FSTAB"), strerror(errno));
usr.sbin/bsdinstall/partedit/partedit.c
491
if (getenv("WORKAROUND_LENOVO"))
usr.sbin/bsdinstall/partedit/partedit.c
493
if (getenv("WORKAROUND_GPTACTIVE"))
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
142
if ((str = getenv("SNMPAUTH")) != NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
152
if ((str = getenv("SNMPPRIV")) != NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
162
if ((str = getenv("SNMPUSER")) != NULL) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
174
if ((str = getenv("SNMPPASSWD")) != NULL) {
usr.sbin/cdcontrol/cdcontrol.c
191
device = getenv(old_envvar);
usr.sbin/cdcontrol/cdcontrol.c
231
cdname = getenv("CDROM");
usr.sbin/certctl/certctl.c
1000
(metalog = getenv("METALOG")) == NULL)
usr.sbin/certctl/certctl.c
1004
if ((value = getenv("CERTCTL_VERBOSE")) != NULL) {
usr.sbin/certctl/certctl.c
1011
if ((value = getenv("TRUSTPATH")) != NULL)
usr.sbin/certctl/certctl.c
1016
if ((value = getenv("UNTRUSTPATH")) != NULL)
usr.sbin/certctl/certctl.c
1021
if ((value = getenv("TRUSTDESTDIR")) != NULL ||
usr.sbin/certctl/certctl.c
1022
(value = getenv("CERTDESTDIR")) != NULL)
usr.sbin/certctl/certctl.c
1027
if ((value = getenv("UNTRUSTDESTDIR")) != NULL)
usr.sbin/certctl/certctl.c
1032
if ((value = getenv("BUNDLE")) != NULL)
usr.sbin/certctl/certctl.c
974
(localbase = getenv("LOCALBASE")) == NULL) {
usr.sbin/certctl/certctl.c
988
(destdir = getenv("DESTDIR")) == NULL)
usr.sbin/certctl/certctl.c
993
(distbase = getenv("DISTBASE")) == NULL)
usr.sbin/chroot/chroot.c
194
if (!(shell = getenv("SHELL")))
usr.sbin/config/main.cc
279
if ((pwd = getenv("PWD")) != NULL && *pwd == '/' &&
usr.sbin/cron/crontab/crontab.c
375
if ((editor = getenv("VISUAL")) == NULL &&
usr.sbin/cron/crontab/crontab.c
376
(editor = getenv("EDITOR")) == NULL) {
usr.sbin/crunch/crunchgen/crunchgen.c
137
path_make = getenv("MAKE");
usr.sbin/crunch/crunchgen/crunchgen.c
141
p = getenv("MAKEOBJDIRPREFIX");
usr.sbin/crunch/crunchgen/crunchgen.c
220
getenv("TMPDIR") ? getenv("TMPDIR") : _PATH_TMP, confname);
usr.sbin/crunch/crunchgen/crunchgen.c
668
((auto_obj = getenv("MK_AUTO_OBJ")) != NULL &&
usr.sbin/edquota/edquota.c
445
if ((ed = getenv("EDITOR")) == (char *)0)
usr.sbin/jail/command.c
784
term = getenv("TERM");
usr.sbin/jexec/jexec.c
128
term = getenv("TERM");
usr.sbin/jexec/jexec.c
169
if (!(shell = getenv("SHELL")))
usr.sbin/kbdcontrol/kbdcontrol.c
849
cp = getenv("KEYMAP_PATH");
usr.sbin/kbdmap/kbdmap.c
175
if ((locale = getenv("LC_ALL")) == NULL &&
usr.sbin/kbdmap/kbdmap.c
176
(locale = getenv("LC_CTYPE")) == NULL &&
usr.sbin/kbdmap/kbdmap.c
177
(locale = getenv("LANG")) == NULL)
usr.sbin/lpr/lpq/lpq.c
102
if (!aflag && printer == NULL && (printer = getenv("PRINTER")) == NULL)
usr.sbin/lpr/lpr/lpr.c
261
if (printer == NULL && (printer = getenv("PRINTER")) == NULL)
usr.sbin/lpr/lprm/lprm.c
138
if (printer == NULL && (printer = getenv("PRINTER")) == NULL)
usr.sbin/lpr/pac/pac.c
158
if (printer == NULL && (printer = getenv("PRINTER")) == NULL)
usr.sbin/makefs/mtree.c
274
v = getenv(var);
usr.sbin/moused/moused/quirks.c
469
if (getenv("LIBINPUT_RUNNING_TEST_SUITE"))
usr.sbin/pciconf/pciconf.c
1089
if ((dbf = getenv("PCICONF_VENDOR_DATABASE")) == NULL)
usr.sbin/pkg/config.c
579
val = getenv(c[i].key);
usr.sbin/pkg/pkg.c
872
getenv("TMPDIR") ? getenv("TMPDIR") : _PATH_TMP,
usr.sbin/pkg/pkg.c
879
getenv("TMPDIR") ? getenv("TMPDIR") : _PATH_TMP,
usr.sbin/pkg/pkg.c
895
getenv("TMPDIR") ? getenv("TMPDIR") : _PATH_TMP,
usr.sbin/pmcannotate/pmcannotate.c
760
tmpdir = getenv("TMPDIR");
usr.sbin/pmccontrol/pmccontrol.c
113
fn = getenv("PMCCONTROL_DEBUG");
usr.sbin/ppp/command.c
654
if ((shell = getenv("SHELL")) == NULL)
usr.sbin/ppp/ether.c
719
if ((sessionid = getenv("SESSIONID")) != NULL) {
usr.sbin/ppp/physical.c
916
if ((connstr = getenv("CONNECT")))
usr.sbin/ppp/radius.c
1044
if ((mac_addr = getenv("HISMACADDR")) != NULL &&
usr.sbin/ppp/radius.c
1200
if ((mac_addr = getenv("HISMACADDR")) != NULL &&
usr.sbin/ppp/systems.c
132
else if ((env = getenv(to)) != NULL) {
usr.sbin/pppctl/pppctl.c
583
if ((env = getenv("EL_SIZE"))) {
usr.sbin/pppctl/pppctl.c
598
if ((env = getenv("EL_EDITOR"))) {
usr.sbin/pw/pw_log.c
65
if ((name = getenv("LOGNAME")) == NULL &&
usr.sbin/pw/pw_log.c
66
(name = getenv("USER")) == NULL) {
usr.sbin/setpmac/setpmac.c
86
if (!(shell = getenv("SHELL")))
usr.sbin/syslogd/syslogd.c
2621
if (getenv("TZ")) {
usr.sbin/traceroute/as.c
67
server = getenv("RA_SERVER");
usr.sbin/usbconfig/dump.c
371
if ((dbf = getenv("USB_VENDOR_DATABASE")) != NULL)
usr.sbin/watch/watch.c
194
if ((term = getenv("TERM")))
usr.sbin/wlanstat/main.c
176
ifname = getenv("WLAN");