Print this page
9842 man page typos and spelling

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man5/byteorder.5.man.txt
          +++ new/usr/src/man/man5/byteorder.5.man.txt
↓ open down ↓ 186 lines elided ↑ open up ↑
 187  187       Like them, these functions operate on either 16-bit, 32-bit, or 64-bit
 188  188       values.  When converting from big-endian, to the host's endianness, the
 189  189       functions begin with betoh.  If instead, one is converting data from the
 190  190       host's native endianness to another, then it starts with htobe.  When
 191  191       working with little-endian data, the prefixes letoh and htole convert
 192  192       little-endian data to the host's endianness and from the host's to
 193  193       little-endian respectively.
 194  194  
 195  195       These functions are not standardized and the header they appear in varies
 196  196       between the BSDs and GNU/Linux.  Applications that wish to be portable,
 197      -     shoulda instead use the byteorder(3C) functions.
      197 +     should instead use the byteorder(3C) functions.
 198  198  
 199  199       All of these functions in both families simply return their input when
 200  200       the host's native byte order is the same as the desired order.  For
 201  201       example, when calling htonl(3C) on a big-endian system the original data
 202  202       is returned with no conversion or modification.
 203  203  
 204  204  SEE ALSO
 205  205       byteorder(3C), endian(3C), endian.h(3HEAD), inet(3HEAD)
 206  206  
 207  207  illumos                         August 2, 2018                         illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX