This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why __getline and not just getline?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]