xref: /original-bsd/sys/hp300/include/limits.h (revision bbb96de4)
1 /*
2  * Copyright (c) 1988 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)limits.h	7.2 (Berkeley) 06/28/90
8  */
9 
10 #define	CHAR_BIT	8		/* number of bits in a char */
11 #define	CLK_TCK		60		/* ticks per second */
12 #define	MB_LEN_MAX	1		/* no multibyte characters */
13 
14 #define	SCHAR_MIN	0x80		/* max value for a signed char */
15 #define	SCHAR_MAX	0x7f		/* min value for a signed char */
16 
17 #define	UCHAR_MAX	0xff		/* max value for an unsigned char */
18 #define	CHAR_MAX	0x7f		/* max value for a char */
19 #define	CHAR_MIN	0x80		/* min value for a char */
20 
21 #define	USHRT_MAX	0xffff		/* max value for an unsigned short */
22 #define	SHRT_MAX	0x7fff		/* max value for a short */
23 #define	SHRT_MIN	0x8000		/* min value for a short */
24 
25 #define	UINT_MAX	0xffffffff	/* max value for an unsigned int */
26 #define	INT_MAX		0x7fffffff	/* max value for an int */
27 #define	INT_MIN		0x80000000	/* min value for an int */
28 
29 #define	ULONG_MAX	0xffffffff	/* max value for an unsigned long */
30 #define	LONG_MAX	0x7fffffff	/* max value for a long */
31 #define	LONG_MIN	0x80000000	/* min value for a long */
32