This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: No getline() in stdio.h?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 7 Jul 2005 10:38:50 +0200
- Subject: Re: No getline() in stdio.h?
- References: <20050707041233.7k8444kw00cc8w48@webmail.spamcop.net>
- Reply-to: cygwin at cygwin dot com
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/