Why __getline and not just getline?
Fri Jul 8 08:21:00 GMT 2005
On Jul 7 18:48, Brian Dessent wrote:
> 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?
Oh sure. Doh. Thanks for noticing. I'll do the same in Cygwin's
Cygwin Project Co-Leader
Red Hat, Inc.
More information about the Newlib