01 2021 档案

第四章:基于TCP套接字编程(三)
摘要:fork and exec and wait 1.fork and wait函数 1 #include <sys/types.h> 2 #include <sys/wait.h> 3 #include <stdlib.h> 4 #include <unistd.h> 5 #include <stdi 阅读全文

posted @ 2021-01-26 20:31 陶大先生 阅读(75) 评论(0) 推荐(0) 编辑

第四章:基于TCP套接字编程(二)
摘要:fork函数 1.fork的简单例子 1 #include <stdio.h> 2 #include <unistd.h> 3 #include <sys/wait.h> 4 5 int main() { 6 printf("hello world\n"); 7 int rc = fork(); 8 阅读全文

posted @ 2021-01-26 20:12 陶大先生 阅读(63) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示