diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-04-18 16:13:38 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-04-18 16:13:38 -0600 |
commit | 032e040edbb467aa1137f8f7b3b9442579589ae1 (patch) | |
tree | 857d4f178c22fc5eeeca55b0a0d7cda6df1f8a3e /nuttx/include/stdlib.h | |
parent | b5f93d94197a1cd6a57be8ebfac1222dd1b50679 (diff) | |
download | px4-nuttx-032e040edbb467aa1137f8f7b3b9442579589ae1.tar.gz px4-nuttx-032e040edbb467aa1137f8f7b3b9442579589ae1.tar.bz2 px4-nuttx-032e040edbb467aa1137f8f7b3b9442579589ae1.zip |
_Exit() is the stdlib.h equivalent of unistd.h's _exit()
Diffstat (limited to 'nuttx/include/stdlib.h')
-rw-r--r-- | nuttx/include/stdlib.h | 5 |
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); |