diff options
author | Martin Mares <mj@ucw.cz> | 1998-11-16 21:40:35 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-11-16 21:40:35 +0000 |
commit | 53a416d376a16b2091dce898a16600b0cd27c348 (patch) | |
tree | 7a029e18e8cdca41acba67f1af3a208203741b02 /lib/string.h | |
parent | c3e9b2ab2448bce4a6fe6a5be9c8de8beecc8e17 (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/string.h b/lib/string.h index 9f72cb79..202db0ab 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 |