Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Author

       MongoDB, Inc

Description

       Like bson_snprintf() but allows for variadic parameters.

Parameters

       • str: A location for the resulting string.

       • size: The size of str in bytes.

       • format: A printf style format string.

       • ap: A va_list of parameters for the format.

Returns

       The number of bytes written to str excluding the \0 byte.

Synopsis

          int
          bson_vsnprintf (char *str, size_t size, const char *format, va_list ap);

See Also