summaryrefslogtreecommitdiff
path: root/src/user/lib/libc/include/string.h
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-19 15:56:25 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-19 15:56:25 +0200
commit8e07c1db6ba4bedd0f8fe537a6fb0ca80e5d25f4 (patch)
tree08df626a28c290f5cde43424dd62dd43fc441a35 /src/user/lib/libc/include/string.h
parent0d2f7645c3fb45d83497faf2a4b6fff8c3f175d1 (diff)
downloadTCE-8e07c1db6ba4bedd0f8fe537a6fb0ca80e5d25f4.tar.gz
TCE-8e07c1db6ba4bedd0f8fe537a6fb0ca80e5d25f4.zip
Better sprintf, vsprintf, String::sprintf, etc.
Diffstat (limited to 'src/user/lib/libc/include/string.h')
-rw-r--r--src/user/lib/libc/include/string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user/lib/libc/include/string.h b/src/user/lib/libc/include/string.h
index 54fdf7a..5b86868 100644
--- a/src/user/lib/libc/include/string.h
+++ b/src/user/lib/libc/include/string.h
@@ -2,6 +2,7 @@
#define DEF_LIB_STRING_H
#include <types.h>
+#include <stdarg.h>
#ifdef __cplusplus
extern "C" { namespace libc {
@@ -20,6 +21,9 @@ int strcmp(const char *s1, const char *s2);
char* format_int(char* buf, int number);
char* format_hex(char *buf, unsigned v);
+int printf_str_len(const char *fmt, va_list arg);
+int vsprintf(char *buf, const char *fmt, va_list arg);
+int sprintf(char *buf, const char *fmt, ...);
#ifdef __cplusplus
} }