Searched defs:atexit (Results 1 - 8 of 8) sorted by relevance

/freebsd-head/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-head/tools/tools/makeroot/
H A Dmakeroot.sh58 atexit() function
125 trap atexit EXIT
/freebsd-head/contrib/opie/
H A Dconfigure3027 echo $ac_n "checking for atexit""... $ac_c" 1>&6
3028 echo "configure:3029: checking for atexit" >&5
3036 which can conflict with char atexit(); below. */
3041 char atexit();
3051 atexit(); function
3068 if eval "test \"`echo '$ac_cv_func_'atexit`\" = yes"; then
3076 MISSING="${MISSING}atexit.o "; for ac_func in on_exit
/freebsd-head/contrib/googletest/googletest/test/
H A Dgtest_test_utils.py40 import atexit namespace
140 atexit.register(_RemoveTempDir)
/freebsd-head/lib/libc/stdlib/
H A Datexit.c36 static char sccsid[] = "@(#)atexit.c 8.2 (Berkeley) 7/3/94";
48 #include "atexit.h"
70 struct atexit { struct
71 struct atexit *next; /* next in list */
84 static struct atexit *__atexit; /* points to head of LIFO stack */
93 * for atexit and __cxa_atexit.
98 static struct atexit __atexit0; /* one guaranteed table */
99 struct atexit *p;
105 struct atexit *old__atexit;
108 if ((p = (struct atexit *)mallo
132 atexit(void (*func)(void)) function
[all...]
/freebsd-head/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp113 // generated elsewhere which uses atexit instead, and it takes the destructor
228 /// Create a stub function, suitable for being passed to atexit,
262 /// Register a global destructor using the C atexit runtime function.
272 // extern "C" int atexit(void (*f)(void));
276 llvm::FunctionCallee atexit = local
277 CGM.CreateRuntimeFunction(atexitTy, "atexit", llvm::AttributeList(),
279 if (llvm::Function *atexitFn = dyn_cast<llvm::Function>(atexit.getCallee()))
282 EmitNounwindRuntimeCall(atexit, dtorStub);
H A DItaniumCXXABI.cpp2395 // Create a variable that binds the atexit to this shared object.
2407 llvm::FunctionCallee atexit = CGF.CGM.CreateRuntimeFunction(atexitTy, Name); local
2408 if (llvm::Function *fn = dyn_cast<llvm::Function>(atexit.getCallee()))
2422 CGF.EmitNounwindRuntimeCall(atexit, args);
2457 // available. Otherwise fall back on calling atexit.
/freebsd-head/contrib/sendmail/include/sm/
H A Dconf.h495 # define atexit(f) on_exit((f), 0) /* ugly hack for SunOS */ macro

Completed in 125 milliseconds