mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-11-04 02:09:05 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			420 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			420 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
PR_htonl
 | 
						|
========
 | 
						|
 | 
						|
Performs 32-bit conversion from host byte order to network byte order.
 | 
						|
 | 
						|
 | 
						|
Syntax
 | 
						|
------
 | 
						|
 | 
						|
.. code::
 | 
						|
 | 
						|
   #include <prnetdb.h>
 | 
						|
 | 
						|
   PRUint32 PR_htonl(PRUint32 conversion);
 | 
						|
 | 
						|
 | 
						|
Parameter
 | 
						|
~~~~~~~~~
 | 
						|
 | 
						|
The function has the following parameter:
 | 
						|
 | 
						|
``conversion``
 | 
						|
   The 32-bit unsigned integer, in host byte order, to be converted.
 | 
						|
 | 
						|
 | 
						|
Returns
 | 
						|
~~~~~~~
 | 
						|
 | 
						|
The value of the ``conversion`` parameter in network byte order.
 |