XINU
Macros
limits.h File Reference

Go to the source code of this file.

Macros

#define CHAR_BIT   8
 
#define CHAR_MAX   127
 
#define CHAR_MIN   (-128)
 
#define INT_MAX   2147483647
 
#define INT_MIN   (-INT_MAX-1)
 
#define LONG_MAX   2147483647
 
#define LONG_MIN   (-LONG_MAX-1)
 
#define SCHAR_MAX   127
 
#define SCHAR_MIN   (-128)
 
#define SHRT_MAX   32767
 
#define SHRT_MIN   (-SHRT_MAX-1)
 
#define UCHAR_MAX   255
 
#define UINT_MAX   (2U*INT_MAX+1)
 
#define ULONG_MAX   (2UL*LONG_MAX+1)
 
#define USHRT_MAX   65535
 

Detailed Description

Id
limits.h 2020 2009-08-13 17:50:08Z mschul

Definition in file limits.h.

Macro Definition Documentation

◆ CHAR_BIT

#define CHAR_BIT   8

bits in a char

Definition at line 11 of file limits.h.

◆ CHAR_MAX

#define CHAR_MAX   127

maximum value of char

Definition at line 12 of file limits.h.

◆ CHAR_MIN

#define CHAR_MIN   (-128)

minimum value of char

Definition at line 13 of file limits.h.

◆ INT_MAX

#define INT_MAX   2147483647

maximum value of int

Definition at line 18 of file limits.h.

◆ INT_MIN

#define INT_MIN   (-INT_MAX-1)

minimum value of int

Definition at line 19 of file limits.h.

◆ LONG_MAX

#define LONG_MAX   2147483647

maximum value of int32

Definition at line 22 of file limits.h.

◆ LONG_MIN

#define LONG_MIN   (-LONG_MAX-1)

minimum value of int32

Definition at line 23 of file limits.h.

◆ SCHAR_MAX

#define SCHAR_MAX   127

maximum value of signed char

Definition at line 14 of file limits.h.

◆ SCHAR_MIN

#define SCHAR_MIN   (-128)

minimum value of signed char

Definition at line 15 of file limits.h.

◆ SHRT_MAX

#define SHRT_MAX   32767

maximum value of int16

Definition at line 26 of file limits.h.

◆ SHRT_MIN

#define SHRT_MIN   (-SHRT_MAX-1)

minimum value of int16

Definition at line 27 of file limits.h.

◆ UCHAR_MAX

#define UCHAR_MAX   255

maximum value of unsigned char

Definition at line 16 of file limits.h.

◆ UINT_MAX

#define UINT_MAX   (2U*INT_MAX+1)

maximum value of unsigned int

Definition at line 20 of file limits.h.

◆ ULONG_MAX

#define ULONG_MAX   (2UL*LONG_MAX+1)

maximum value of unsigned int32

Definition at line 24 of file limits.h.

◆ USHRT_MAX

#define USHRT_MAX   65535

maximum value of unsigned int16

Definition at line 28 of file limits.h.