会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
fiab13
博客园
首页
新随笔
联系
订阅
管理
2021年6月30日
C程序中获得命令行输出结果,linux下和windows都均可以,匿名管道实现
摘要: 转载地址是:http://www.linuxidc.com/Linux/2011-04/34092.htm 来源:Linux社区 作者:vah101 在linux上运行的例子如下: void executeCMD(const char *cmd, char *result) { char buf_p
阅读全文
posted @ 2021-06-30 11:10 fiab13
阅读(112)
评论(0)
推荐(0)
编辑
公告