home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / utils / hwgrcs / hwgdiff / rcs.rcsfiles / limits.h,v < prev    next >
Encoding:
Text File  |  1993-02-20  |  1.4 KB  |  70 lines

  1. head    1.1;
  2. access;
  3. symbols
  4.     HWGDIFF_Fish:1.1
  5.     HWGDIFF:1.1;
  6. locks; strict;
  7. comment    @ * @;
  8.  
  9.  
  10. 1.1
  11. date    93.01.19.14.04.33;    author heinz;    state Exp;
  12. branches;
  13. next    ;
  14.  
  15.  
  16. desc
  17. @RCS for the first time ...
  18. @
  19.  
  20.  
  21. 1.1
  22. log
  23. @Initial revision
  24. @
  25. text
  26. @/* Number of bits in a `char'.  */
  27. #define CHAR_BIT 8
  28.  
  29. /* No multibyte characters supported yet.  */
  30. #define MB_LEN_MAX 1
  31.  
  32. /* Minimum and maximum values a `signed char' can hold.  */
  33. #define SCHAR_MIN (-128)
  34. #define SCHAR_MAX 127
  35.  
  36. /* Maximum value an `unsigned char' can hold.  (Minimum is 0).  */
  37. #define UCHAR_MAX 255U
  38.  
  39. /* Minimum and maximum values a `char' can hold.  */
  40. #ifdef __CHAR_UNSIGNED__
  41. #define CHAR_MIN 0
  42. #define CHAR_MAX 255U
  43. #else
  44. #define CHAR_MIN (-128)
  45. #define CHAR_MAX 127
  46. #endif
  47.  
  48. /* Minimum and maximum values a `signed short int' can hold.  */
  49. #define SHRT_MIN (-32768)
  50. #define SHRT_MAX 32767
  51.  
  52. /* Maximum value an `unsigned short int' can hold.  (Minimum is 0).  */
  53. #define USHRT_MAX 65535U
  54.  
  55. /* Minimum and maximum values a `signed int' can hold.  */
  56. #define INT_MIN (-INT_MAX-1)
  57. #define INT_MAX 2147483647
  58.  
  59. /* Maximum value an `unsigned int' can hold.  (Minimum is 0).  */
  60. #define UINT_MAX 4294967295U
  61.  
  62. /* Minimum and maximum values a `signed long int' can hold.
  63.    (Same as `int').  */
  64. #define LONG_MIN (-LONG_MAX-1)
  65. #define LONG_MAX 2147483647
  66.  
  67. /* Maximum value an `unsigned long int' can hold.  (Minimum is 0).  */
  68. #define ULONG_MAX 4294967295U
  69. @
  70.