This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

getline (was Re: Faster reader)



>>>>> "Jim" == Jim Blandy <jimb@red-bean.com> writes:

    >> Why doesn't guile use getline which is encouraged in the libc
    >> docs?

    Jim> getline isn't widely available.  I think it's a GNU thing.

Well, there is the 155 line file
  getline.c -- Replacement for GNU C library function getline
e.g. in GNU textutils 1.22, maybe this can be used (modulo GPL)?
OTOH, it looks like a loop over getc(), which does not sound very
fast.
						Roland