printf short in hex with uppercase in C
<p>I'm trying to printf unsigned short in hex, e.g. 0XFFFF. The problem is that I want a lowercase x not X. I have no idea how to do this.</p>

<pre><code>fprintf(c,"%#06X,\n\t", pixel[i]));
</code></pre>