1
0
Fork 0
firefox/docs/nspr/reference/pr_ntohs.rst
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

29 lines
420 B
ReStructuredText

PR_ntohs
========
Performs 16-bit conversion from network byte order to host byte order.
Syntax
------
.. code::
#include <prnetdb.h>
PRUint16 PR_ntohs(PRUint16 conversion);
Parameter
~~~~~~~~~
The function has the following parameter:
``conversion``
The 16-bit unsigned integer, in network byte order, to be converted.
Returns
~~~~~~~
The value of the ``conversion`` parameter in host byte order.