title: getline() with a file descriptor instead of a file pointer
body: <p>To my knowledge, there is no libc equivalent to <a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/getdelim.html" rel="noreferrer"><code>getline()</code></a> that works with a file descriptor instead of working with a <code>FILE *</code>.</p>
  
  <p>Is there a (technical) reason for that?</p>