From ec9ed8deb79a9fd508a11b122453bb39d3b587a9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 23 Jul 2017 15:28:13 +0200 Subject: added snprintf and a test for it --- src/libc/stdio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libc/stdio.h') diff --git a/src/libc/stdio.h b/src/libc/stdio.h index 58c80b1..e32683f 100644 --- a/src/libc/stdio.h +++ b/src/libc/stdio.h @@ -18,6 +18,8 @@ int puts( const char *s ); int printf( const char *format, ... ); int vprintf( const char *format, va_list args ); +int snprintf( char *buf, size_t n, const char *format, ... ); +int vsnprintf( char *buf, size_t n, const char *format, va_list args ); #ifdef OS_ABAOS void __stdio_set_console( console_t *console ); -- cgit v1.2.3-54-g00ecf