summaryrefslogtreecommitdiff
path: root/userspace/sys/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/sys/syscalls.c')
-rw-r--r--userspace/sys/syscalls.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/userspace/sys/syscalls.c b/userspace/sys/syscalls.c
index 9456ea4..fe34f47 100644
--- a/userspace/sys/syscalls.c
+++ b/userspace/sys/syscalls.c
@@ -2,6 +2,11 @@
char **environ;
+void _exit(int ret)
+{
+ _exit2(ret,environ);
+}
+
void _exit2(int ret,char **environ)
{
return syscall(SYSCALL_EXIT,ret,environ,0);