This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Why __getline and not just getline?
- From: Brian Dessent <brian at dessent dot net>
- To: newlib at sources dot redhat dot com
- Date: Thu, 07 Jul 2005 18:48:26 -0700
- Subject: Re: Why __getline and not just getline?
- References: <20050707103214.GG9051@calimero.vinschen.de>
Corinna Vinschen wrote:
> can anybody tell me why the getline and getdelim functions are
> double-underscored (__getline, __getdelim) and not just exported
> as getline and getdelim as in glibc? Would it hurt to change this?
Perhaps the intent was for there to be a "#define getline __getline" (as
in libc/sys/linux/sys/stdio.h) only on certain platforms, so that it's
only selectively available as getline() on those platforms?
Brian