diff options
Diffstat (limited to 'runtime/vsprintf.c')
-rw-r--r-- | runtime/vsprintf.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/runtime/vsprintf.c b/runtime/vsprintf.c index 4582ad83..eb47e156 100644 --- a/runtime/vsprintf.c +++ b/runtime/vsprintf.c @@ -427,21 +427,4 @@ int _stp_vsnprintf(char *buf, size_t size, const char *fmt, va_list args) return str-buf; } -int _stp_vscnprintf(char *buf, size_t size, const char *fmt, va_list args) -{ - int i = vsnprintf(buf,size,fmt,args); - return (i >= size) ? (size - 1) : i; -} - -int _stp_snprintf(char *buf, size_t size, const char *fmt, ...) -{ - va_list args; - int i; - - va_start(args, fmt); - i=_stp_vsnprintf(buf,size,fmt,args); - va_end(args); - return i; -} - #endif /* _VSPRINTF_C_ */ |