Home
last modified time | relevance | path

Searched refs:on_exit (Results 1 – 12 of 12) sorted by relevance

/picolibc-latest/newlib/libc/stdlib/
Dpico-onexit.c44 struct on_exit { struct
50 static struct on_exit on_exits[ATEXIT_MAX]; argument
72 on_exit (void (*func)(int, void *),void *arg) in on_exit() function
74 union on_exit_func func_u = { .on_exit = func }; in on_exit()
94 memset(&on_exits[i], '\0', sizeof(struct on_exit)); in __call_exitprocs()
103 func.on_exit(code, arg); in __call_exitprocs()
Don_exit.c61 on_exit (void (*fn) (int, void *), in on_exit() function
Dpico-onexit.h42 void (*on_exit)(int, void *); member
Dstdlib.tex42 * Function on_exit:: Request execution of functions at program exit
153 @include stdlib/on_exit.def
Dmeson.build81 'on_exit.c',
/picolibc-latest/test/
Don_exit.c60 on_exit(fail, NULL); in main()
61 on_exit(success, NULL); in main()
DCMakeLists.txt50 on_exit
Dmeson.build38 'ffs', 'setjmp', 'atexit', 'on_exit',
586 'ffs', 'setjmp', 'atexit', 'on_exit',
/picolibc-latest/newlib/testsuite/newlib.stdlib/
Datexit.c47 if (on_exit(c,(void *)"c") != 0) in main()
/picolibc-latest/newlib/libc/include/
Dstdlib.h350 int on_exit (void (*__func)(int, void *),void *__arg);
/picolibc-latest/newlib/
DChangeLog-201513 * libc/stdlib/on_exit.c: Force linking of static instance of
5498 * libc/stdlib/on_exit.c: Ditto.
13474 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
14858 * libc/stdlib/on_exit.c: Ditto.
15084 to handle latest on_exit change.
15156 structure containing fields used by the on_exit() function.
15164 * libc/stdlib/on_exit.c (on_exit): Indirect via the
18195 * libc/include/stdlib.h: Add on_exit prototype.
18197 and bits to track type of exit routine to support both on_exit
18202 * libc/stdlib/on_exit.c: New file.
[all …]
/picolibc-latest/
DCOPYING.picolibc1227 test/on_exit.c
3290 newlib/libc/stdlib/on_exit.c