Re: [PATCH] Implement kasprintf

From: Kyle McMartin
Date: Tue Jun 20 2006 - 23:19:36 EST


On Tue, Jun 20, 2006 at 04:57:16PM -0700, Jeremy Fitzhardinge wrote:
> +char *kasprintf(gfp_t gfp, const char *fmt, ...)
> +{

Why not just asprintf? We don't have ksprintf...

% grep EXPORT_SYMBOL lib/vsprintf.c
EXPORT_SYMBOL(simple_strtoul);
EXPORT_SYMBOL(simple_strtol);
EXPORT_SYMBOL(simple_strtoull);
EXPORT_SYMBOL(vsnprintf);
EXPORT_SYMBOL(vscnprintf);
EXPORT_SYMBOL(snprintf);
EXPORT_SYMBOL(scnprintf);
EXPORT_SYMBOL(vsprintf);
EXPORT_SYMBOL(sprintf);
EXPORT_SYMBOL(vsscanf);
EXPORT_SYMBOL(sscanf);

?

Cheers,
Kyle M.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/