From 9e7e2aed7c151474db35357b2cb53ca5b55ffc3f Mon Sep 17 00:00:00 2001 From: nobody Date: Thu, 20 Mar 2003 15:07:45 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'BUG_BUDDY_2_2_105'. svn path=/tags/BUG_BUDDY_2_2_105/; revision=2787 --- support/easy-vsnprintf.c | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 support/easy-vsnprintf.c (limited to 'support/easy-vsnprintf.c') diff --git a/support/easy-vsnprintf.c b/support/easy-vsnprintf.c deleted file mode 100644 index b50df74..0000000 --- a/support/easy-vsnprintf.c +++ /dev/null @@ -1,30 +0,0 @@ -/* (v)snprintf in terms of __(v)snprintf - * - * Useful with Solaris 2.5 libc, which appears to have the `__*' versions - * of (v)snprintf. - * - * This file is in the public domain - * (in case it matters) - */ - -#include -#include - -extern int __vsnprintf (char *, size_t, const char *, va_list); - -int -vsnprintf (char *string, size_t maxlen, const char *format, va_list args) -{ - return __vsnprintf (string, maxlen, format, args); -} - -int -snprintf (char *string, size_t maxlen, const char *format, ...) -{ - va_list args; - int retval; - va_start(args, format); - retval = vsnprintf (string, maxlen, format, args); - va_end(args); - return retval; -} -- cgit v1.2.1