<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[Linux c语言管道命令处理shell问题的c程序方法]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Sat, 29 Dec 2007 03:33:27 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	#include &nbsp; &lt;sys/types.h&gt;<br/>#include &nbsp; &lt;unistd.h&gt;<br/>#include &nbsp; &lt;stdlib.h&gt;<br/>#include &nbsp; &lt;stdio.h&gt;<br/>int &nbsp; main()<br/>{<br/> &nbsp; &nbsp; &nbsp; &nbsp;FILE &nbsp; *stream;<br/> &nbsp; &nbsp; &nbsp; &nbsp;stream=popen(&quot;ps aux&#124;grep rpc&quot;,&quot;r&quot;);<br/> &nbsp; &nbsp; &nbsp; &nbsp;char &nbsp; buf[4096];<br/> &nbsp; &nbsp; &nbsp; &nbsp;fread(buf,sizeof(char),4096,stream);<br/> &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;%s&quot;,buf);<br/>}<br/><br/><br/><br/><br/>#include &quot;stdio.h&quot;<br/>int main()<br/>{<br/>char a[256];<br/>system(&quot;ps axu&#124;grep httpd&gt;a.txt&quot;);<br/>printf(&quot;%c&quot;,a);<br/>return 0;<br/>}
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] Linux c语言管道命令处理shell问题的c程序方法]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>