#include <stdint.h>
#include <stdlib.h>
#include <syscall.h>
Go to the source code of this file.
|
int | atexit (void(*function)(void)) |
|
void | exit (int status) |
|
◆ atexit()
int atexit |
( |
void(*)(void) |
function | ) |
|
Definition at line 17 of file exit.c.
18{
21
24
27 } else {
28
29 return -1;
30 }
31
32 return 0;
33}
static uint64_t _atexit_count
static struct atexit_cb _atexits[32]
static struct atexit_cb * _atexit_last
◆ exit()
Definition at line 36 of file exit.c.
37{
41 }
42
44
45 __builtin_unreachable();
46}
◆ _atexit_count
◆ _atexit_last
◆ _atexits