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

/freebsd-head/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-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/gcc/config/
H A Ddarwin-crt3.c48 before 10.4. It fixes this by providing a complete atexit and
49 __cxa_atexit emulation called from the regular atexit.
53 that were registered while other atexit routines are running. This
54 is worked around by wrapping each atexit/__cxa_atexit routine with
60 atexit calls properly interleaved with code compiled with newer
61 compilers. Also, atexit routines registered from shared objects
115 /* The various possibilities for status of atexit(). */
126 If the version is higher than 0, this code may add new atexit routines
129 /* 1 if an atexit routine is currently being run by this code, 0
134 /* The list of atexit an
529 atexit (atexit_callback func) function
[all...]
/freebsd-head/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDeclCXX.cpp114 // generated elsewhere which uses atexit instead, and it takes the destructor
229 /// Create a stub function, suitable for being passed to atexit,
263 /// Register a global destructor using the C atexit runtime function.
273 // extern "C" int atexit(void (*f)(void));
277 llvm::FunctionCallee atexit = local
278 CGM.CreateRuntimeFunction(atexitTy, "atexit", llvm::AttributeList(),
280 if (llvm::Function *atexitFn = dyn_cast<llvm::Function>(atexit.getCallee()))
283 EmitNounwindRuntimeCall(atexit, dtorStub);
H A DItaniumCXXABI.cpp2304 // Create a variable that binds the atexit to this shared object.
2316 llvm::FunctionCallee atexit = CGF.CGM.CreateRuntimeFunction(atexitTy, Name); local
2317 if (llvm::Function *fn = dyn_cast<llvm::Function>(atexit.getCallee()))
2331 CGF.EmitNounwindRuntimeCall(atexit, args);
2366 // 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 345 milliseconds