summaryrefslogtreecommitdiffstats
path: root/lib/string.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-11-16 22:40:35 +0100
committerMartin Mares <mj@ucw.cz>1998-11-16 22:40:35 +0100
commit53a416d376a16b2091dce898a16600b0cd27c348 (patch)
tree7a029e18e8cdca41acba67f1af3a208203741b02 /lib/string.h
parentc3e9b2ab2448bce4a6fe6a5be9c8de8beecc8e17 (diff)
downloadbird-53a416d376a16b2091dce898a16600b0cd27c348.tar
bird-53a416d376a16b2091dce898a16600b0cd27c348.zip
Implemented snprintf and similar functions. It took a lot of thinking,
but the modifications were relatively simple and straightforward.
Diffstat (limited to 'lib/string.h')
-rw-r--r--lib/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/string.h b/lib/string.h
index 9f72cb7..202db0a 100644
--- a/lib/string.h
+++ b/lib/string.h
@@ -13,5 +13,7 @@
int bsprintf(char *str, const char *fmt, ...);
int bvsprintf(char *str, const char *fmt, va_list args);
+int bsnprintf(char *str, int size, const char *fmt, ...);
+int bvsnprintf(char *str, int size, const char *fmt, va_list args);
#endif