/*
 * sprinter_exit.h — exit() / _exit() / atexit() declarations.
 *
 * SDCC's z80 <stdlib.h> doesn't ship these.  Include this header
 * (in addition to <stdlib.h>) to get them.  Link with libc/io/atexit.c.
 */

#ifndef SPRINTER_EXIT_H
#define SPRINTER_EXIT_H

int  atexit(void (*fn)(void));
void exit  (int code);
void _exit (int code);

#endif
