ISO C and POSIX mandate _Exit() in stdlib.h to be the same as _exit().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39665 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2010-11-28 05:07:53 +00:00
parent 3096fb8154
commit 917c4aeb8d
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -56,6 +56,7 @@ extern void abort(void);
extern int atexit(void (*func)(void));
extern int atfork(void (*func)(void));
extern void exit(int);
extern void _Exit(int);
/* misc functions */
extern char *realpath(const char *path, char *resolved);
+7
View File
@@ -4,6 +4,7 @@
*/
#include <stdlib.h>
#include <unistd.h>
#include <syscalls.h>
@@ -20,3 +21,9 @@ _exit(int status)
_kern_exit_team(status);
}
void
_Exit(int status)
{
_exit(status);
}