Skip to content

Commit 371d141

Browse files
committed
provide implementation of _exit (esp8266#3698)
1 parent 10edfc2 commit 371d141

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cores/esp8266/libc_replacements.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ int ICACHE_RAM_ATTR putchar(int c) {
117117
return c;
118118
}
119119

120+
void _exit(int status) {
121+
(void) status;
122+
abort();
123+
}
124+
120125
#if 0
121126

122127
int ICACHE_RAM_ATTR printf(const char* format, ...) {

0 commit comments

Comments
 (0)