src/melon/modules/string/format.c
static inline unsigned int _strnlen_s(const char *str, size_t maxsize)
{
	const char *s;
	for (s = str; *s && maxsize--; ++s)
		;
	return (unsigned int)(s - str);
}
// internal secure strlen
// \return The length of the string (excluding the terminating 0) limited by 'maxsize'

internal secure strlen
\return The length of the string (excluding the terminating 0) limited by 'maxsize'
internal secure strlen \ return The length of the string ( excluding the terminating 0 ) limited by ' maxsize '
static inline unsigned int _strnlen_s(const char *str, size_t maxsize)
{
	const char *s;
	for (s = str; *s && maxsize--; ++s)
		;
	return (unsigned int)(s - str);
}
static inline unsigned int _strnlen_s ( const char * str , size_t maxsize ) { const char * s ; for ( s = str ; * s && maxsize -- ; ++ s ) ; return ( unsigned int ) ( s - str ) ; }
internal secure strlen
\return The length of the string (excluding the terminating 0) limited by 'maxsize'
internal secure strlen \ return The length of the string ( excluding the terminating 0 ) limited by ' maxsize '