Home
last modified time | relevance | path

Searched refs:_atexit (Results 1 – 4 of 4) sorted by relevance

/picolibc-latest/newlib/libc/stdlib/
D__atexit.c52 NEWLIB_THREAD_LOCAL_ATEXIT struct _atexit _atexit0;
53 NEWLIB_THREAD_LOCAL_ATEXIT struct _atexit *_atexit; variable
66 register struct _atexit *p; in __register_exitproc()
70 p = _atexit; in __register_exitproc()
73 _atexit = p = &_atexit0; in __register_exitproc()
81 p = (struct _atexit *) malloc (sizeof *p); in __register_exitproc()
88 p->_next = _atexit; in __register_exitproc()
89 _atexit = p; in __register_exitproc()
Datexit.h36 struct _atexit { struct
37 struct _atexit *_next; /* next in list */ argument
44 extern NEWLIB_THREAD_LOCAL_ATEXIT struct _atexit _atexit0; argument
45 extern NEWLIB_THREAD_LOCAL_ATEXIT struct _atexit *_atexit;
D__call_atexit.c98 register struct _atexit *p; in __call_exitprocs()
99 struct _atexit **lastp; in __call_exitprocs()
110 p = _atexit; in __call_exitprocs()
111 lastp = &_atexit; in __call_exitprocs()
/picolibc-latest/newlib/
DChangeLog-20152618 _on_exit_args_ptr when creating a new _atexit structure while
7050 statements in _REENT_SMALL case. Check if _atexit is not NULL before
7052 (_wrapup_reent): Check if _atexit is not NULL before dereferencing it.
13460 (struct _atexit): Add _next when _REENT_SMALL.
14836 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
15157 (struct _atexit): Include struct _on_exit_args. For
18196 * libc/include/sys/reent.h (struct _atexit): Add argument array
19119 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
22130 * libc/include/sys/reent.h: struct _atexit function ptr takes a
26719 * libc/stdlib/exit.c: use struct _atexit in struct _reent.