From 032e040edbb467aa1137f8f7b3b9442579589ae1 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 18 Apr 2013 16:13:38 -0600 Subject: _Exit() is the stdlib.h equivalent of unistd.h's _exit() --- nuttx/include/stdlib.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nuttx/include/stdlib.h') 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); -- cgit v1.2.3