Why __getline and not just getline?

Corinna Vinschen vinschen@redhat.com
Thu Jul 7 11:01:00 GMT 2005


On Jul  7 11:46, Dave Korn wrote:
> ----Original Message----
> >From: Corinna Vinschen
> >Sent: 07 July 2005 11:32
> 
> > Hi,
> > 
> > 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?
> > 
> > 
> > Corinna
> 
> 
>   Perhaps they should be exported under the names fgetline and fgetdelim,
> since they fit with the other f-* functions in stdio?

I'd prefer API compatibility with glibc.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.



More information about the Newlib mailing list