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