Program Termination - abort(), exit(), atexit(); stdlib.c
Because programs in embedded systems usually are not expected to terminate, we only provide a minimum implementation of the first two functions, while
atexit() is not implemented at all. Both
abort() and
exit() perform a
HALT.