delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 <brian AT dessent DOT net> |
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> |
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 <http://cygwin.com/cygwin-api/cygwin-api.html> 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: <http://www.klid.dk/pub/gnu/gnu-utils/gnu/txtutil1.22/lib/getline.c> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |