summaryrefslogtreecommitdiff
path: root/user1.c
blob: 4fe572e7caa1f9c237c15544c97bbc451efd5f34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
void
fork()
{
  asm("mov $1, %eax");
  asm("int $48");
}

main()
{
  fork();
  while(1)
    ;
}