Defined in 8 files as a prototype:
Defined in 9 files as a function:
Referenced in 166 files:
- bin/chio/chio.c, line 170
- bin/dd/dd.c, line 144
- crypto/external/bsd/heimdal/dist/lib/base/dll.c, line 138
- crypto/external/bsd/heimdal/dist/lib/roken/syslogc.c, line 109
- crypto/external/bsd/heimdal/dist/lib/roken/write_pid.c, line 115
- crypto/external/bsd/openssl/dist/apps/apps.c, line 2420
- crypto/external/bsd/openssl/dist/apps/win32_init.c, line 289
- crypto/external/bsd/openssl/dist/crypto/init.c, line 140
- external/bsd/blacklist/port/pidfile.c, line 78
- external/bsd/byacc/dist/main.c, line 654
- external/bsd/jemalloc/dist/src/jemalloc.c, line 1317
- external/bsd/jemalloc/dist/src/prof.c, line 2398
- external/bsd/libc++/dist/libcxx/test/depr/depr.c.headers/stdlib_h.pass.cpp, line 61
- external/bsd/libc++/dist/libcxx/test/language.support/support.runtime/cstdlib.pass.cpp, line 61
- external/bsd/libc++/dist/libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp, line 61
- external/bsd/libc++/dist/libcxx/test/std/language.support/support.runtime/cstdlib.pass.cpp, line 73
- external/bsd/libc++/dist/libcxxrt/test/test.cc, line 32
- external/bsd/libpcap/dist/pcap-dag.c, line 297
- external/bsd/libpcap/dist/pcap-dos.c, line 216
- external/bsd/libpcap/dist/pcap.c, 2 times
- external/bsd/llvm/dist/clang/lib/CodeGen/CGDeclCXX.cpp, 3 times
- external/bsd/llvm/dist/clang/lib/CodeGen/ItaniumCXXABI.cpp, 3 times
- external/bsd/llvm/dist/clang/tools/c-arcmt-test/c-arcmt-test.c, line 112
- external/bsd/llvm/dist/clang/tools/c-index-test/c-index-test.c, line 4789
- external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp, line 249
- external/bsd/ntp/dist/libntp/authkeys.c, line 295
- external/bsd/ntp/dist/libntp/recvbuff.c, line 127
- external/bsd/ntp/dist/libntp/ssl_init.c, line 52
- external/bsd/ntp/dist/libntp/work_fork.c, line 519
- external/bsd/ntp/dist/ntpd/ntp_config.c, line 4685
- external/bsd/ntp/dist/ntpd/ntp_loopfilter.c, line 1149
- external/bsd/ntp/dist/ntpd/ntp_util.c, line 175
- external/bsd/ntp/dist/ntpdate/ntpdate.c, line 1643
- external/bsd/ntp/dist/ports/winnt/ntpd/nt_clockstuff.c, 2 times
- external/bsd/ntp/dist/ports/winnt/ntpd/ntp_iocompletionport.c, line 231
- external/bsd/ntp/dist/ports/winnt/ntpd/ntservice.c, line 193
- external/bsd/ntp/dist/sntp/kod_management.c, line 304
- external/bsd/ntp/dist/sntp/libopts/pgusage.c, line 143
- external/bsd/ntp/dist/sntp/log.c, line 32
- external/bsd/openldap/dist/libraries/libldap/init.c, line 545
- external/bsd/openldap/dist/libraries/libldap_r/thr_debug.c, line 682
- external/bsd/tcpdump/dist/win32/src/ether_ntohost.c, line 189
- external/bsd/unbound/dist/compat/ctime_r.c, line 31
- external/bsd/unbound/dist/smallapp/unbound-anchor.c, line 1961
- external/bsd/unbound/dist/testcode/petal.c, line 618
- external/bsd/unbound/dist/testcode/testbound.c, line 460
- external/bsd/unbound/dist/testcode/unitauth.c, line 896
- external/bsd/wpa/dist/hostapd/hlr_auc_gw.c, line 1080
- external/cddl/osnet/dist/lib/libdtrace/common/dt_options.c, line 118
- external/gpl2/gettext/dist/gettext-runtime/src/envsubst.c, line 88
- external/gpl2/gettext/dist/gettext-runtime/src/gettext.c, line 96
- external/gpl2/gettext/dist/gettext-runtime/src/ngettext.c, line 92
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/wait-process.c, line 175
- external/gpl2/gettext/dist/gettext-tools/src/hostname.c, line 141
- external/gpl2/gettext/dist/gettext-tools/src/msgattrib.c, line 164
- external/gpl2/gettext/dist/gettext-tools/src/msgcat.c, line 133
- external/gpl2/gettext/dist/gettext-tools/src/msgcmp.c, line 110
- external/gpl2/gettext/dist/gettext-tools/src/msgcomm.c, line 136
- external/gpl2/gettext/dist/gettext-tools/src/msgconv.c, line 125
- external/gpl2/gettext/dist/gettext-tools/src/msgen.c, line 119
- external/gpl2/gettext/dist/gettext-tools/src/msgexec.c, line 125
- external/gpl2/gettext/dist/gettext-tools/src/msgfilter.c, line 179
- external/gpl2/gettext/dist/gettext-tools/src/msgfmt.c, line 229
- external/gpl2/gettext/dist/gettext-tools/src/msggrep.c, line 176
- external/gpl2/gettext/dist/gettext-tools/src/msginit.c, line 175
- external/gpl2/gettext/dist/gettext-tools/src/msgmerge.c, line 192
- external/gpl2/gettext/dist/gettext-tools/src/msgunfmt.c, line 141
- external/gpl2/gettext/dist/gettext-tools/src/msguniq.c, line 129
- external/gpl2/gettext/dist/gettext-tools/src/recode-sr-latin.c, line 89
- external/gpl2/gettext/dist/gettext-tools/src/urlget.c, line 104
- external/gpl2/gettext/dist/gettext-tools/src/xgettext.c, line 304
- external/gpl2/gettext/dist/gettext-tools/tests/tstgettext.c, line 103
- external/gpl2/gettext/dist/gettext-tools/tests/tstngettext.c, line 91
- external/gpl2/gmake/dist/main.c, 2 times
- external/gpl2/gmake/dist/vmsjobs.c, line 282
- external/gpl2/grep/dist/src/grep.c, line 1369
- external/gpl2/xcvs/dist/lib/chdir-long.c, line 237
- external/gpl2/xcvs/dist/src/exithandle.c, 2 times
- external/gpl3/gcc/dist/fixincludes/server.c, line 184
- external/gpl3/gcc/dist/gcc/collect2.c, line 968
- external/gpl3/gcc/dist/gcc/config/i386/intelmic-mkoffload.c, line 553
- external/gpl3/gcc/dist/gcc/config/nvptx/mkoffload.c, line 402
- external/gpl3/gcc/dist/gcc/gcc.c, line 7322
- external/gpl3/gcc/dist/gcc/lto-wrapper.c, line 1480
- external/gpl3/gcc/dist/gcc/tsystem.h, line 57
- external/gpl3/gcc/dist/libgcc/config/frv/frvbegin.c, line 135
- external/gpl3/gcc/dist/libgcc/config/i386/cygming-crtbegin.c, line 148
- external/gpl3/gcc/dist/libgcc/config/i386/sol2-c1.S, 3 times
- external/gpl3/gcc/dist/libgcc/config/mmix/crti.S, 2 times
- external/gpl3/gcc/dist/libgcc/config/rs6000/atexit.c, line 37
- external/gpl3/gcc/dist/libgcc/config/sol2/crtpg.c, line 44
- external/gpl3/gcc/dist/libgcc/config/sol2/gmon.c, line 339
- external/gpl3/gcc/dist/libgcc/config/sparc/sol2-c1.S, 3 times
- external/gpl3/gcc/dist/libgcc/crtstuff.c, 3 times
- external/gpl3/gcc/dist/libgcc/libgcc2.c, line 2309
- external/gpl3/gcc/dist/libgomp/target.c, line 2583
- external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc, line 717
- external/gpl3/gcc/dist/libsanitizer/asan/asan_rtl.cc, line 563
- external/gpl3/gcc/dist/libsanitizer/asan/asan_win_dynamic_runtime_thunk.cc, line 76
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc, line 144
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_win.cc, line 558
- external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc, 3 times
- external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/stdlib.h, line 39
- external/gpl3/gcc/dist/libstdc++-v3/include/profile/impl/profiler_trace.h, line 641
- external/gpl3/gcc/dist/libstdc++-v3/libsupc++/atexit_thread.cc, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/c++11/condition_variable.cc, line 135
- external/gpl3/gdb/dist/gdb/gdbserver/fork-child.c, line 107
- external/gpl3/gdb/dist/gdb/gdbserver/tracepoint.c, line 7186
- external/gpl3/gdb/dist/gdb/gnulib/import/chdir-long.c, line 222
- external/gpl3/gdb/dist/gdb/maint.c, line 700
- external/gpl3/gdb/dist/gdb/stubs/m32r-stub.c, line 1769
- external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/aarch64-dbreg-contents.c, line 87
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/info-os.c, line 66
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ia64-sigill.c, line 305
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/siginfo-threads.c, line 389
- external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/watchthreads-reorder.c, line 314
- external/gpl3/gdb/dist/gdb/tui/tui-interp.c, line 242
- external/gpl3/gdb/dist/sim/m32c/mem.c, line 435
- external/lgpl3/mpfr/dist/src/mpfr-thread.h, line 237
- lib/csu/common/crt0-common.c, 4 times
- lib/libc/stdlib/jemalloc.c, line 3607
- lib/libutil/pidfile.c, line 183
- libexec/httpd/daemon-bozo.c, line 109
- libexec/ld.elf_so/arch/mips/rtld_start.S, 2 times
- libexec/ld.elf_so/arch/riscv/rtld_start.S, line 47
- libexec/lfs_cleanerd/cleansrv.c, line 205
- sbin/disklabel/main.c, line 831
- sbin/restore/main.c, line 191
- sys/arch/amiga/stand/loadbsd/loadbsd.c, line 188
- sys/arch/usermode/usermode/thunk.c, line 656
- sys/external/bsd/compiler_rt/dist/lib/asan/asan_rtl.cc, line 472
- sys/external/bsd/compiler_rt/dist/lib/asan/asan_win_dynamic_runtime_thunk.cc, line 104
- sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerDriver.cpp, line 665
- sys/external/bsd/compiler_rt/dist/lib/fuzzer/afl/afl_driver.cpp, line 260
- sys/external/bsd/compiler_rt/dist/lib/msan/msan_interceptors.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/msan/msan_linux.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/profile/GCDAProfiling.c, 3 times
- sys/external/bsd/compiler_rt/dist/lib/profile/InstrProfilingFile.c, line 240
- sys/external/bsd/compiler_rt/dist/lib/profile/PGOProfiling.c, line 83
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_fuchsia.cc, line 71
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_posix_libcdep.cc, line 164
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_rtems.cc, line 67
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_win.cc, line 651
- sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interceptors.cc, 3 times
- sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_test_util_posix.cc, line 54
- tests/lib/libc/stdlib/h_atexit.c, 2 times
- tests/lib/libc/stdlib/t_exit.c, line 67
- tests/lib/libpthread/h_atexit.c, 2 times
- usr.bin/bthset/bthset.c, line 595
- usr.bin/cap_mkdb/cap_mkdb.c, line 141
- usr.bin/chpass/chpass.c, line 230
- usr.bin/csplit/csplit.c, line 154
- usr.bin/rfcomm_sppd/rfcomm_sppd.c, line 248
- usr.bin/rpcgen/rpc_main.c, line 191
- usr.bin/rump_dhcpclient/dhcp.c, line 228
- usr.bin/sort/sort.c, line 336
- usr.sbin/apmd/apmd.c, line 174
- usr.sbin/autofs/automountd.c, line 185
- usr.sbin/bta2dpd/bta2dpd/bta2dpd.c, 2 times
- usr.sbin/btpand/tap.c, line 69
- usr.sbin/crash/crash.c, line 462
- usr.sbin/mrouted/main.c, line 239
- usr.sbin/netgroup_mkdb/netgroup_mkdb.c, line 132
- usr.sbin/puffs/rump_smbfs/rump_smbfs.c, line 66
- usr.sbin/services_mkdb/services_mkdb.c, line 130
- usr.sbin/sysinst/main.c, line 292