summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pl_strlen.rst
blob: edd1ecd129d7870889d36de68a52f817c87ec939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PL_strlen
=========

Returns the length of a specified string (not including the trailing
``'\0'``)


Syntax
~~~~~~

.. code::

   PRUint32 PL_strlen(const char *str);


Parameter
~~~~~~~~~

The function has these parameter:

``str``
   Size in bytes of item to be allocated.


Returns
~~~~~~~

If successful, the function returns length of the specified string.