dev/c/ParallelsTest/6.c

11 lines
158 B
C
Raw Normal View History

#include <stdio.h>
#include <unistd.h>
int main(int argc, char * argv[]) {
int i;
for(i=0; i<10; i++) {
fork();
printf("Hello, world!\n");
}
}