xv6/user1.c

14 lines
96 B
C
Raw Normal View History

2006-06-22 20:47:23 +00:00
void
fork()
{
asm("mov $1, %eax");
asm("int $48");
}
main()
{
fork();
while(1)
;
}