<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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>Me on Stuff &#187; Solaris</title>
	<atom:link href="http://fubar.geek.nz/blog/category/solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://fubar.geek.nz/blog</link>
	<description>Me ranting about Stuff</description>
	<lastBuildDate>Thu, 22 Jul 2010 03:42:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OpenSolaris</title>
		<link>http://fubar.geek.nz/blog/2005/06/17/opensolaris/</link>
		<comments>http://fubar.geek.nz/blog/2005/06/17/opensolaris/#comments</comments>
		<pubDate>Fri, 17 Jun 2005 05:45:00 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://fubar.geek.nz/blog/?p=10</guid>
		<description><![CDATA[I&#8217;ve been looking at the OpenSolaris source code.
I found this little gem. It will print a number n in base b to stdout. That&#8217;s fine but this one works recursively. Also note the use of register long.
The thing with the code is they only use it to print an octal, decimal or hexadecimal number. These [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking at the <a href="http://www.opensolaris.org/">OpenSolaris</a> <a href="http://cvs.opensolaris.org/source/xref/">source code</a>.</p>
<p>I found <a href="http://cvs.opensolaris.org/source/xref/usr/src/cmd/troff/n1.c#542">this little gem</a>. It will print a number n in base b to stdout. That&#8217;s fine but this one works recursively. Also note the use of register long.</p>
<p>The thing with the code is they only use it to print an octal, decimal or hexadecimal number. These are easily replaced with printf using %o %u and %x respectively.</p>
]]></content:encoded>
			<wfw:commentRss>http://fubar.geek.nz/blog/2005/06/17/opensolaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris 10</title>
		<link>http://fubar.geek.nz/blog/2005/05/16/solaris-10/</link>
		<comments>http://fubar.geek.nz/blog/2005/05/16/solaris-10/#comments</comments>
		<pubDate>Mon, 16 May 2005 13:43:00 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://fubar.geek.nz/blog/?p=9</guid>
		<description><![CDATA[I managed to install Solaris 10 yesterday to have a look at how DTrace works.
Once I figure out it&#8217;s internals and interface I should be able to get something ported to FreeBSD.
]]></description>
			<content:encoded><![CDATA[<p>I managed to install Solaris 10 yesterday to have a look at how DTrace works.</p>
<p>Once I figure out it&#8217;s internals and interface I should be able to get something ported to FreeBSD.</p>
]]></content:encoded>
			<wfw:commentRss>http://fubar.geek.nz/blog/2005/05/16/solaris-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
