The experiment I am currently working uses a software base with a complicated source history and no well defined license. It would be a considerable amount of work to rationalize things and release under a fixed license.
It is also intended to run a a random unixish platform, and only some of the libc’s we support have GNU getline, but right now the code expects it.
Does anyone know of a re-implementation of the GNU
getline semantics that is available under a less restrictive license?
Edit:: I ask because Google didn’t help, and I’d like to avoid writing one if possible (it might be a fun exercise, but it can’t be the best use of my time.)
To be more specific, the interface in question is:
ssize_t getline (char **lineptr, size_t *n, FILE *stream);