Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
at_exit.c
Go to the documentation of this file.
1
#include <
stdlib.h
>
2
3
__attribute__
((weak))
int
atexit
(
void
(*
function
)(
void
))
4
{
5
(void)
function
;
6
// EA libc does not exit on bare metal systems
7
return
0;
8
}
__attribute__
__attribute__((weak))
Definition:
at_exit.c:3
atexit
int atexit(void(*)(void))
stdlib.h
src
crt
at_exit.c
Generated by
1.8.15