Print this page
10229 Some man pages have incorrect cross-references
   1 ENDIAN.H(3HEAD)                     Headers                    ENDIAN.H(3HEAD)
   2 
   3 NAME
   4      endian.h - definitions for endian routines
   5 
   6 SYNOPSIS
   7      #include <endian.h>
   8 
   9 DESCRIPTION
  10      The <endian.h> header defines functions and macros   focused on converting
  11      data between the host machines native byte order and big or little-endian
  12      values.  While the manual page details the macros defined by <endian.h>,
  13      the functions are documented separately in endian(3C.) More information
  14      on endianness and a general background on the topic can be found in
  15      byteorder(5).
  16 
  17      The <endian.h> header defines the following macros:
  18 
  19      LITTLE_ENDIAN
  20              A constant used to indicate a little-endian integer.  It is
  21              always defined, regardless of the actual endianess of the
  22              underlying platform.  This macro should be used to compare
  23              against the BYTE_ORDER macro.
  24 
  25      BIG_ENDIAN
  26              A constant used to indicate a big-endian integer.  It is always
  27              defined, regardless of the actual endianess of the underlying
  28              platform.  This macro should be used to compare against the
  29              BYTE_ORDER macro.
  30 
  31      PDP_ENDIAN
  32              A constant used to indicate the endianness used for four byte
  33              values on the PDP-11.  It is always defined, regardless of the


   1 ENDIAN.H(3HEAD)                     Headers                    ENDIAN.H(3HEAD)
   2 
   3 NAME
   4      endian.h - definitions for endian routines
   5 
   6 SYNOPSIS
   7      #include <endian.h>
   8 
   9 DESCRIPTION
  10      The <endian.h> header defines functions and macros   focused on converting
  11      data between the host machines native byte order and big or little-endian
  12      values.  While the manual page details the macros defined by <endian.h>,
  13      the functions are documented separately in endian(3C).  More information
  14      on endianness and a general background on the topic can be found in
  15      byteorder(5).
  16 
  17      The <endian.h> header defines the following macros:
  18 
  19      LITTLE_ENDIAN
  20              A constant used to indicate a little-endian integer.  It is
  21              always defined, regardless of the actual endianess of the
  22              underlying platform.  This macro should be used to compare
  23              against the BYTE_ORDER macro.
  24 
  25      BIG_ENDIAN
  26              A constant used to indicate a big-endian integer.  It is always
  27              defined, regardless of the actual endianess of the underlying
  28              platform.  This macro should be used to compare against the
  29              BYTE_ORDER macro.
  30 
  31      PDP_ENDIAN
  32              A constant used to indicate the endianness used for four byte
  33              values on the PDP-11.  It is always defined, regardless of the