fork()系统调用的理解
摘要:系统调用fork()用于创建一个新进程。我们可以通过下面的代码来理解,最好是能自己敲一遍运行验证。 #include<stdio.h> #include<stdlib.h> #include<unistd.h> int main(int args, char *argv[]){ printf(
阅读全文
posted @ 2020-03-13 19:40
posted @ 2020-03-13 19:40
posted @ 2020-03-12 11:49
posted @ 2020-03-10 15:21
posted @ 2020-03-08 13:43