摘要: 1.fork出子进程,然后父进程退出2.更改会话3.更改工作目录4.更改umask5.关闭文件描述符下面我用一个简单的例子来说明。init.c 1 #include <unistd.h> 2 #include <signal.h> 3 #include <sys/param.h> 4 #include <sys/types.h> 5 #include <sys/stat.h> 6 7 void init_daemon(void){ 8 int pid; 9 int i;10 if(pid = fork()){11 exit(0);12 阅读全文
posted @ 2013-04-19 10:16 专属9号 阅读(361) 评论(0) 推荐(0) 编辑
摘要: libwebrtc 阅读全文
posted @ 2023-12-06 13:29 专属9号 阅读(8) 评论(0) 推荐(0) 编辑
摘要: C++ Variables, Types and Operators | A Quick Practical Guide (studyplan.dev) 阅读全文
posted @ 2023-11-29 17:11 专属9号 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Introduction | WebRTC for the Curious proceeding Connecting | WebRTC for the Curious 阅读全文
posted @ 2023-11-29 16:22 专属9号 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 系统版本:22621.2715 做完PBR Reset之后,进入系统,Check SystemSettingsBroker.exe并没有存在,点击网络图标(TaskBar)后,SystemSettingsBroker.exe进程被拉起了。 然后重启系统。 重启系统之后,放置一段时间,系统进入熄屏状态 阅读全文
posted @ 2023-11-28 23:42 专属9号 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 晚上在调查一个问题,需要做Windows PBR Reset,Windows的版本号是22621.2751 在启动PBR Reset时,一直停留在62%的进度条上(图片忘记保存了) 我想通过重启系统来解决,可是重启过程也被卡住了。 于是,我尝试着做Windows Update,将系统更新到最新的状态 阅读全文
posted @ 2023-11-28 22:47 专属9号 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-03-21 20:19 专属9号 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 早上来公司准备跑一下Nunit的单元测试,却给我报了下面这个错误。 1) Error : System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host --Sock 阅读全文
posted @ 2020-04-20 09:35 专属9号 阅读(676) 评论(0) 推荐(0) 编辑
摘要: Shift+F3 英文改大小写 Ctrl+[ 缩小字号 Ctrl+} 扩大字号 Ctrl+R 右对齐 Ctrl+L 左对齐 Ctrl+E 居中对齐 Ctrl+1 单倍行间距 Ctrl+2 双倍行间距 Ctrl+5 1.5倍行间距 阅读全文
posted @ 2019-11-14 14:29 专属9号 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 有时候我们在使用Windows的时候会碰到很长的路径,比如超过了256字符长度的路径。 如果我们只是通过鼠标右键删除,或者通过Shift+Delete组合键,都是会提示路径过长,而文件无法删除。 今天发现了一个简单有效的方法即可解决。 我们使用robocopy这个命令,并且加上/purge这个参数 阅读全文
posted @ 2019-09-29 10:10 专属9号 阅读(567) 评论(0) 推荐(0) 编辑
摘要: 平时开发Driver,我们需要打开test Sign,这样才能顺利的安装上Driver。 下面的命令可以打开 阅读全文
posted @ 2019-08-09 10:21 专属9号 阅读(194) 评论(0) 推荐(0) 编辑