<Deek> Exactly how much of a PITA is this in C?
<Knghtbrd> Its written in C++.
<Deek> Hence my question.
<Knghtbrd> I could do something like it in C.  Anyone who saw the results
           would think I was either a genius or out of my fucking mind.
           Theyd be right on either count.