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 Message-ID: <3F98462D.87734498@dessent.net> Date: Thu, 23 Oct 2003 14:20:45 -0700 From: Brian Dessent Organization: My own little world... X-Accept-Language: en,en-US MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: undefined reference to `_getline' References: <3D848382FB72E249812901444C6BDB1DE4DF0F AT exchange DOT timesys DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.linuxsv3.net X-AntiAbuse: Original Domain - cygwin.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dessent.net Note-from-DJ: This may be spam "Robb, Sam" wrote: > In porting soem code to run under Cygwin, I ran > into a problem finding getline(). The following > code snippet demonstrates the problem: getline() is a glibc-ism, a nonstandard GNU extension. It's not listed anywhere that I can see at so I'd say it's safe to assume that it's not supported by Cygwin. I'm pretty sure you could work around this by rolling your own. In fact, a little googling returned the following: Brian -- 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/