diff options
author | Richard Braun <rbraun@sceen.net> | 2017-06-09 20:21:41 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-06-09 20:21:41 +0200 |
commit | 88a92b367618409cf7c6cd50112e3b81f93d5272 (patch) | |
tree | c8f15c6597efaffe69741cb67cf410a1da212b63 /include | |
parent | 1d657d440f090ca1e4514f5c88a50be21815eb41 (diff) |
kern/fmt new module
This module replaces kern/sprintf, and also implements sscanf functions.
Diffstat (limited to 'include')
-rw-r--r-- | include/stdio.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index e1aa1a3..96c0331 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -18,8 +18,8 @@ #ifndef _STDIO_H #define _STDIO_H +#include <kern/fmt.h> #include <kern/printf.h> -#include <kern/sprintf.h> #ifndef EOF #define EOF (-1) @@ -31,4 +31,12 @@ char console_getchar(void); #define getchar console_getchar #define putchar console_putchar +#define sprintf fmt_sprintf +#define snprintf fmt_snprintf +#define vsprintf fmt_vsprintf +#define vsnprintf fmt_vsnprintf + +#define sscanf fmt_sscanf +#define vsscanf fmt_vsscanf + #endif /* _STDIO_H */ |