From d1a54ab5c49b6feca35cb52e030584ce0aa51412 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 6 Apr 2009 11:48:41 +0200 Subject: vsprintf: Update to latest kernel version This adds a function to print into a malloced string Signed-off-by: Sascha Hauer --- include/stdio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/stdio.h') diff --git a/include/stdio.h b/include/stdio.h index 7a6d9cb56e..c23dfc6504 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -32,6 +32,9 @@ int printf(const char *fmt, ...); int vprintf(const char *fmt, va_list args); int sprintf(char * buf, const char *fmt, ...); int vsprintf(char *buf, const char *fmt, va_list args); +char *asprintf(const char *fmt, ...); +char *vasprintf(const char *fmt, va_list ap); +int vsnprintf(char *buf, size_t size, const char *fmt, va_list args); /* stderr */ #define eputc(c) console_putc(CONSOLE_STDERR, c) -- cgit v1.2.3