|
|
@@ -114,14 +114,11 @@ OPENSSL_EXPORT int OPENSSL_strncasecmp(const char *a, const char *b, size_t n); |
|
|
|
* representation of the given type. */ |
|
|
|
#define DECIMAL_SIZE(type) ((sizeof(type)*8+2)/3+1) |
|
|
|
|
|
|
|
/* Printf functions. |
|
|
|
* |
|
|
|
* These functions are either OpenSSL wrappers for standard functions (i.e. |
|
|
|
* |BIO_snprintf| and |BIO_vsnprintf|) which don't exist in C89, or are |
|
|
|
* versions of printf functions that output to a BIO rather than a FILE. */ |
|
|
|
/* BIO_snprintf has the same behavior as snprintf(3). */ |
|
|
|
OPENSSL_EXPORT int BIO_snprintf(char *buf, size_t n, const char *format, ...) |
|
|
|
OPENSSL_PRINTF_FORMAT_FUNC(3, 4); |
|
|
|
|
|
|
|
/* BIO_vsnprintf has the same behavior as vsnprintf(3). */ |
|
|
|
OPENSSL_EXPORT int BIO_vsnprintf(char *buf, size_t n, const char *format, |
|
|
|
va_list args) |
|
|
|
OPENSSL_PRINTF_FORMAT_FUNC(3, 0); |
|
|
|