[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Included Interfaces without documentation update



Andreas Jaeger wrote:
> 
> Dan Kegel <dank@kegel.com> writes:
> 
> > Andreas Jaeger wrote:
> > >
> > > Dan Kegel <dank@kegel.com> writes:
> > >
> > > > Andreas Jaeger wrote:
> > > > > > _IO_feof
> > > > > Mangle for feof
> > > > > > _IO_getc
> > > > > Mangle for getc
> > > > > > _IO_putc
> > > > > Mangle for putc
> > > > > > _IO_puts
> > > > > Mangle for puts
> > > >
> > > > That's interesting.  I had no idea there were versions of feof etc.
> > > > with C++ linkage in the standard libraries.  What standard specifies that?
> > >
> > > No standard - that's the way glibc implements them.  Since LSB is not
> > > going to change glibc, we have to document these.
> >
> > Does it also export them with C linkage, then?
> 
> Definitly - we describe a C ABI here.

That's what I thought.  Then why are we also describing the mangled
names?  Seems like a bug to specify C++ mangled names for C library
functions.
- Dan



Reply to: