pl_strlen.rst (363B)
1 PL_strlen 2 ========= 3 4 Returns the length of a specified string (not including the trailing 5 ``'\0'``) 6 7 8 Syntax 9 ~~~~~~ 10 11 .. code:: 12 13 PRUint32 PL_strlen(const char *str); 14 15 16 Parameter 17 ~~~~~~~~~ 18 19 The function has these parameter: 20 21 ``str`` 22 Size in bytes of item to be allocated. 23 24 25 Returns 26 ~~~~~~~ 27 28 If successful, the function returns length of the specified string.