Searched refs:atexit (Results 1 - 25 of 151) sorted by relevance

1234567

/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Datexit.c1 /* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */
6 @deftypefn Supplemental int atexit (void (*@var{f})())
19 atexit(void (*f)(void)) function
21 /* If the system doesn't provide a definition for atexit, use on_exit
/freebsd-11-stable/contrib/binutils/libiberty/
H A Datexit.c1 /* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */
6 @deftypefn Supplemental int atexit (void (*@var{f})())
19 atexit(void (*f)(void)) function
21 /* If the system doesn't provide a definition for atexit, use on_exit
/freebsd-11-stable/tools/regression/pthread/unwind/
H A Dmain_thread_exit.cpp15 atexit(check_destruct);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_atexit.sh28 atf_test_case atexit
31 atf_set "descr" "Checks atexit(3) and __cxa_atexit()/__cxa_finalize()"
53 atf_add_test_case atexit
H A Dh_atexit.c48 * atexit and __cxa_atexit handlers that are either installed by unloaded
192 ASSERT(0 == atexit(normal_handler_0));
193 ASSERT(0 == atexit(normal_handler_1));
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_atexit.sh28 atf_test_case atexit
31 atf_set "descr" "Checks atexit functionality"
48 atf_add_test_case atexit
H A Dh_atexit.c30 * Program to test atexit(3) and __cxa_atexit()/__cxa_finalize().
184 ASSERT(0 == atexit(normal_handler_0));
185 ASSERT(0 == atexit(normal_handler_1));
/freebsd-11-stable/lib/csu/aarch64/
H A Dcrt1.c73 atexit(cleanup);
78 atexit(_mcleanup);
/freebsd-11-stable/lib/csu/amd64/
H A Dcrt1.c61 atexit(cleanup);
66 atexit(_mcleanup);
/freebsd-11-stable/lib/csu/i386/
H A Dcrt1_c.c60 atexit(cleanup);
65 atexit(_mcleanup);
/freebsd-11-stable/lib/csu/riscv/
H A Dcrt1.c77 atexit(cleanup);
82 atexit(_mcleanup);
/freebsd-11-stable/lib/libc/stdlib/
H A Datexit.c34 static char sccsid[] = "@(#)atexit.c 8.2 (Berkeley) 7/3/94";
37 __FBSDID("$FreeBSD: stable/11/lib/libc/stdlib/atexit.c 346538 2019-04-22 10:02:34Z kib $");
46 #include "atexit.h"
68 struct atexit { struct
69 struct atexit *next; /* next in list */
82 static struct atexit *__atexit; /* points to head of LIFO stack */
91 * for atexit and __cxa_atexit.
96 static struct atexit __atexit0; /* one guaranteed table */
97 struct atexit *p;
103 struct atexit *old__atexi
130 atexit(void (*func)(void)) function
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dtsystem.h60 #ifndef atexit
61 extern int atexit (void (*)(void));
/freebsd-11-stable/lib/csu/mips/
H A Dcrt1.c73 atexit(cleanup);
78 atexit(_mcleanup);
/freebsd-11-stable/lib/csu/powerpc/
H A Dcrt1.c85 atexit(cleanup);
90 atexit(_mcleanup);
/freebsd-11-stable/lib/csu/powerpc64/
H A Dcrt1.c84 atexit(cleanup);
89 atexit(_mcleanup);
/freebsd-11-stable/lib/csu/sparc64/
H A Dcrt1.c85 atexit(cleanup);
91 atexit(_mcleanup);
/freebsd-11-stable/contrib/ntp/sntp/
H A Dlog.c31 atexit(cleanup_log);
34 //not sure about this. Are the atexit() functions called by FIFO or LIFO order? The end result is PROBABLY the same
/freebsd-11-stable/contrib/unbound/compat/
H A Dctime_r.c31 atexit(&ctime_r_cleanup);
/freebsd-11-stable/lib/csu/arm/
H A Dcrt1.c103 atexit(cleanup);
107 atexit(_mcleanup);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_win_dynamic_runtime_thunk.cpp88 // using atexit() that calls a small subset of C terminators
91 extern "C" int __cdecl atexit(void (__cdecl *f)(void));
103 return atexit(UnregisterGlobals);
107 // We need to call 'atexit(UnregisterGlobals);' as early as possible, but after
108 // atexit() is initialized (.CRT$XIC). As this is executed before C++
/freebsd-11-stable/contrib/apr-util/test/
H A Dtestutil.c56 atexit(apr_terminate);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dwrite_pid.c85 atexit(pidfile_cleanup);
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_cstdlib.h65 extern "C" int atexit(void (*)());
77 #undef atexit
111 using ::atexit;
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dstdlib.h40 using std::atexit;

Completed in 282 milliseconds

1234567