Bounded snprintf‐style formatting into buf (NUL‐terminated when n > 0).
Synopsis
Declared in <openssl/bio.h>
int
BIO_snprintf(
char* buf,
size_t n,
char const* format, ...);
Return Value
Number of characters that would have been written (excluding NUL), or a negative value on error.
Parameters
Name |
Description |
buf |
Destination buffer. |
n |
Capacity of |
format |
printf‐style format string. |
Created with MrDocs