Uintmaxtype sigatomictype int8type int16type

Info icon This preview shows pages 30–34. Sign up to view the full content.

View Full Document Right Arrow Icon
__UINTMAX_TYPE__ __SIG_ATOMIC_TYPE__ __INT8_TYPE__ __INT16_TYPE__ __INT32_TYPE__ __INT64_TYPE__ __UINT8_TYPE__ __UINT16_TYPE__ __UINT32_TYPE__ __UINT64_TYPE__ __INT_LEAST8_TYPE__ __INT_LEAST16_TYPE__ __INT_LEAST32_TYPE__ __INT_LEAST64_TYPE__ __UINT_LEAST8_TYPE__ __UINT_LEAST16_TYPE__ __UINT_LEAST32_TYPE__ __UINT_LEAST64_TYPE__ __INT_FAST8_TYPE__ __INT_FAST16_TYPE__ __INT_FAST32_TYPE__ __INT_FAST64_TYPE__ __UINT_FAST8_TYPE__ __UINT_FAST16_TYPE__ __UINT_FAST32_TYPE__ __UINT_FAST64_TYPE__ __INTPTR_TYPE__ __UINTPTR_TYPE__ These macros are defined to the correct underlying types for the size_t , ptrdiff_t , wchar_t , wint_t , intmax_t , uintmax_t , sig_atomic_t , int8_t , int16_t , int32_t , int64_t , uint8_t , uint16_t , uint32_t , uint64_t , int_least8_t , int_least16_t , int_least32_t , int_least64_t , uint_least8_t , uint_least16_t , uint_least32_t , uint_least64_t , int_fast8_t , int_fast16_t , int_fast32_t , int_fast64_t , uint_fast8_t , uint_fast16_t , uint_fast32_t , uint_fast64_t , intptr_t , and uintptr_t typedefs, respectively. They exist to make the standard header files ‘ stddef.h ’, stdint.h ’, and ‘ wchar.h ’ work correctly. You should not use these macros directly; instead, include the appropriate headers and use the typedefs. Some of these macros may not be defined on particular systems if GCC does not provide a ‘ stdint.h ’ header on those systems.
Image of page 30

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Chapter 3: Macros 27 __CHAR_BIT__ Defined to the number of bits used in the representation of the char data type. It exists to make the standard header given numerical limits work correctly. You should not use this macro directly; instead, include the appropriate headers.
Image of page 31
Chapter 3: Macros 28 __SCHAR_MAX__ __WCHAR_MAX__ __SHRT_MAX__ __INT_MAX__ __LONG_MAX__ __LONG_LONG_MAX__ __WINT_MAX__ __SIZE_MAX__ __PTRDIFF_MAX__ __INTMAX_MAX__ __UINTMAX_MAX__ __SIG_ATOMIC_MAX__ __INT8_MAX__ __INT16_MAX__ __INT32_MAX__ __INT64_MAX__ __UINT8_MAX__ __UINT16_MAX__ __UINT32_MAX__ __UINT64_MAX__ __INT_LEAST8_MAX__ __INT_LEAST16_MAX__ __INT_LEAST32_MAX__ __INT_LEAST64_MAX__ __UINT_LEAST8_MAX__ __UINT_LEAST16_MAX__ __UINT_LEAST32_MAX__ __UINT_LEAST64_MAX__ __INT_FAST8_MAX__ __INT_FAST16_MAX__ __INT_FAST32_MAX__ __INT_FAST64_MAX__ __UINT_FAST8_MAX__ __UINT_FAST16_MAX__ __UINT_FAST32_MAX__ __UINT_FAST64_MAX__ __INTPTR_MAX__ __UINTPTR_MAX__ __WCHAR_MIN__ __WINT_MIN__ __SIG_ATOMIC_MIN__ Defined to the maximum value of the signed char , wchar_t , signed short , signed int , signed long , signed long long , wint_t , size_t , ptrdiff_t , intmax_t , uintmax_t , sig_atomic_t , int8_t , int16_t , int32_t , int64_t , uint8_t , uint16_t , uint32_t , uint64_t , int_least8_t , int_least16_t , int_least32_t , int_least64_t , uint_least8_t , uint_least16_t , uint_least32_t , uint_least64_t , int_fast8_t , int_fast16_t , int_
Image of page 32

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Chapter 3: Macros 29 fast32_t , int_fast64_t , uint_fast8_t , uint_fast16_t , uint_fast32_t , uint_fast64_t , intptr_t , and uintptr_t types and to the minimum value of the wchar_t , wint_t , and sig_atomic_t types respectively. They exist to make the standard header given numerical limits work correctly. You should not use these macros directly; instead, include the appropriate headers. Some of these macros may not be defined on particular systems if GCC does not provide a ‘ stdint.h ’ header on those systems.
Image of page 33
Image of page 34
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern