摘要: 同一接口不同的数据源: 协同进程: fdopen以文件描述符为参数: fopen和popen: 为了实现popen,必须在子进程中调用sh,因为只有shell本身即/bin/sh可以运行任意shell命令: popen的实现: 访问数据: 系统调用socket创建一个socket: htons(16 阅读全文
posted @ 2016-09-08 18:17 IT由零开始 阅读(492) 评论(0) 推荐(0) 编辑