2023年1月16日

摘要: linux子进程的管理需要fork()与exec()连用,下面的例子app1是主进程,app2是子进程 app1.c #include <stdio.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> int mai 阅读全文
posted @ 2023-01-16 22:34 Netsharp 阅读(63) 评论(0) 推荐(0) 编辑

导航