Searched refs:maxlen (Results 1 – 3 of 3) sorted by relevance
22 long strnlen(const char *src, unsigned long maxlen) in strnlen() argument28 while (src[__res] != '\0' && __res < maxlen) in strnlen()99 long strnlen_user(const char *src, unsigned long maxlen) in strnlen_user() argument107 return size <= maxlen ? size : maxlen; in strnlen_user()
32 long strnlen(const char *src, unsigned long maxlen);53 long strnlen_user(const char *src, unsigned long maxlen);
459 #### `long strnlen(const char *src, unsigned long maxlen)`463   测量并返回字符串长度。当字符串长度大于maxlen时,返回maxlen471 **maxlen**475 #### `long strnlen_user(const char *src, unsigned long maxlen)` argument479   测量并返回字符串长度。当字符串长度大于maxlen时,返回maxlen。489 **maxlen**