diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-23 15:28:13 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-23 15:28:13 +0200 |
commit | ec9ed8deb79a9fd508a11b122453bb39d3b587a9 (patch) | |
tree | 6e35f78af8922083ff5b77dac04e4330e4ac0bb3 /src/libc/stdio.h | |
parent | ab8803f7cfdc7c7b258fb3e59fb2d55bacf7522a (diff) | |
download | abaos-ec9ed8deb79a9fd508a11b122453bb39d3b587a9.tar.gz abaos-ec9ed8deb79a9fd508a11b122453bb39d3b587a9.tar.bz2 |
added snprintf and a test for it
Diffstat (limited to 'src/libc/stdio.h')
-rw-r--r-- | src/libc/stdio.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 ); |