8 static void (*funcs[COUNT])(void);
10 static volatile int lock[1];
11 volatile int *const __at_quick_exit_lockptr = lock;
13 void __funcs_on_quick_exit()
18 func = funcs[--count];
25 int at_quick_exit(void (*func)(void))
29 if (count == 32) r = -1;
30 else funcs[count++] = func;