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

       A portable version of strnlen().

Parameters

       • s: A string.

       • maxlen: The maximum size of string to check.

Returns

       The length of s in bytes or maxlen if no \0 was found.

Synopsis

          size_t
          bson_strnlen (const char *s, size_t maxlen);

See Also