strip_eol
eol = strip_eol(linebuf, &len, flags);
static int strip_eol(char *linebuf, int *plen, int flags);
next_eol = strip_eol(linebuf, &len, flags);