Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 7 Jul 2005 10:38:50 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: No getline() in stdio.h? Message-ID: <20050707083850.GD21074@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20050707041233 DOT 7k8444kw00cc8w48 AT webmail DOT spamcop DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050707041233.7k8444kw00cc8w48@webmail.spamcop.net> User-Agent: Mutt/1.4.2i 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 AT cygwin DOT 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/