From 7be1a9622af313dc75a1e385c7e645c36270a972 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 18 Apr 2013 16:13:38 -0600 Subject: [PATCH] _Exit() is the stdlib.h equivalent of unistd.h's _exit() --- include/stdlib.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/stdlib.h b/include/stdlib.h index 4cf0990ea8..08d35e1c64 100644 --- a/include/stdlib.h +++ b/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);