Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

limits.h File Reference

LIBC limits. More...

Go to the source code of this file.

Defines

#define CHAR_MIN   (-128)
#define CHAR_MAX   127
#define UCHAR_MAX   255
#define SHRT_MAX   ((short)(~0U>>1))
#define SHRT_MIN   (-SHRT_MAX - 1)
#define USHRT_MAX   ((short)(~0U>>1))
#define INT_MAX   ((int)(~0U>>1))
#define INT_MIN   (-INT_MAX - 1)
#define UINT_MAX   (~0U)
#define LONG_MAX   ((long)(~0UL>>1))
#define LONG_MIN   (-LONG_MAX - 1)
#define ULONG_MAX   (~0UL)


Detailed Description

LIBC limits.

Author:
Andrea Righi <drizzt@inwind.it>
Date:
Last update: 2004-01-27
Note:
Copyright (©) 2003 Andrea Righi

Definition in file limits.h.


Define Documentation

#define CHAR_MAX   127
 

Definition at line 12 of file limits.h.

#define CHAR_MIN   (-128)
 

Definition at line 11 of file limits.h.

#define INT_MAX   ((int)(~0U>>1))
 

Definition at line 19 of file limits.h.

#define INT_MIN   (-INT_MAX - 1)
 

Definition at line 20 of file limits.h.

#define LONG_MAX   ((long)(~0UL>>1))
 

Definition at line 23 of file limits.h.

#define LONG_MIN   (-LONG_MAX - 1)
 

Definition at line 24 of file limits.h.

#define SHRT_MAX   ((short)(~0U>>1))
 

Definition at line 15 of file limits.h.

#define SHRT_MIN   (-SHRT_MAX - 1)
 

Definition at line 16 of file limits.h.

#define UCHAR_MAX   255
 

Definition at line 13 of file limits.h.

#define UINT_MAX   (~0U)
 

Definition at line 21 of file limits.h.

#define ULONG_MAX   (~0UL)
 

Definition at line 25 of file limits.h.

#define USHRT_MAX   ((short)(~0U>>1))
 

Definition at line 17 of file limits.h.


Generated on Fri Feb 20 15:32:19 2004 for Minirighi by doxygen1.2.18