etc/services - sync with NetBSD-8
[minix.git] / external / bsd / libc++ / dist / libcxx / include / cstdint
blob7a187d3ebf280e742d6d0053b5c4f05ed83eaadd
1 // -*- C++ -*-
2 //===--------------------------- cstdint ----------------------------------===//
3 //
4 //                     The LLVM Compiler Infrastructure
5 //
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
11 #ifndef _LIBCPP_CSTDINT
12 #define _LIBCPP_CSTDINT
15     cstdint synopsis
17 Macros:
19     INT8_MIN
20     INT16_MIN
21     INT32_MIN
22     INT64_MIN
24     INT8_MAX
25     INT16_MAX
26     INT32_MAX
27     INT64_MAX
29     UINT8_MAX
30     UINT16_MAX
31     UINT32_MAX
32     UINT64_MAX
34     INT_LEAST8_MIN
35     INT_LEAST16_MIN
36     INT_LEAST32_MIN
37     INT_LEAST64_MIN
39     INT_LEAST8_MAX
40     INT_LEAST16_MAX
41     INT_LEAST32_MAX
42     INT_LEAST64_MAX
44     UINT_LEAST8_MAX
45     UINT_LEAST16_MAX
46     UINT_LEAST32_MAX
47     UINT_LEAST64_MAX
49     INT_FAST8_MIN
50     INT_FAST16_MIN
51     INT_FAST32_MIN
52     INT_FAST64_MIN
54     INT_FAST8_MAX
55     INT_FAST16_MAX
56     INT_FAST32_MAX
57     INT_FAST64_MAX
59     UINT_FAST8_MAX
60     UINT_FAST16_MAX
61     UINT_FAST32_MAX
62     UINT_FAST64_MAX
64     INTPTR_MIN
65     INTPTR_MAX
66     UINTPTR_MAX
68     INTMAX_MIN
69     INTMAX_MAX
71     UINTMAX_MAX
73     PTRDIFF_MIN
74     PTRDIFF_MAX
76     SIG_ATOMIC_MIN
77     SIG_ATOMIC_MAX
79     SIZE_MAX
81     WCHAR_MIN
82     WCHAR_MAX
84     WINT_MIN
85     WINT_MAX
87     INT8_C(value)
88     INT16_C(value)
89     INT32_C(value)
90     INT64_C(value)
92     UINT8_C(value)
93     UINT16_C(value)
94     UINT32_C(value)
95     UINT64_C(value)
97     INTMAX_C(value)
98     UINTMAX_C(value)
100 namespace std
103 Types:
105     int8_t
106     int16_t
107     int32_t
108     int64_t
110     uint8_t
111     uint16_t
112     uint32_t
113     uint64_t
115     int_least8_t
116     int_least16_t
117     int_least32_t
118     int_least64_t
120     uint_least8_t
121     uint_least16_t
122     uint_least32_t
123     uint_least64_t
125     int_fast8_t
126     int_fast16_t
127     int_fast32_t
128     int_fast64_t
130     uint_fast8_t
131     uint_fast16_t
132     uint_fast32_t
133     uint_fast64_t
135     intptr_t
136     uintptr_t
138     intmax_t
139     uintmax_t
141 }  // std
144 #include <__config>
145 #include <stdint.h>
147 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
148 #pragma GCC system_header
149 #endif
151 _LIBCPP_BEGIN_NAMESPACE_STD
153 using::int8_t;
154 using::int16_t;
155 using::int32_t;
156 using::int64_t;
158 using::uint8_t;
159 using::uint16_t;
160 using::uint32_t;
161 using::uint64_t;
163 using::int_least8_t;
164 using::int_least16_t;
165 using::int_least32_t;
166 using::int_least64_t;
168 using::uint_least8_t;
169 using::uint_least16_t;
170 using::uint_least32_t;
171 using::uint_least64_t;
173 using::int_fast8_t;
174 using::int_fast16_t;
175 using::int_fast32_t;
176 using::int_fast64_t;
178 using::uint_fast8_t;
179 using::uint_fast16_t;
180 using::uint_fast32_t;
181 using::uint_fast64_t;
183 using::intptr_t;
184 using::uintptr_t;
186 using::intmax_t;
187 using::uintmax_t;
189 _LIBCPP_END_NAMESPACE_STD
191 #endif  // _LIBCPP_CSTDINT