- 博客(1)
- 收藏
- 关注
原创 Linux进程与守护进程的编写试验
(1) 编写一个程序创建一个子进程,父进程随后挂起,子进程循环打印自己的进程号和父进程号,并对比ps查询到的进程号。 #include <stdio.h> #include <sys/types.h> #include <unistd.h> int main(int argc, char argv[]) { pid_t pid; int a=1; int i; ...
2020-04-20 20:21:02
519
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人