ntohs man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]

ntohl(9r)							     ntohl(9r)

NAME
       ntohl,  ntohs - General: Convert longword and word values from network-
       to-host byte order

SYNOPSIS
       #include <sys/param.h>

       unsigned int ntohl(
	       unsigned int longword ); unsigned short ntohs(
	       unsigned short word );

ARGUMENTS
       Specifies a 32-bit value to be conditionally byte swapped.  Specifies a
       16-bit value to be conditionally byte swapped.

DESCRIPTION
       The  ntohl  routine converts the specified longword value from network-
       to-host byte order. The ntohs routine converts the specified word value
       from network-to-host byte order.

       The TCP/IP protocols specify the canonical network byte order, which is
       big endian (meaning that the most significant byte is leftmost in  mem‐
       ory).

RETURN VALUES
       Upon  successful	 completion,  the  ntohl routine returns the converted
       longword value in host byte order. Similarly, upon  successful  comple‐
       tion,  the  ntohs routine returns the converted word value in host byte
       order.

SEE ALSO
       Routines: htonl(9r)

								     ntohl(9r)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net