MentOS  0.8.0
The Mentoring Operating System
Macros
limits.h File Reference

OS numeric limits. More...

Go to the source code of this file.

Macros

#define CHAR_BIT   8
 Number of bits in a ‘char’.
 
#define SCHAR_MIN   -128
 Minimum value a ‘signed char’ can hold.
 
#define SCHAR_MAX   +127
 Maximum value a ‘signed char’ can hold.
 
#define CHAR_MIN   SCHAR_MIN
 Minimum value a ‘signed char’ can hold.
 
#define CHAR_MAX   SCHAR_MAX
 Maximum value a ‘signed char’ can hold.
 
#define UCHAR_MAX   255
 Maximum value a ‘char’ can hold.
 
#define SHRT_MIN   (-32768)
 Minimum value a ‘signed short int’ can hold.
 
#define SHRT_MAX   (+32767)
 Maximum value a ‘signed short int’ can hold.
 
#define USHRT_MAX   65535
 Maximum value a ‘unsigned short int’ can hold.
 
#define INT_MIN   (-2147483648)
 Minimum value a ‘signed int’ can hold.
 
#define INT_MAX   (+2147483647)
 Maximum values a ‘signed int’ can hold.
 
#define UINT_MAX   (+2147483647)
 Maximum value an ‘unsigned int’ can hold.
 
#define LONG_MIN   (-2147483648L)
 Maximum value a ‘signed long int’ can hold.
 
#define LONG_MAX   (+2147483647L)
 Minimum value a ‘signed long int’ can hold.
 
#define NAME_MAX   255
 Maximum number of characters in a file name.
 
#define PATH_MAX   4096
 Maximum number of characters in a path name.
 
#define ARG_MAX   256
 Maximum length of arguments provided to exec function.
 
#define PID_MAX_LIMIT   32768
 Maximum pid number.
 
#define SYMLOOP_MAX   8
 Maximum number of links to follow during resolving a path.
 

Detailed Description

OS numeric limits.