aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/actions/sys_exit.c
blob: eb019ab6421b6fef725e763c4103d5434a7fe435 (plain) (blame)
1
2
3
4
5
6
7
8
#include <stdint.h>
#include <tasks/process.h>

u32 sys_exit(u32 code)
{
	process_suspend(current_proc->pid);
	return code;
}