diff options
Diffstat (limited to 'usr/klibc/atexit.h')
-rw-r--r-- | usr/klibc/atexit.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/usr/klibc/atexit.h b/usr/klibc/atexit.h new file mode 100644 index 0000000..5018689 --- /dev/null +++ b/usr/klibc/atexit.h @@ -0,0 +1,18 @@ +/* + * atexit.h + * + * atexit()/on_exit() internal definitions + */ + +#ifndef ATEXIT_H +#define ATEXIT_H + +struct atexit { + void (*fctn) (int, void *); + void *arg; /* on_exit() parameter */ + struct atexit *next; +}; + +extern struct atexit *__atexit_list; + +#endif /* ATEXIT_H */ |