Comment 4 for bug 332115

Revision history for this message
Uqbar (uqbar) wrote :

In C and C++ if I #include <stdio.h> I get asprintf() and vasprintf().
In C++ if I #include <cstdio> I DON'T get asprintf() and vasprintf().
If this is not a wanted feature, it'd definitely be a bug.
If it's not, who is the maintainer?

Quoting from the cstdio file:

/** @file include/cstdio
 * This is a Standard C++ Library file. You should @c #include this file
 * in your programs, rather than any of the "*.h" implementation files.
 *
 * This is the C++ version of the Standard C Library header @c stdio.h,
 * and its contents are (mostly) the same as that header, but are all
 * contained in the namespace @c std (except for names which are defined
 * as macros in C).
 */