QP/C  6.5.0
stdint.h File Reference

Selected exact-width and fast minimum-width integer types. WG14/N843 C99 Standard, Section 7.18. More...

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

Go to the source code of this file.

Macros

#define UINT8_C(x_)   ((uint8_t)(x_))
 
#define INT8_C(x_)   ((int8_t)(x_))
 
#define UINT_FAST8_C(x_)   ((uint_fast8_t)(x_))
 
#define INT_FAST8_C(x_)   ((int_fast8_t)(x_))
 
#define UINT16_C(x_)   ((uint16_t)(x_))
 
#define INT16_C(x_)   ((int16_t)(x_))
 
#define UINT_FAST16_C(x_)   ((uint_fast16_t)(x_))
 
#define UINT32_C(x_)   ((uint32_t)(x_))
 
#define INT32_C(x_)   ((int32_t)(x_))
 
#define UINT_FAST32_C(x_)   ((uint_fast32_t)(x_))
 

Typedefs

typedef signed char int8_t
 exact-width 8-bit signed int More...
 
typedef signed short int16_t
 exact-width 16-bit signed int More...
 
typedef signed long int32_t
 exact-width 32-bit signed int More...
 
typedef signed long long int64_t
 exact-width 64-bit signed int More...
 
typedef unsigned char uint8_t
 exact-width 8-bit unsigned int More...
 
typedef unsigned short uint16_t
 exact-width 16-bit unsigned int More...
 
typedef unsigned long uint32_t
 exact-width 32-bit unsigned int More...
 
typedef unsigned long long uint64_t
 exact-width 64-bit unsigned int More...
 
typedef signed int int_fast8_t
 fast at-least 8-bit signed int More...
 
typedef unsigned int uint_fast8_t
 fast at-least 8-bit unsigned int More...
 
typedef signed int int_fast16_t
 fast at-least 16-bit signed int More...
 
typedef unsigned int uint_fast16_t
 fast at-least 16-bit unsigned int More...
 
typedef signed long int_fast32_t
 fast at-least 32-bit signed int More...
 
typedef unsigned long uint_fast32_t
 fast at-least 32-bit unsigned int More...
 

Detailed Description

Selected exact-width and fast minimum-width integer types. WG14/N843 C99 Standard, Section 7.18.

Description
This header is part of the ANSI C99 standard library to define the standard exact-width integer types (see C99 Section 7.18.1.1). If the compiler does not provide the stdint.h header file, you can either create one in the QP port directory, or you can typedef the 8 exact-width integer types directly in the qep_port.h header file.
Note
The version included in the QP documentation contains only the 8 exact-width types and 6 fast minimum-width types actually used in QP. The actual definition of the integer types is platform dependent.

Definition in file stdint.h.

Macro Definition Documentation

◆ UINT8_C

#define UINT8_C (   x_)    ((uint8_t)(x_))

Definition at line 44 of file stdint.h.

◆ INT8_C

#define INT8_C (   x_)    ((int8_t)(x_))

Definition at line 48 of file stdint.h.

◆ UINT_FAST8_C

#define UINT_FAST8_C (   x_)    ((uint_fast8_t)(x_))

Definition at line 52 of file stdint.h.

◆ INT_FAST8_C

#define INT_FAST8_C (   x_)    ((int_fast8_t)(x_))

Definition at line 56 of file stdint.h.

◆ UINT16_C

#define UINT16_C (   x_)    ((uint16_t)(x_))

Definition at line 60 of file stdint.h.

◆ INT16_C

#define INT16_C (   x_)    ((int16_t)(x_))

Definition at line 64 of file stdint.h.

◆ UINT_FAST16_C

#define UINT_FAST16_C (   x_)    ((uint_fast16_t)(x_))

Definition at line 68 of file stdint.h.

◆ UINT32_C

#define UINT32_C (   x_)    ((uint32_t)(x_))

Definition at line 72 of file stdint.h.

◆ INT32_C

#define INT32_C (   x_)    ((int32_t)(x_))

Definition at line 76 of file stdint.h.

◆ UINT_FAST32_C

#define UINT_FAST32_C (   x_)    ((uint_fast32_t)(x_))

Definition at line 80 of file stdint.h.

Typedef Documentation

◆ int8_t

typedef signed char int8_t

exact-width 8-bit signed int

Definition at line 24 of file stdint.h.

◆ int16_t

typedef signed short int16_t

exact-width 16-bit signed int

Definition at line 25 of file stdint.h.

◆ int32_t

typedef signed long int32_t

exact-width 32-bit signed int

Definition at line 26 of file stdint.h.

◆ int64_t

typedef signed long long int64_t

exact-width 64-bit signed int

Definition at line 27 of file stdint.h.

◆ uint8_t

typedef unsigned char uint8_t

exact-width 8-bit unsigned int

Definition at line 29 of file stdint.h.

◆ uint16_t

typedef unsigned short uint16_t

exact-width 16-bit unsigned int

Definition at line 30 of file stdint.h.

◆ uint32_t

typedef unsigned long uint32_t

exact-width 32-bit unsigned int

Definition at line 31 of file stdint.h.

◆ uint64_t

typedef unsigned long long uint64_t

exact-width 64-bit unsigned int

Definition at line 32 of file stdint.h.

◆ int_fast8_t

typedef signed int int_fast8_t

fast at-least 8-bit signed int

Definition at line 35 of file stdint.h.

◆ uint_fast8_t

typedef unsigned int uint_fast8_t

fast at-least 8-bit unsigned int

Definition at line 36 of file stdint.h.

◆ int_fast16_t

typedef signed int int_fast16_t

fast at-least 16-bit signed int

Definition at line 37 of file stdint.h.

◆ uint_fast16_t

typedef unsigned int uint_fast16_t

fast at-least 16-bit unsigned int

Definition at line 38 of file stdint.h.

◆ int_fast32_t

typedef signed long int_fast32_t

fast at-least 32-bit signed int

Definition at line 39 of file stdint.h.

◆ uint_fast32_t

typedef unsigned long uint_fast32_t

fast at-least 32-bit unsigned int

Definition at line 40 of file stdint.h.