summaryrefslogblamecommitdiff
path: root/src/exit/_Exit.c
blob: c00a2ffbc798b2a5243c017d9b5292fb2afcc2bb (plain) (tree)
1
2
3
4
5
6
7
8
                   

                    
                            
 

                                      
 
#include <stdlib.h>
#include "syscall.h"

_Noreturn void _Exit(int ec)
{
	__syscall(SYS_exit_group, ec);
	__syscall(SYS_exit, ec);
}