On Mon, Jun 20, 2011 at 6:06 PM, Connor Lane Smith <c...@lubutu.com> wrote: > > Please don't encourage things like this. getline() is available in > POSIX 2008; though I suspect the far more portable fgets() would > suffice. >
getline / getdelim (re)allocates buffers though. But yes a custom function with fgets would be more compatible.