Removed the old pfault, fork() uses VMRs
[akaros.git] / tests / fork.c
1 #include <stdlib.h>
2 #include <rstdio.h>
3 #include <unistd.h>
4
5 int main(int argc, char** argv)
6 {
7         pid_t pid = 0;
8         pid = fork();
9         if (pid)
10                 printf("Hello world from parent!!\n");
11         else 
12                 printf("Hello world from child!!\n");
13         return 0;
14 }