BBC Micro C library
Macros | Typedefs
stdint.h File Reference

Named types for various sizes. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UINT8_MAX   255
 
#define UINT16_MAX   65535
 
#define UINT32_MAX   4294967295
 
#define INT8_MAX   127
 
#define INT8_MIN   -128
 
#define INT16_MAX   32767‬
 
#define INT16_MIN   -32768
 
#define INT32_MAX   2147483647‬
 
#define INT32_MIN   -2147483648‬
 
#define INTPTR_MAX   INT16_MAX
 
#define INTPTR_MIN   INT16_MIN
 
#define UINTPTR_MAX   UINT16_MAX
 
#define UINTMAX_MAX   UINT32_MAX
 
#define INTMAX_MAX   INT32_MAX
 
#define INTMAX_MIN   INT32_MIN
 
#define UINT_LEAST8_MAX   UINT8_MAX
 
#define UINT_LEAST16_MAX   UINT16_MAX
 
#define UINT_LEAST32_MAX   UINT32_MAX
 
#define INT_LEAST8_MAX   INT8_MAX
 
#define INT_LEAST8_MIN   INT8_MIN
 
#define INT_LEAST16_MAX   INT16_MAX
 
#define INT_LEAST16_MIN   INT16_MIN
 
#define INT_LEAST32_MAX   INT32_MAX
 
#define INT_LEAST32_MIN   INT32_MIN
 
#define UINT_FAST8_MAX   UINT8_MAX
 
#define UINT_FAST16_MAX   UINT16_MAX
 
#define UINT_FAST32_MAX   UINT32_MAX
 
#define INT_FAST8_MAX   INT8_MAX
 
#define INT_FAST8_MIN   INT8_MIN
 
#define INT_FAST16_MAX   INT16_MAX
 
#define INT_FAST16_MIN   INT16_MIN
 
#define INT_FAST32_MAX   INT32_MAX
 
#define INT_FAST32_MIN   INT32_MIN
 

Typedefs

typedef unsigned char uint8_t
 
typedef unsigned int uint16_t
 
typedef unsigned long uint32_t
 
typedef signed char int8_t
 
typedef int int16_t
 
typedef long int32_t
 
typedef int16_t intptr_t
 
typedef uint16_t uintptr_t
 
typedef uint32_t uintmax_t
 
typedef int32_t intmax_t
 
typedef uint8_t uint_least8_t
 
typedef uint16_t uint_least16_t
 
typedef uint32_t uint_least32_t
 
typedef int8_t int_least8_t
 
typedef int16_t int_least16_t
 
typedef int32_t int_least32_t
 
typedef uint8_t uint_fast8_t
 
typedef uint16_t uint_fast16_t
 
typedef uint32_t uint_fast32_t
 
typedef int8_t int_fast8_t
 
typedef int16_t int_fast16_t
 
typedef int32_t int_fast32_t
 

Detailed Description

Named types for various sizes.

C99 style header

Macro Definition Documentation

◆ INT_LEAST32_MIN

#define INT_LEAST32_MIN   INT32_MIN

'Fastest' types that hold the amount

◆ INTMAX_MIN

#define INTMAX_MIN   INT32_MIN

Types 'at least' specified size

Typedef Documentation

◆ int16_t

typedef int int16_t

16 bit signed

◆ int32_t

typedef long int32_t

32 bit signed

◆ int8_t

typedef signed char int8_t

8 bit signed

◆ intmax_t

typedef int32_t intmax_t

largest possible signed type

◆ intptr_t

typedef int16_t intptr_t

signed int matching size of pointer

◆ uint16_t

typedef unsigned int uint16_t

16 bit unsigned

◆ uint32_t

typedef unsigned long uint32_t

32 bit unsigned

◆ uint8_t

typedef unsigned char uint8_t

< Main types 8 bit unsigned

◆ uintmax_t

largest possible unsigned type

◆ uintptr_t

unsigned int matching size of pointer