Print this page
10229 Some man pages have incorrect cross-references


  21      uint16_t
  22      htons(uint16_t hostshort);
  23 
  24      uint32_t
  25      ntohl(uint32_t netlong);
  26 
  27      uint64_t
  28      ntohll(uint64_t netlonglong);
  29 
  30      uint16_t
  31      ntohs(uint16_t netshort);
  32 
  33 DESCRIPTION
  34      These functions convert 16-bit, 32-bit, and 64-bit quantities between
  35      network byte order and host byte order.  On some architectures these
  36      routines are defined as NULL macros in the include file <netinet/in.h>.
  37      On other architectures, the routines are functional when the host byte
  38      order is different from network byte order.
  39 
  40      These functions are most often used in conjunction with Internet
  41      addresses and ports as returned by gethostent(3NSL) and getservent(3NSL).

  42 
  43 MT-LEVEL
  44      Safe
  45 
  46 SEE ALSO
  47      inet.h(3HEAD), gethostent(3NSL), getservent(3NSL), attributes(5),
  48      byteorder(5)
  49 
  50 illumos                         August 2, 2018                         illumos


  21      uint16_t
  22      htons(uint16_t hostshort);
  23 
  24      uint32_t
  25      ntohl(uint32_t netlong);
  26 
  27      uint64_t
  28      ntohll(uint64_t netlonglong);
  29 
  30      uint16_t
  31      ntohs(uint16_t netshort);
  32 
  33 DESCRIPTION
  34      These functions convert 16-bit, 32-bit, and 64-bit quantities between
  35      network byte order and host byte order.  On some architectures these
  36      routines are defined as NULL macros in the include file <netinet/in.h>.
  37      On other architectures, the routines are functional when the host byte
  38      order is different from network byte order.
  39 
  40      These functions are most often used in conjunction with Internet
  41      addresses and ports as returned by gethostent(3NSL) and
  42      getservent(3SOCKET).
  43 
  44 MT-LEVEL
  45      Safe
  46 
  47 SEE ALSO
  48      inet.h(3HEAD), gethostent(3NSL), getservent(3SOCKET), attributes(5),
  49      byteorder(5)
  50 
  51 illumos                         August 2, 2018                         illumos