No getline() in stdio.h?
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Jul 7 08:39:00 GMT 2005
On Jul 7 04:12, George Morgan wrote:
> Ok, I was reading about the virtues of using getline and then looked in cygwin's
> stdio.h and it is not there! Did it get removed? Yeah, I found the __getline
> but when I changed my C code to use that the linker does not find it. This is
> with cygwin DLL version 1.5.18 and gcc 3.4.4. Maybe I need to use an older
> compiler?
No chance for now. __getline and __getdelim are newlib symbols
which aren't exported by Cygwin so far. I can add them to the exported
symbols for the next Cygwin release, but please note that these
functions are GNU extensions which are not covered by a standard.
You're going to write non-portable programs by using it.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list