Embedded Artistry Framework
Embedded Systems C++ Framework
Macros
limits.h File Reference
#include <_limits.h>
Include dependency graph for limits.h:
This graph shows which files directly or indirectly include this file:

Macros

#define CHAR_MIN   (-128)
 
#define CHAR_MAX   127
 
#define CHAR_BIT   8
 
#define SCHAR_MIN   (-128)
 
#define SCHAR_MAX   127
 
#define UCHAR_MAX   255
 
#define SHRT_MIN   (-1 - 0x7fff)
 
#define SHRT_MAX   0x7fff
 
#define USHRT_MAX   0xffff
 
#define INT_MIN   (-1 - 0x7fffffff)
 
#define INT_MAX   0x7fffffff
 
#define UINT_MAX   0xffffffffU
 
#define LONG_MIN   (-LONG_MAX - 1)
 
#define ULONG_MAX   (2UL * LONG_MAX + 1)
 
#define LLONG_MIN   (-LLONG_MAX - 1)
 
#define ULLONG_MAX   (2ULL * LLONG_MAX + 1)
 
#define MB_LEN_MAX   4
 
#define LIMITS_H__
 
#define CHAR_MIN   (-128)
 
#define CHAR_MAX   127
 
#define CHAR_BIT   8
 
#define SCHAR_MIN   (-128)
 
#define SCHAR_MAX   127
 
#define UCHAR_MAX   255
 
#define SHRT_MIN   (-1 - 0x7fff)
 
#define SHRT_MAX   0x7fff
 
#define USHRT_MAX   0xffff
 
#define INT_MIN   (-1 - 0x7fffffff)
 
#define INT_MAX   0x7fffffff
 
#define UINT_MAX   0xffffffffU
 
#define LONG_MIN   (-LONG_MAX - 1)
 
#define ULONG_MAX   (2UL * LONG_MAX + 1)
 
#define LLONG_MIN   (-LLONG_MAX - 1)
 
#define ULLONG_MAX   (2ULL * LLONG_MAX + 1)
 
#define MB_LEN_MAX   4
 

Macro Definition Documentation

◆ CHAR_BIT [1/2]

#define CHAR_BIT   8

Expands to the integer constant 8. Number of bits in byte

◆ CHAR_BIT [2/2]

#define CHAR_BIT   8

◆ CHAR_MAX [1/2]

#define CHAR_MAX   127

◆ CHAR_MAX [2/2]

#define CHAR_MAX   127

Expands to the integer constant 127. Maximum value of char

◆ CHAR_MIN [1/2]

#define CHAR_MIN   (-128)

◆ CHAR_MIN [2/2]

#define CHAR_MIN   (-128)

Expands to the integer constant -128. Minimum value of char

◆ INT_MAX [1/2]

#define INT_MAX   0x7fffffff

Expands to hex 0x7fffffff. Maximum value of signed int

◆ INT_MAX [2/2]

#define INT_MAX   0x7fffffff

◆ INT_MIN [1/2]

#define INT_MIN   (-1 - 0x7fffffff)

Expands to hex -1 - 0x7fffffff. Minimum value of signed int

◆ INT_MIN [2/2]

#define INT_MIN   (-1 - 0x7fffffff)

◆ LIMITS_H__

#define LIMITS_H__

◆ LLONG_MIN [1/2]

#define LLONG_MIN   (-LLONG_MAX - 1)

◆ LLONG_MIN [2/2]

#define LLONG_MIN   (-LLONG_MAX - 1)

Expands to (-LLONG_MAX - 1). Minimum value of signed long long

◆ LONG_MIN [1/2]

#define LONG_MIN   (-LONG_MAX - 1)

Expands to (-LONG_MAX - 1). Minimum value of signed long

◆ LONG_MIN [2/2]

#define LONG_MIN   (-LONG_MAX - 1)

◆ MB_LEN_MAX [1/2]

#define MB_LEN_MAX   4

◆ MB_LEN_MAX [2/2]

#define MB_LEN_MAX   4

Maximum multibyte length of a character across all locales

◆ SCHAR_MAX [1/2]

#define SCHAR_MAX   127

Expands to the integer constant 127. Maximum value of signed char

◆ SCHAR_MAX [2/2]

#define SCHAR_MAX   127

◆ SCHAR_MIN [1/2]

#define SCHAR_MIN   (-128)

Expands to the integer constant -128. Minimum value of signed char

◆ SCHAR_MIN [2/2]

#define SCHAR_MIN   (-128)

◆ SHRT_MAX [1/2]

#define SHRT_MAX   0x7fff

Expands to the Hex constant 0x7fff. Maximum value of signed short

◆ SHRT_MAX [2/2]

#define SHRT_MAX   0x7fff

◆ SHRT_MIN [1/2]

#define SHRT_MIN   (-1 - 0x7fff)

◆ SHRT_MIN [2/2]

#define SHRT_MIN   (-1 - 0x7fff)

Expands to -1 - 0x7fff. Minimum value of signed short

◆ UCHAR_MAX [1/2]

#define UCHAR_MAX   255

Expands to the integer constant 255. Maximum value of unsigned char

◆ UCHAR_MAX [2/2]

#define UCHAR_MAX   255

◆ UINT_MAX [1/2]

#define UINT_MAX   0xffffffffU

◆ UINT_MAX [2/2]

#define UINT_MAX   0xffffffffU

Expands to hex 0xffffffffU. Maximum value of unsigned int

◆ ULLONG_MAX [1/2]

#define ULLONG_MAX   (2ULL * LLONG_MAX + 1)

◆ ULLONG_MAX [2/2]

#define ULLONG_MAX   (2ULL * LLONG_MAX + 1)

Expands to (2ULL * LLONG_MAX + 1). Maximum value of unsigned long long

◆ ULONG_MAX [1/2]

#define ULONG_MAX   (2UL * LONG_MAX + 1)

◆ ULONG_MAX [2/2]

#define ULONG_MAX   (2UL * LONG_MAX + 1)

Expands to (2UL * LONG_MAX + 1). Maximum value of unsigned long

◆ USHRT_MAX [1/2]

#define USHRT_MAX   0xffff

Expands to hex 0xffff. Maximum value of unsigned short

◆ USHRT_MAX [2/2]

#define USHRT_MAX   0xffff