Chuck Swiger wrote:
Tom Grove wrote:
Mike Jeays wrote:
[ ... ]
That works and I had looked into that earlier...it seems like it does a
lot more than just one function from the man page. I guess I can use
that for now but I wonder why getline() is broken in gcc on FreeBSD?
getline() is not part of the standard C library.
What makes you think gcc is broken...?
Yeah...I see that after some more research. So, now I guess my question
is being that it's not standard and gets() is not safe to use what
should I use to grab lines? My gut tells me to copy the getline()
function from the K&R book but I'm not totally sure that's a great idea
either. Stupid strings always causing problems!
-Tom
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"