<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>pipe - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/pipe/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Sun, 16 Oct 2011 15:52:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>Linux下父子进程管道通信</title>
		<link>https://www.coder4.com/archives/2127</link>
					<comments>https://www.coder4.com/archives/2127#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Wed, 07 Sep 2011 05:23:29 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fork]]></category>
		<category><![CDATA[pipe]]></category>
		<category><![CDATA[管道通信]]></category>
		<category><![CDATA[进程]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=2127</guid>

					<description><![CDATA[主要是部分程序使用了大量的assert，如果用线程的话，貌似会把整个进程挂掉，因此只能父子来了。 由于通信的信息不多，所以用管道读写应该就够了。 #include &#60;stdio.h&#62; int main() { int fd[2]; int pid; char buf[1024]; if( -1 == pipe(fd) ) { printf("pipe() fail."); ret[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/2127/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
