include/stdio.h

Jonny Grant jg@jguk.org
Tue Nov 9 10:22:57 GMT 2021



On 08/11/2021 22:27, Florian Weimer wrote:
> * Jonny Grant:
> 
>> May I check, I'd not expected /usr/include/stdio.h to state this, is it to state stdio is built on top of C++ iostreams nowadays?
>>
>> In the repo it is /glibc/libio/stdio.h
>>
>> "Define ISO C stdio on top of C++ iostreams"
> 
> Internally, it's still built this way.  But the C++ meant here is the
> C++ ABI implemented by GCC 2.95, so that aspect is now entirely useless.
> We should probably remove that C++ reference from the public header.
> 
> Thanks,
> Florian
> 

Hi Florian

Maybe just remove the line and follow "string.h" text?

/*
 *	ISO C99 Standard: Standard Input Output <stdio.h>
 */

Cheers
Jonny


More information about the Libc-help mailing list