mirror of
https://github.com/geohot/qira
synced 2025-02-21 00:44:42 +03:00
15 lines
219 B
C
15 lines
219 B
C
#include <stdio.h>
|
|
|
|
int main() {
|
|
printf("FORK TEST\n");
|
|
fflush(stdout);
|
|
fork();
|
|
printf("hi %d\n", getpid());
|
|
/*if (fork() == 0) {
|
|
printf("hello child\n");
|
|
} else {
|
|
printf("world parent\n");
|
|
}*/
|
|
}
|
|
|