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

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