17 lines
399 B
C
17 lines
399 B
C
|
/*************************************************************************
|
||
|
> File Name : fork_num.c
|
||
|
> Author : TL Song
|
||
|
> EMail : songtianlun@frytea.com
|
||
|
> Created Time : Wed 23 Dec 2020 03:52:27 PM CST
|
||
|
************************************************************************/
|
||
|
|
||
|
#include <stdio.h>
|
||
|
int main()
|
||
|
{
|
||
|
fork();
|
||
|
fork() && fork() || fork();
|
||
|
fork();
|
||
|
while(1);
|
||
|
return 0;
|
||
|
}
|