/src/tests/lib/libc/stdlib/ |
t_atexit.sh | 28 atf_test_case atexit 31 atf_set "descr" "Checks atexit(3) and __cxa_atexit()/__cxa_finalize()" 53 atf_add_test_case atexit
|
h_atexit.c | 168 ASSERT(0 == atexit(normal_handler_0)); 169 ASSERT(0 == atexit(normal_handler_1));
|
t_exit.c | 54 atf_tc_set_md_var(tc, "descr", "A basic test of atexit(3)"); 67 if (atexit(func) != 0) 78 atf_tc_fail("atexit(3) failed"); 81 atf_tc_fail("atexit(3) was not called");
|
/src/tests/lib/libpthread/ |
t_atexit.sh | 28 atf_test_case atexit 31 atf_set "descr" "Checks atexit functionality" 48 atf_add_test_case atexit
|
h_atexit.c | 30 * Program to test atexit(3) and __cxa_atexit()/__cxa_finalize(). 173 ASSERT(0 == atexit(normal_handler_0)); 174 ASSERT(0 == atexit(normal_handler_1));
|
/src/distrib/utils/zcat/ |
misc.c | 24 int atexit(void (*)(void)); 26 int atexit(void (*p)(void)) { function in typeref:typename:int
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_win_dynamic_runtime_thunk.cc | 89 // using atexit() that calls a small subset of C terminators 92 extern "C" int __cdecl atexit(void (__cdecl *f)(void)); 104 return atexit(UnregisterGlobals); 108 // We need to call 'atexit(UnregisterGlobals);' as early as possible, but after 109 // atexit() is initialized (.CRT$XIC). As this is executed before C++
|
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/scripts/ |
collect_data_flow.py | 21 import atexit 58 atexit.register(cleanup, tmpdir)
|
/src/sys/external/bsd/compiler_rt/dist/lib/profile/ |
PGOProfiling.c | 83 atexit(llvm_pgo_writeout_files);
|
GCDAProfiling.c | 582 atexit(llvm_delete_flush_function_list); 583 atexit(llvm_delete_writeout_function_list); 584 atexit(llvm_writeout_files);
|
InstrProfilingFile.c | 240 return atexit(writeFileWithoutReturn);
|
/src/lib/csu/common/ |
crt0-common.c | 360 atexit(cleanup); 363 atexit(_mcleanup); 367 atexit(_finiarray); 371 atexit(_fini);
|
/src/lib/libutil/ |
pidfile.c | 103 /* atexit shim for pidfile_clean */ 181 /* Register for cleanup with atexit. */ 183 if (atexit(pidfile_cleanup) == -1)
|
/src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
msan_linux.cc | 163 if (flags()->print_stats && (flags()->atexit || msan_report_count > 0)) 173 atexit(MsanAtExit);
|
/src/libexec/ld.elf_so/arch/mips/ |
rtld_start.S | 46 # -> 1*PTR_SIZE(sp) for atexit 66 PTR_L a1, 2*PTR_SIZE(sp) # our atexit function
|
/src/lib/libc/stdlib/ |
Makefile.inc | 8 a64l.c abort.c atexit.c atof.c atoi.c atol.c atoll.c \ 46 MAN+= a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 atoll.3 \
|
atexit.c | 1 /* $NetBSD: atexit.c,v 1.34 2025/10/14 20:29:08 christos Exp $ */ 34 __RCSID("$NetBSD: atexit.c,v 1.34 2025/10/14 20:29:08 christos Exp $"); 42 #include "atexit.h" 70 * Stack of atexit handlers. Handlers must be called in the opposite 83 * Allocate an atexit handler descriptor. If "dso" is NULL, it indicates 84 * a normal atexit handler, which must be allocated from the static pool, 132 * Register an atexit routine. This is suitable either for a cxa_atexit 133 * or normal atexit type handler. The __cxa_atexit() name and arguments 183 * Run the list of atexit handlers. If dso is NULL, run all of them, 187 * atexit handler, and rtld cleanup invokes _fini() for DSOs, whic 262 atexit(void (*func)(void)) function in typeref:typename:int [all...] |
/src/libexec/lfs_cleanerd/ |
cleansrv.c | 205 atexit(cleanup_socket);
|
/src/usr.bin/chpass/ |
chpass.c | 230 if (atexit(cleanup)) {
|
/src/usr.sbin/btpand/ |
tap.c | 69 atexit(tap_exit);
|
/src/libexec/ld.elf_so/arch/riscv/ |
rtld_start.S | 50 # -> 2 * PTR_SIZE(sp) for atexit
|
/src/libexec/httpd/ |
daemon-bozo.c | 81 * any atexit(3) handlers are properly executed. */ 109 if (atexit(remove_pidfile) == -1)
|
/src/sbin/restore/ |
main.c | 194 atexit(cleanup);
|
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/afl/ |
afl_driver.cpp | 260 atexit(write_extra_stats);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_rtems.cc | 67 int Atexit(void (*function)(void)) { return atexit(function); }
|