strnlen - determine the length of a fixed-size string
The strnlen() function returns
strlen(s), if that is less than
maxlen if there is no null terminating ('\0') among the first
maxlen characters pointed to by
This page is part of release 5.10 of the Linux
man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.