摘要: http://blog.csdn.net/insect27/archive/2010/05/04/5554985.aspxhttp://www.cublog.cn/u2/86696/showart_2332654.html这两篇文章基本就可以了,但是里面存在一部分笔误,估计是抄别人的。因此自己写demo的时候,注意对比,多man一下。 阅读全文
posted @ 2011-06-28 16:40 规格严格-功夫到家 阅读(250) 评论(0) 推荐(0) 编辑
摘要: I am trying to debug something at work, and I must admit, I'm no UNIXexpert. I'm stumped and I thought I'd see if anyone in the communityhas an idea. It's a pretty simple operation that does simple commandslike cksum, scp, and chmod with a pipe. The code uses popen to open apipe and 阅读全文
posted @ 2011-06-28 16:38 规格严格-功夫到家 阅读(1325) 评论(0) 推荐(0) 编辑