summaryrefslogtreecommitdiffstats
path: root/include/stdio.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-08-04 03:43:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-08-06 19:09:38 +0200
commite0953c5db2cb2ac73ca4ffe2f91ee78939de4ede (patch)
treeff3aa9c2a9000162464c11d96f08cdbe41a183ce /include/stdio.h
parent873910050ea0efc92db49ed233e70df7276a3f5b (diff)
downloadbarebox-e0953c5db2cb2ac73ca4ffe2f91ee78939de4ede.tar.gz
barebox-e0953c5db2cb2ac73ca4ffe2f91ee78939de4ede.tar.xz
string: add strlcpy support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index d591b6ab60..8bc45fa60e 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -36,6 +36,7 @@ int vsprintf(char *buf, const char *fmt, va_list args);
char *asprintf(const char *fmt, ...);
char *vasprintf(const char *fmt, va_list ap);
int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
+int vscnprintf(char *buf, size_t size, const char *fmt, va_list args);
/* stderr */
#define eputc(c) console_putc(CONSOLE_STDERR, c)