Defined in 7 files as a prototype:
Defined in 1 files as a macro:
Defined in 12 files as a function:
- contrib/binutils/libiberty/setenv.c, line 164 (as a function)
- contrib/bmake/setenv.c, line 141 (as a function)
- contrib/bmake/util.c, line 67 (as a function)
- contrib/kyua/utils/env.cpp, line 180 (as a function)
- contrib/libevent/test/regress.c, line 2596 (as a function)
- contrib/ntp/sntp/libevent/test/regress.c, line 2493 (as a function)
- contrib/sendmail/libsm/config.c, line 151 (as a function)
- contrib/tcp_wrappers/environ.c, line 87 (as a function)
- crypto/heimdal/lib/roken/unsetenv.c, line 49 (as a function)
- crypto/openssh/openbsd-compat/setenv.c, line 198 (as a function)
- lib/libc/stdlib/getenv.c, line 662 (as a function)
- stand/libsa/environment.c, line 177 (as a function)
Referenced in 63 files:
- bin/sh/histedit.c, line 117
- bin/sh/var.c, line 308
- contrib/apr/misc/unix/env.c, line 75
- contrib/atf/atf-c/detail/env.c, line 97
- contrib/binutils/libiberty/putenv.c, line 82
- contrib/binutils/libiberty/setenv.c, line 68
- contrib/bmake/util.c, line 147
- contrib/bmake/var.c
- contrib/googletest/googletest/test/gtest_unittest.cc
- contrib/kyua/cli/main_test.cpp
- contrib/kyua/store/layout_test.cpp, line 303
- contrib/kyua/store/migrate_test.cpp, line 104
- contrib/kyua/store/write_backend_test.cpp, line 108
- contrib/kyua/utils/cmdline/ui_test.cpp
- contrib/kyua/utils/env.cpp, line 184
- contrib/kyua/utils/env_test.cpp
- contrib/kyua/utils/fs/operations_test.cpp, line 189
- contrib/kyua/utils/process/isolation.cpp, line 117
- contrib/kyua/utils/stacktrace.cpp, line 147
- contrib/libevent/test/regress.c
- contrib/llvm-project/openmp/runtime/src/kmp_environment.cpp, line 213
- contrib/netbsd-tests/lib/libc/stdlib/t_getenv.c
- contrib/netbsd-tests/lib/libc/stdlib/t_getenv_thread.c
- contrib/ntp/sntp/libevent/test/regress.c
- contrib/nvi/cl/cl_screen.c
- contrib/sendmail/src/main.c, line 1354
- contrib/tcp_wrappers/environ.c, line 206
- contrib/telnet/telnetd/state.c
- contrib/wpa/src/utils/os_internal.c
- contrib/wpa/src/utils/os_unix.c
- crypto/heimdal/appl/afsutil/pagsh.c, line 199
- crypto/heimdal/appl/telnet/telnetd/state.c
- crypto/heimdal/appl/telnet/telnetd/sys_term.c, line 1375
- crypto/openssh/ssh.c
- crypto/openssh/sshd.c, line 1683
- lib/libc/tests/gen/fmtmsg_test.c, line 234
- lib/libc/tests/gen/wordexp_test.c
- lib/libsecureboot/pass_manifest.c
- libexec/ftpd/popen.c, line 155
- libexec/rtld-elf/rtld.c
- sbin/mount_fusefs/mount_fusefs.c, line 160
- sbin/shutdown/shutdown.c, line 483
- stand/common/commands.c, line 356
- stand/common/console.c, line 81
- stand/common/install.c
- stand/common/module.c, line 272
- stand/efi/loader/efiserialio.c
- stand/ficl/loader.c, line 200
- stand/i386/libi386/comconsole.c
- stand/i386/libi386/multiboot.c, line 205
- stand/liblua/lutils.c
- stand/libsa/zfs/zfs.c
- tests/sys/kern/acct/acct_test.c, line 212
- tools/regression/environ/envctl.c, line 202
- tools/regression/environ/retention.c, line 70
- usr.bin/chpass/util.c, line 98
- usr.bin/env/env.c, line 123
- usr.bin/ldd/ldd.c
- usr.bin/logger/logger.c, line 119
- usr.bin/mail/cmd3.c, line 419
- usr.bin/mail/main.c, line 153
- usr.bin/tset/term.c, line 100
- usr.sbin/syslogd/syslogd.c, line 2593