title: Equivalent of fgetc with Unix file descriptors
body: <p>The <code>fgetc(3)</code> function takes a <code>FILE *</code> as its input stream. Must I reimplement character-at-a-time input with <code>read(2)</code>, or is there a <code>&lt;unistd.h&gt;</code>-style equivalent taking an integer file descriptor instead?</p>