xv6-cs450/user1.c
2006-06-22 20:47:23 +00:00

14 lines
96 B
C

void
fork()
{
asm("mov $1, %eax");
asm("int $48");
}
main()
{
fork();
while(1)
;
}