mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
ce377110d8
Differential Revision: https://phabricator.services.mozilla.com/D165625
30 lines
420 B
ReStructuredText
30 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.
|