Changeset f9d0a86 in mainline for uspace/lib/posix/include/posix/stdint.h
- Timestamp:
- 2017-11-14T12:24:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6cad776
- Parents:
- 887c9de (diff), d2d142a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Aearsis <Hlavaty.Ondrej@…> (2017-11-14 01:04:19)
- git-committer:
- Aearsis <Hlavaty.Ondrej@…> (2017-11-14 12:24:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/stdint.h
r887c9de rf9d0a86 42 42 #include "libc/stdint.h" 43 43 44 #undef INT8_MAX45 #undef INT8_MIN46 #define INT8_MAX 12747 #define INT8_MIN (-128)48 49 #undef UINT8_MAX50 #undef UINT8_MIN51 #define UINT8_MAX 25552 #define UINT8_MIN 053 54 #undef INT16_MAX55 #undef INT16_MIN56 #define INT16_MAX 3276757 #define INT16_MIN (-32768)58 59 #undef UINT16_MAX60 #undef UINT16_MIN61 #define UINT16_MAX 6553562 #define UINT16_MIN 063 64 #undef INT32_MAX65 #undef INT32_MIN66 #define INT32_MAX 214748364767 #define INT32_MIN (-INT32_MAX - 1)68 69 #undef UINT32_MAX70 #undef UINT32_MIN71 #define UINT32_MAX 4294967295U72 #define UINT32_MIN 0U73 74 #undef INT64_MAX75 #undef INT64_MIN76 #define INT64_MAX 9223372036854775807LL77 #define INT64_MIN (-INT64_MAX - 1LL)78 79 #undef UINT64_MAX80 #undef UINT64_MIN81 #define UINT64_MAX 18446744073709551615ULL82 #define UINT64_MIN 0ULL83 84 44 #undef OFF64_MAX 85 45 #undef OFF64_MIN … … 92 52 #define AOFF64_MIN UINT64_MIN 93 53 94 #undef INTMAX_MIN95 #undef INTMAX_MAX96 #define INTMAX_MIN INT64_MIN97 #define INTMAX_MAX INT64_MAX98 99 #undef UINTMAX_MIN100 #undef UINTMAX_MAX101 #define UINTMAX_MIN UINT64_MIN102 #define UINTMAX_MAX UINT64_MAX103 104 /*105 * Fast* and least* integer types.106 *107 * The definitions below are correct as long as uint8/16/32/64_t are defined.108 * Considering the entire rest of the system would break down if they were not,109 * these definitions are just fine.110 */111 typedef uint8_t uint_least8_t;112 typedef uint16_t uint_least16_t;113 typedef uint32_t uint_least32_t;114 typedef uint64_t uint_least64_t;115 116 typedef int8_t int_least8_t;117 typedef int16_t int_least16_t;118 typedef int32_t int_least32_t;119 typedef int64_t int_least64_t;120 121 typedef uint8_t uint_fast8_t;122 typedef uint16_t uint_fast16_t;123 typedef uint32_t uint_fast32_t;124 typedef uint64_t uint_fast64_t;125 126 typedef int8_t int_fast8_t;127 typedef int16_t int_fast16_t;128 typedef int32_t int_fast32_t;129 typedef int64_t int_fast64_t;130 131 54 #endif /* POSIX_STDINT_H_ */ 132 55
Note:
See TracChangeset
for help on using the changeset viewer.