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

13 lines
96 B
C

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