Print this page
10229 Some man pages have incorrect cross-references
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3head/endian.h.3head.man.txt
+++ new/usr/src/man/man3head/endian.h.3head.man.txt
1 1 ENDIAN.H(3HEAD) Headers ENDIAN.H(3HEAD)
2 2
↓ open down ↓ |
2 lines elided |
↑ open up ↑ |
3 3 NAME
4 4 endian.h - definitions for endian routines
5 5
6 6 SYNOPSIS
7 7 #include <endian.h>
8 8
9 9 DESCRIPTION
10 10 The <endian.h> header defines functions and macros focused on converting
11 11 data between the host machines native byte order and big or little-endian
12 12 values. While the manual page details the macros defined by <endian.h>,
13 - the functions are documented separately in endian(3C.) More information
13 + the functions are documented separately in endian(3C). More information
14 14 on endianness and a general background on the topic can be found in
15 15 byteorder(5).
16 16
17 17 The <endian.h> header defines the following macros:
18 18
19 19 LITTLE_ENDIAN
20 20 A constant used to indicate a little-endian integer. It is
21 21 always defined, regardless of the actual endianess of the
22 22 underlying platform. This macro should be used to compare
23 23 against the BYTE_ORDER macro.
24 24
25 25 BIG_ENDIAN
26 26 A constant used to indicate a big-endian integer. It is always
27 27 defined, regardless of the actual endianess of the underlying
28 28 platform. This macro should be used to compare against the
29 29 BYTE_ORDER macro.
30 30
31 31 PDP_ENDIAN
32 32 A constant used to indicate the endianness used for four byte
33 33 values on the PDP-11. It is always defined, regardless of the
34 34 actual endianess of the underlying platform. This macro should
35 35 be used to compare against the BYTE_ORDER macro.
36 36
37 37 BYTE_ORDER
38 38 The value of the BYTE_ORDER macro will be one of LITTLE_ENDIAN or
39 39 BIG_ENDIAN. At this time, no supported architectures use the
40 40 byte order indicated by the PDP_ENDIAN macro.
41 41
42 42 To determine the byte order of a system, one may compare the
43 43 BYTE_ORDER to one of the aforementioned macros.
44 44
45 45 In addition to the routines provided by this header, standardized
46 46 functions may be found in byteorder(3C). The header types.h(3HEAD) also
47 47 defines additional pre-processor symbols to determine the current
48 48 endianness of the system.
49 49
50 50 INTERFACE STABILITY
51 51 Committed
52 52
53 53 SEE ALSO
54 54 byteorder(3C), endian(3C), types.h(3HEAD), attributes(5), byteorder(5)
55 55
56 56 illumos August 2, 2018 illumos
↓ open down ↓ |
33 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX