summaryrefslogtreecommitdiff
path: root/src/init/main.c
blob: 561598000ce7e6bfb9a4ac869e2440f7c8ab3c21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <kernel/syscalls.h>

int main() {
	_syscall_debuglog("hello from init! ",
	           sizeof("hello from init! ") - 1);

	_syscall_fork();

	_syscall_debuglog("i got forked. ",
	           sizeof("i got forked. ") - 1);

	_syscall_exit("bye from init! ",
	       sizeof("bye from init! ") - 1);
}