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

u32 sys_get_pid()
{
	return current_proc->pid;
}