<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Daemonize Anything</title>
	<atom:link href="http://blog.apokalyptik.com/2008/04/10/daemonize-anything/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.apokalyptik.com/2008/04/10/daemonize-anything/</link>
	<description>The random things that spew forth from my brain...</description>
	<lastBuildDate>Mon, 16 Jan 2012 18:43:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19620</generator>
	<item>
		<title>By: NuAngel</title>
		<link>http://blog.apokalyptik.com/2008/04/10/daemonize-anything/comment-page-1/#comment-7768</link>
		<dc:creator>NuAngel</dc:creator>
		<pubDate>Mon, 21 Apr 2008 10:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=280#comment-7768</guid>
		<description>Hey man, it&#039;s Nu!!  Are the IRC&#039;s still in one piece anywhere?  Lookin&#039; to get ahold of a few people, Aly, EE, etc... 
 
Stop by and leave a comment on my site (now: WinBreak.com) or just look me on on a messenger service: 
 
AIM: RotatingFlavors 
MSN: NuAngel@hotmail.com </description>
		<content:encoded><![CDATA[<p>Hey man, it&#039;s Nu!!  Are the IRC&#039;s still in one piece anywhere?  Lookin&#039; to get ahold of a few people, Aly, EE, etc&#8230;</p>
<p>Stop by and leave a comment on my site (now: WinBreak.com) or just look me on on a messenger service:</p>
<p>AIM: RotatingFlavors</p>
<p>MSN: <a href="mailto:NuAngel@hotmail.com">NuAngel@hotmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikolay</title>
		<link>http://blog.apokalyptik.com/2008/04/10/daemonize-anything/comment-page-1/#comment-7737</link>
		<dc:creator>Nikolay</dc:creator>
		<pubDate>Thu, 10 Apr 2008 23:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=280#comment-7737</guid>
		<description>If you want to redirect all the output of the program to a file, you don&#039;t need to fork yet another process with &lt;code&gt;popen()&lt;/code&gt;: 
 
freopen( &quot;/path/to/logfile&quot;, &quot;a&quot;, stdout); 
freopen( &quot;/path/to/logfile&quot;, &quot;a&quot;, stderr); 
exec[l&#124;v]p( command, ... ); 
 
Thus you can get both stdout and stderr, you don&#039;t spawn another process and you don&#039;t open and close the log file on every 1024 chars. Of course, the error checking was omitted :-) </description>
		<content:encoded><![CDATA[<p>If you want to redirect all the output of the program to a file, you don&#039;t need to fork yet another process with &lt;code&gt;popen()&lt;/code&gt;:</p>
<p>freopen( &quot;/path/to/logfile&quot;, &quot;a&quot;, stdout);</p>
<p>freopen( &quot;/path/to/logfile&quot;, &quot;a&quot;, stderr);</p>
<p>exec[l|v]p( command, &#8230; );</p>
<p>Thus you can get both stdout and stderr, you don&#039;t spawn another process and you don&#039;t open and close the log file on every 1024 chars. Of course, the error checking was omitted <img src='http://blog.apokalyptik.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 1/5 queries in 0.003 seconds using memcached
Object Caching 220/221 objects using memcached

Served from: blog.apokalyptik.com @ 2012-02-08 03:50:16 -->
