This commit is contained in:
2023-03-22 16:03:42 +01:00
parent 70b475b290
commit 962ee7180e
6 changed files with 68 additions and 3 deletions

View File

@@ -5,8 +5,7 @@
int main()
{
pid_t fpid;
pid_t fpid; // fpid表示fork函数返回的值
fpid = fork();
// create child process
if (fpid == -1)