tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pr_htonl.rst (420B)


      1 PR_htonl
      2 ========
      3 
      4 Performs 32-bit conversion from host byte order to network byte order.
      5 
      6 
      7 Syntax
      8 ------
      9 
     10 .. code::
     11 
     12   #include <prnetdb.h>
     13 
     14   PRUint32 PR_htonl(PRUint32 conversion);
     15 
     16 
     17 Parameter
     18 ~~~~~~~~~
     19 
     20 The function has the following parameter:
     21 
     22 ``conversion``
     23   The 32-bit unsigned integer, in host byte order, to be converted.
     24 
     25 
     26 Returns
     27 ~~~~~~~
     28 
     29 The value of the ``conversion`` parameter in network byte order.