summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-09-01 17:17:20 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-09-02 20:05:13 +0200
commitcb8c7b9673b425845dc35608b6c657d9ed1f57d6 (patch)
tree9423170cbdba11b6aaced67fa8a9cdcd636cf39e /kern
parent10e17b05021f05ab40c71368c9a44a7818f3c0ae (diff)
Add vsnprintf prototype
* kern/printf.h (vsnprintf): New prototype.
Diffstat (limited to 'kern')
-rw-r--r--kern/printf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/printf.h b/kern/printf.h
index c5effe5..2268111 100644
--- a/kern/printf.h
+++ b/kern/printf.h
@@ -40,6 +40,7 @@ extern void printnum (unsigned long u, int base,
vm_offset_t putc_arg);
extern int sprintf (char *buf, const char *fmt, ...);
+extern int vsnprintf (char *buf, int size, const char *fmt, va_list args);
extern int printf (const char *fmt, ...);