Home
last modified time | relevance | path

Searched refs:atexit (Results 1 – 25 of 174) sorted by relevance

1234567

/freebsd/lib/libc/stdlib/
H A Datexit.c67 struct atexit { struct
68 struct atexit *next; /* next in list */ argument
81 static struct atexit *__atexit; /* points to head of LIFO stack */ argument
95 static struct atexit __atexit0; /* one guaranteed table */ in atexit_register()
96 struct atexit *p; in atexit_register()
102 struct atexit *old__atexit; in atexit_register()
105 if ((p = (struct atexit *)malloc(sizeof(*p))) == NULL) in atexit_register()
132 atexit(void (*func)(void)) in atexit() function
145 __weak_reference(atexit, __libc_atexit);
205 struct atexit *p; in __cxa_finalize()
H A DMakefile.inc9 atexit.c \
91 MAN+= a64l.3 abort.3 abs.3 atexit.3 atof.3 \
/freebsd/lib/libc/csu/
H A Dlibc_start1.c107 atexit(finalizer); in handle_static_init()
166 atexit(cleanup); in __libc_start1()
195 atexit(cleanup); in __libc_start1_gcrt()
201 atexit(_mcleanup); in __libc_start1_gcrt()
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_atexit.sh28 atf_test_case atexit
48 atf_add_test_case atexit
H A Dh_atexit.c184 ASSERT(0 == atexit(normal_handler_0)); in main()
185 ASSERT(0 == atexit(normal_handler_1)); in main()
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_atexit.sh28 atf_test_case atexit
53 atf_add_test_case atexit
H A Dh_atexit.c192 ASSERT(0 == atexit(normal_handler_0)); in main()
193 ASSERT(0 == atexit(normal_handler_1)); in main()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_win_dynamic_runtime_thunk.cpp32 extern "C" int __cdecl atexit(void(__cdecl *f)(void));
43 int ScheduleUnregisterGlobals() { return atexit(UnregisterGlobals); } in ScheduleUnregisterGlobals()
/freebsd/lib/libc/tests/stdlib/
H A Dlibc_exit_test.c96 atexit(myatexit1); in ATF_TC_BODY()
133 atexit(myatexit2); in ATF_TC_BODY()
H A Dcxa_thread_atexit_nothr_test.cc77 atexit(check_local_main); in ATF_TEST_CASE_BODY()
/freebsd/contrib/libpcap/testprogs/
H A Dvisopts.py301 import atexit
304 atexit.register(shutil.rmtree, os.getcwd())
/freebsd/crypto/openssl/
H A DNOTES-NONSTOP.md66 relating to `atexit()` processing when a shared library is unloaded and when
70 A control has been added as of 3.3.x to disable calls to `atexit()` within the
72 controlled using `disable-atexit` or `enable-atexit`, and is disabled by default
73 for NonStop builds. If you need to have `atexit()` functionality, set
74 `enabled-atexit` when configuring OpenSSL to enable the `atexit()` call to
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_test_utils.py42 import atexit
134 atexit.register(_RemoveTempDir)
/freebsd/tools/regression/pthread/unwind/
H A Dmain_thread_exit.cpp14 atexit(check_destruct); in main()
/freebsd/tools/tools/makeroot/
H A Dmakeroot.sh57 atexit() function
124 trap atexit EXIT
/freebsd/contrib/ntp/sntp/
H A Dlog.c31 atexit(cleanup_log); in open_logfile()
/freebsd/contrib/unbound/compat/
H A Dctime_r.c31 atexit(&ctime_r_cleanup); in ctime_r()
/freebsd/contrib/llvm-project/clang/lib/Headers/llvm_libc_wrappers/
H A Dstdlib.h38 #define at_quick_exit atexit
/freebsd/crypto/krb5/src/lib/krad/
H A Dt_daemon.h81 atexit(daemon_stop); in daemon_start()
/freebsd/kerberos5/lib/libroken/
H A Dfbsd_ossl_provider_load.c65 if (atexit(fbsd_ossl_provider_unload)) { in fbsd_ossl_provider_load()
/freebsd/crypto/heimdal/lib/roken/
H A Dwrite_pid.c85 atexit(pidfile_cleanup); in pidfile()
/freebsd/contrib/pf/pflogd/
H A Dpidfile.c96 if (atexit(pidfile_cleanup) < 0) { in pidfile()
/freebsd/contrib/blocklist/port/
H A Dpidfile.c80 if (atexit(pidfile_cleanup) < 0) in register_atexit_handler()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_linux.cpp205 if (flags()->print_stats && (flags()->atexit || msan_report_count > 0)) in MsanAtExit()
215 atexit(MsanAtExit); in InstallAtExitHandler()
/freebsd/tools/regression/sockets/reconnect/
H A Dreconnect.c109 atexit(cleanup); in main()

1234567