From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Taylor Subject: Re: getline() Date: Mon, 25 Aug 2003 09:43:43 -0300 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <3F4A047F.5030402@ec.gc.ca> References: <20030824203653.A574@Imrashi.net.bd> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: Progga Cc: linux-c-programming@vger.kernel.org Progga wrote: > Is there any 'C' lib which contains the getline() function ? I have found > a code similar to this: Getline is part of the GNU readline package, and is included in GNU libc, the standard libc used on GNU/Linux systems (as a GNU extension -- #define _GNU_SOURCE). Readline is include I believe in FreeBSD's libc, and available as a package for NetBSD. See: readline 4.3: -- Michael Taylor