<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 17, 2014 at 3:28 PM, Duncan P. N. Exon Smith <span dir="ltr"><<a href="mailto:dexonsmith@apple.com" target="_blank">dexonsmith@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":3eg" class="a3s" style="overflow:hidden">I see<br>
<br>
#include <stdio.h><br>
#include <stdlib.h><br>
<br>
at the top of the file.  Also, it compiles without warnings for me (and it works for me).<br>
<br>
Maybe fputc isn’t portable?  r204084 switches to putc.  Maybe it’s more portable?</div></blockquote></div><br>Why would it be more portable? This function was in C89, it has existed for approximately ever. The 'putc' function seems just a confusing and broken alternative. I see no good reason to ever use it...</div>
</div>