From 19f3a89e31a195a6facdf39d415d18f2e5927352 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sat, 16 Jan 2021 21:30:06 +0000 Subject: [PATCH] Added atexit() to stdlib.g --- photon/libc/include/stdlib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/photon/libc/include/stdlib.h b/photon/libc/include/stdlib.h index 1c161bc..c1a7d92 100644 --- a/photon/libc/include/stdlib.h +++ b/photon/libc/include/stdlib.h @@ -25,6 +25,7 @@ extern float strtof(const char *str, char **endptr); extern double strtod(const char *str, char **endptr); extern char *getenv(const char *name); +extern int atexit(void(*fn)(void)); #if defined(__cplusplus) } /* extern "C" */