Defined in 10 files as a prototype:
- external/bsd/libpcap/dist/lbl/os-sunos4.h, line 143 (as a prototype)
- external/bsd/tcpdump/dist/lbl/os-sunos4.h, line 142 (as a prototype)
- external/bsd/tmux/dist/compat.h, line 400 (as a prototype)
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/setenv.h, line 33 (as a prototype)
- external/gpl3/binutils/dist/gprofng/libcollector/envmgmt.c, line 722 (as a prototype)
- external/gpl3/gcc.old/dist/gcc/system.h, line 498 (as a prototype)
- external/ibm-public/postfix/dist/src/util/sys_defs.h, line 1492 (as a prototype)
- include/stdlib.h, line 245 (as a prototype)
- sys/arch/ia64/stand/common/bootstrap.h, line 377 (as a prototype)
- tools/compat/compat_defs.h, line 566 (as a prototype)
Defined in 3 files as a member:
Defined in 7 files as a macro:
Defined in 16 files as a function:
- crypto/external/bsd/heimdal/dist/lib/roken/setenv.c, line 50 (as a function)
- external/bsd/kyua-cli/dist/utils/env.cpp, line 124 (as a function)
- external/bsd/libbind/dist/bsd/setenv.c, line 62 (as a function)
- external/bsd/libevent/dist/test/regress.c, line 2659 (as a function)
- external/bsd/ntp/dist/sntp/libevent/test/regress.c, line 2483 (as a function)
- external/bsd/nvi/dist/clib/env.c, line 87 (as a function)
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/setenv.c, line 282 (as a function)
- external/gpl2/xcvs/dist/lib/setenv.c, line 285 (as a function)
- external/gpl3/binutils.old/dist/libiberty/setenv.c, line 82 (as a function)
- external/gpl3/binutils/dist/libiberty/setenv.c, line 82 (as a function)
- external/gpl3/gdb.old/dist/gnulib/import/setenv.c, line 291 (as a function)
- external/ibm-public/postfix/dist/src/util/environ.c, line 86 (as a function)
- external/ibm-public/postfix/dist/src/util/sys_compat.c, line 117 (as a function)
- sys/arch/ia64/stand/common/environment.c, line 157 (as a function)
- tools/compat/setenv.c, line 37 (as a function)
- usr.bin/make/util.c, line 87 (as a function)
Referenced in 247 files:
- bin/date/date.c, line 142
- bin/sh/histedit.c, line 155
- crypto/dist/ipsec-tools/src/racoon/racoonctl.c, line 272
- crypto/external/bsd/heimdal/dist/kuser/kinit.c, line 1380
- crypto/external/bsd/heimdal/dist/lib/roken/esetenv.c, line 45
- crypto/external/bsd/libsaslc/dist/test/t_parser.c, 2 times
- crypto/external/bsd/openssh/dist/auth-pam.c, line 500
- crypto/external/bsd/openssh/dist/clientloop.c, line 2547
- crypto/external/bsd/openssh/dist/mux.c, 2 times
- crypto/external/bsd/openssh/dist/readconf.c, 6 times
- crypto/external/bsd/openssh/dist/readpass.c, 2 times
- crypto/external/bsd/openssh/dist/servconf.c, 3 times
- crypto/external/bsd/openssh/dist/servconf.h, line 306
- crypto/external/bsd/openssh/dist/session.c, 2 times
- crypto/external/bsd/openssh/dist/ssh-agent.c, 2 times
- crypto/external/bsd/openssh/dist/ssh.c, 3 times
- crypto/external/bsd/openssh/dist/sshd.c, line 1763
- crypto/external/bsd/openssl.old/dist/test/conf_include_test.c, 3 times
- crypto/external/bsd/openssl/dist/test/conf_include_test.c, 3 times
- crypto/external/cpl/trousers/dist/src/tcsd/svrside.c, 2 times
- crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/test.c, line 9
- crypto/external/cpl/trousers/dist/src/tspi/daa/daa_parameter.c, line 13
- crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/test.c, line 12
- external/apache2/llvm/dist/clang/tools/c-arcmt-test/c-arcmt-test.c, line 119
- external/apache2/llvm/dist/clang/tools/scan-build-py/libear/ear.c, line 468
- external/apache2/llvm/dist/llvm/utils/not/not.cpp, 2 times
- external/bsd/atf/dist/atf-c/detail/env.c, line 63
- external/bsd/atf/dist/tools/env.cpp, line 72
- external/bsd/cron/dist/cron.c, 4 times
- external/bsd/kyua-cli/dist/cli/cmd_about_test.cpp, 7 times
- external/bsd/kyua-cli/dist/cli/common_test.cpp, 4 times
- external/bsd/kyua-cli/dist/cli/config_test.cpp, 9 times
- external/bsd/kyua-cli/dist/cli/main_test.cpp, 3 times
- external/bsd/kyua-cli/dist/engine/drivers/list_tests_test.cpp, 5 times
- external/bsd/kyua-cli/dist/engine/metadata_test.cpp, 2 times
- external/bsd/kyua-cli/dist/engine/test_case_test.cpp, 8 times
- external/bsd/kyua-cli/dist/engine/test_program_test.cpp, line 71
- external/bsd/kyua-cli/dist/engine/testers_test.cpp, 8 times
- external/bsd/kyua-cli/dist/store/backend_test.cpp, 4 times
- external/bsd/kyua-cli/dist/utils/cmdline/ui_test.cpp, 8 times
- external/bsd/kyua-cli/dist/utils/env.cpp, line 128
- external/bsd/kyua-cli/dist/utils/env_test.cpp, 7 times
- external/bsd/kyua-cli/dist/utils/fs/auto_cleaners_test.cpp, 2 times
- external/bsd/kyua-cli/dist/utils/fs/operations_test.cpp, 7 times
- external/bsd/kyua-cli/dist/utils/process/child_test.cpp, line 633
- external/bsd/kyua-testers/dist/env.c, line 56
- external/bsd/kyua-testers/dist/plain_inttest.c, line 46
- external/bsd/libbind/dist/bsd/putenv.c, line 25
- external/bsd/libevent/dist/test/regress.c, 3 times
- external/bsd/nsd/dist/nsd.c, 9 times
- external/bsd/nsd/dist/verify.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/test/regress.c, 3 times
- external/bsd/nvi/dist/cl/cl.h, line 121
- external/bsd/nvi/dist/ex/ex_script.c, 3 times
- external/bsd/pkg_install/dist/add/perform.c, 4 times
- external/bsd/pkg_install/dist/delete/pkg_delete.c, 4 times
- external/bsd/ppp/dist/pppd/main.c, line 1629
- external/bsd/tmux/dist/client.c, line 511
- external/bsd/tmux/dist/environ.c, line 218
- external/bsd/tmux/dist/osdep-darwin.c, 2 times
- external/bsd/tmux/dist/osdep-freebsd.c, line 203
- external/bsd/tmux/dist/osdep-linux.c, line 97
- external/bsd/tmux/dist/osdep-sunos.c, line 107
- external/bsd/wpa/dist/src/utils/os_internal.c, line 200
- external/bsd/wpa/dist/src/utils/os_unix.c, line 393
- external/cddl/osnet/dist/cmd/ztest/ztest.c, 2 times
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/relocwrapper.c, line 165
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/setenv.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/examples/hello-c++-kde/hello.cc, line 42
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/relocwrapper.c, line 165
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/setenv.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/xsetenv.c, line 37
- external/gpl2/gettext/dist/gnulib-local/lib/relocwrapper.c, line 165
- external/gpl2/lvm2/dist/tools/lvmcmdline.c, line 1343
- external/gpl2/xcvs/dist/lib/getdate.c, 3 times
- external/gpl2/xcvs/dist/lib/setenv.c, 2 times
- external/gpl2/xcvs/dist/src/filesubr.c, line 914
- external/gpl2/xcvs/dist/src/main.c, 2 times
- external/gpl2/xcvs/dist/src/server.c, 4 times
- external/gpl3/binutils.old/dist/libiberty/putenv.c, line 79
- external/gpl3/binutils.old/dist/libiberty/setenv.c, line 66
- external/gpl3/binutils/dist/gprofng/libcollector/envmgmt.c, 12 times
- external/gpl3/binutils/dist/gprofng/libcollector/libcol_util.c, line 1404
- external/gpl3/binutils/dist/libiberty/putenv.c, line 79
- external/gpl3/binutils/dist/libiberty/setenv.c, line 66
- external/gpl3/gcc.old/dist/gcc/gcc.c, 2 times
- external/gpl3/gcc.old/dist/libiberty/putenv.c, line 79
- external/gpl3/gcc.old/dist/libiberty/setenv.c, line 66
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, 2 times
- external/gpl3/gcc/dist/gcc/gcc.c, 2 times
- external/gpl3/gcc/dist/libiberty/putenv.c, line 79
- external/gpl3/gcc/dist/libiberty/setenv.c, line 66
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/lib/read1.c, line 38
- external/gpl3/gdb.old/dist/gdb/unittests/environ-selftests.c, line 272
- external/gpl3/gdb.old/dist/gdbserver/win32-low.cc, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/setenv.c, 6 times
- external/gpl3/gdb.old/dist/gnulib/import/stdlib.in.h, 9 times
- external/gpl3/gdb.old/dist/libiberty/putenv.c, line 79
- external/gpl3/gdb.old/dist/libiberty/setenv.c, line 66
- external/gpl3/gdb.old/dist/readline/readline/shell.c, 2 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/dist/gdb/testsuite/lib/read1.c, line 38
- external/gpl3/gdb/dist/gdb/unittests/environ-selftests.c, line 272
- external/gpl3/gdb/dist/gdbserver/win32-low.cc, 2 times
- external/gpl3/gdb/dist/gnulib/import/setenv.c, 6 times
- external/gpl3/gdb/dist/gnulib/import/stdlib.in.h, 9 times
- external/gpl3/gdb/dist/libiberty/putenv.c, line 79
- external/gpl3/gdb/dist/libiberty/setenv.c, line 66
- external/gpl3/gdb/dist/readline/readline/shell.c, 2 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/stdlib.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/stdlib.h, 9 times
- external/ibm-public/postfix/dist/src/global/mail_params.c, line 1016
- external/ibm-public/postfix/dist/src/global/maillog_client.c, 2 times
- external/ibm-public/postfix/dist/src/global/pipe_command.c, 2 times
- external/ibm-public/postfix/dist/src/global/test_main.c, line 151
- external/ibm-public/postfix/dist/src/master/master.c, line 362
- external/ibm-public/postfix/dist/src/postalias/postalias.c, line 781
- external/ibm-public/postfix/dist/src/postcat/postcat.c, line 502
- external/ibm-public/postfix/dist/src/postconf/postconf.c, line 865
- external/ibm-public/postfix/dist/src/postdrop/postdrop.c, line 384
- external/ibm-public/postfix/dist/src/postfix/postfix.c, line 465
- external/ibm-public/postfix/dist/src/postkick/postkick.c, line 176
- external/ibm-public/postfix/dist/src/postlock/postlock.c, line 222
- external/ibm-public/postfix/dist/src/postlog/postlog.c, line 294
- external/ibm-public/postfix/dist/src/postmap/postmap.c, line 1008
- external/ibm-public/postfix/dist/src/postmulti/postmulti.c, line 940
- external/ibm-public/postfix/dist/src/postqueue/postqueue.c, line 613
- external/ibm-public/postfix/dist/src/postsuper/postsuper.c, line 1373
- external/ibm-public/postfix/dist/src/sendmail/sendmail.c, line 1149
- external/ibm-public/postfix/dist/src/util/clean_env.c, 2 times
- external/ibm-public/postfix/dist/src/util/dict_env.c, line 66
- external/ibm-public/postfix/dist/src/util/environ.c, line 68
- external/ibm-public/postfix/dist/src/util/spawn_command.c, 2 times
- external/ibm-public/postfix/dist/src/util/vstream_popen.c, 2 times
- external/mit/libuv/dist/src/unix/core.c, line 1354
- external/mit/libuv/dist/test/runner-unix.c, line 125
- external/mpl/bind/dist/lib/dns/tests/dnstap_test.c, line 385
- external/mpl/bind/dist/lib/dns/tests/update_test.c, line 55
- external/mpl/bind/dist/lib/isc/netmgr/uv-compat.h, line 119
- external/mpl/bind/dist/lib/isc/tests/time_test.c, 8 times
- external/mpl/dhcp/dist/server/ldap_krb_helper.c, line 162
- lib/libc/compat/stdlib/compat_putenv.c, line 79
- lib/libc/net/rcmd.c, line 469
- lib/libc/stdlib/setenv.c, 2 times
- lib/libc/time/zdump.c, line 249
- lib/libtelnet/forward.c, line 53
- lib/libutil/login_cap.c, line 491
- lib/libwrap/options.c, line 441
- libexec/ftpd/ftpd.c, line 1631
- libexec/rshd/rshd.c, 4 times
- libexec/telnetd/state.c, 3 times
- libexec/telnetd/sys_term.c, 2 times
- libexec/telnetd/telnetd.c, line 723
- sbin/init/init.c, line 747
- sys/arch/ia64/stand/common/boot.c, 2 times
- sys/arch/ia64/stand/common/commands.c, line 417
- sys/arch/ia64/stand/common/dev_net.c, 6 times
- sys/arch/ia64/stand/common/environment.c, line 174
- sys/arch/ia64/stand/common/interp.c, 2 times
- sys/arch/ia64/stand/ia64/efi/main.c, line 173
- sys/arch/ia64/stand/ia64/ski/main.c, 2 times
- sys/external/bsd/compiler_rt/dist/lib/msan/msan_interceptors.cc, 3 times
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_mac.cc, 2 times
- tests/fs/common/fstest_puffs.c, 2 times
- tests/fs/common/fstest_rumpfs.c, line 55
- tests/fs/common/fstest_zfs.c, 3 times
- tests/fs/common/snapshot.c, 4 times
- tests/fs/tmpfs/t_renamerace.c, line 85
- tests/kernel/t_filedesc.c, line 80
- tests/lib/libc/stdlib/t_getenv.c, 12 times
- tests/lib/libc/stdlib/t_getenv_thread.c, line 115
- tests/lib/libc/time/t_strptime.c, line 195
- tests/lib/libcurses/director/director.c, 3 times
- tests/lib/librumpclient/t_fd.c, 2 times
- tests/lib/libutil/t_parsedate.c, line 623
- tests/lib/semaphore/sem.c, line 129
- tests/libexec/ld.elf_so/t_ifunc.c, 2 times
- tests/rump/rumpkern/t_vm.c, line 79
- usr.bin/calendar/calendar.c, line 458
- usr.bin/cvslatest/cvslatest.c, line 277
- usr.bin/infocmp/infocmp.c, line 140
- usr.bin/login/login.c, 7 times
- usr.bin/login/login_pam.c, 6 times
- usr.bin/make/main.c, 3 times
- usr.bin/make/parse.c, line 2325
- usr.bin/make/util.c, line 146
- usr.bin/make/var.c, 7 times
- usr.bin/mkdep/mkdep.c, line 110
- usr.bin/newgrp/newgrp.c, 7 times
- usr.bin/rsh/rsh.c, line 140
- usr.bin/rump_allserver/rump_allserver.c, 3 times
- usr.bin/su/su.c, 8 times
- usr.bin/su/su_pam.c, 6 times
- usr.bin/xlint/xlint/xlint.c, line 381
- usr.sbin/npf/npftest/npftest.c, line 246
- usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c, line 112
- usr.sbin/sysinst/main.c, 2 times
- usr.sbin/sysinst/util.c, 2 times