1 .\" Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 .\" $FreeBSD: src/share/man/man7/stdint.7,v 1.5 2003/09/08 19:57:21 ru Exp $
32 .Nd "standard integer types"
38 header provides source-portable integer types of a specific
39 size, smallest memory footprint with a minimum size, fastest
40 access speed with a minimum size, largest integer size, and
41 those capable of storing pointers.
49 provide a signed integer type of width 8, 16, 32, or 64 bits, respectively.
56 provide an unsigned integer type of width 8, 16, 32, or 64 bits, respectively.
57 These integer types should be used when a specific size is required.
65 provide the fastest signed integer type with a width
66 of at least 8, 16, 32, or 64 bits, respectively.
73 provide the fastest unsigned integer type with a width
74 of at least 8, 16, 32, or 64 bits, respectively.
75 These types should be used when access speed is
76 paramount, and when a specific size is not required.
84 provide the smallest memory footprint signed integer type with
85 a width of at least 8, 16, 32, or 64 bits, respectively.
92 provide the smallest memory footprint unsigned integer type with
93 a width of at least 8, 16, 32, or 64 bits, respectively.
94 These types should be used when memory storage is of
95 concern, and when a specific size is not required.
99 provides a signed integer type large
100 enough to hold any other signed integer.
103 provides an unsigned integer type large
104 enough to hold any other unsigned integer.
105 These types are generally the largest signed and unsigned
106 integer types available on a specific architecture.
110 provides a signed integer type with the ability to hold a pointer to
112 that can later be converted back to a pointer to
114 and the result will compare equal to the original pointer.
118 provides an unsigned integer type with the ability to hold a pointer to
120 that can later be converted back to a pointer to
122 and the result will compare equal to the original pointer.
126 expands to an integer constant expression corresponding to the type
130 expands to an integer constant expression corresponding to the type
134 expands to integer constant
139 macro expands to an integer constant expression having the value specified
140 by its argument and the type
144 macro expands to an integer constant expression having the value specified
145 by its argument and the type