136797Sbostic /* 236797Sbostic * Copyright (c) 1988 The Regents of the University of California. 336797Sbostic * All rights reserved. 436797Sbostic * 544541Sbostic * %sccs.include.redist.c% 636797Sbostic * 7*52898Sbostic * @(#)limits.h 7.3 (Berkeley) 03/09/92 836797Sbostic */ 936797Sbostic 1036797Sbostic #define CHAR_BIT 8 /* number of bits in a char */ 1136797Sbostic #define CLK_TCK 60 /* ticks per second */ 1236797Sbostic #define MB_LEN_MAX 1 /* no multibyte characters */ 1336797Sbostic 14*52898Sbostic #define SCHAR_MAX 127 /* min value for a signed char */ 15*52898Sbostic #define SCHAR_MIN -128 /* max value for a signed char */ 1636797Sbostic 17*52898Sbostic #define UCHAR_MAX 255 /* max value for an unsigned char */ 18*52898Sbostic #define CHAR_MAX 127 /* max value for a char */ 19*52898Sbostic #define CHAR_MIN 128 /* min value for a char */ 2036797Sbostic 21*52898Sbostic #define USHRT_MAX 65535 /* max value for an unsigned short */ 22*52898Sbostic #define SHRT_MAX 32767 /* max value for a short */ 23*52898Sbostic #define SHRT_MIN -32768 /* min value for a short */ 2436797Sbostic 25*52898Sbostic #define UINT_MAX 4294967295 /* max value for an unsigned int */ 26*52898Sbostic #define INT_MAX 2147483647 /* max value for an int */ 27*52898Sbostic #define INT_MIN (-2147483647-1) /* min value for an int */ 2836797Sbostic 29*52898Sbostic #define ULONG_MAX 4294967295 /* max value for an unsigned long */ 30*52898Sbostic #define LONG_MAX 2147483647 /* max value for a long */ 31*52898Sbostic #define LONG_MIN (-2147483647-1) /* min value for a long */ 32