summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/include/stdlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/include/stdlib.h b/nuttx/include/stdlib.h
index 4cf0990ea..08d35e1c6 100644
--- a/nuttx/include/stdlib.h
+++ b/nuttx/include/stdlib.h
@@ -140,6 +140,11 @@ int atexit(CODE void (*func)(void));
int on_exit(CODE void (*func)(int, FAR void *), FAR void *arg);
#endif
+/* _Exit() is a stdlib.h equivalent to the unistd.h _exit() function */
+
+void _exit(int status); /* See unistd.h */
+#define _Exit(s) _exit(s)
+
/* String to binary conversions */
long strtol(const char *, char **, int);