summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_ntohl.rst
blob: 8c48f88f40fc36394a45c1cae8fc2b87d1bc3119 (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
29
PR_ntohl
========

Performs 32-bit conversion from network byte order to host byte order.


Syntax
------

.. code::

   #include <prnetdb.h>

   PRUint32 PR_ntohl(PRUint32 conversion);


Parameter
~~~~~~~~~

The function has the following parameter:

``conversion``
   The 32-bit unsigned integer, in network byte order, to be converted.


Returns
~~~~~~~

The value of the ``conversion`` parameter in host byte order.