xref: /original-bsd/include/limits.h (revision 333da485)
1 /*
2  * Copyright (c) 1988, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)limits.h	8.2 (Berkeley) 01/04/94
8  */
9 
10 #ifndef _LIMITS_H_
11 #define	_LIMITS_H_
12 
13 #define	_POSIX_ARG_MAX		4096
14 #define	_POSIX_CHILD_MAX	6
15 #define	_POSIX_LINK_MAX		8
16 #define	_POSIX_MAX_CANON	255
17 #define	_POSIX_MAX_INPUT	255
18 #define	_POSIX_NAME_MAX		14
19 #define	_POSIX_NGROUPS_MAX	0
20 #define	_POSIX_OPEN_MAX		16
21 #define	_POSIX_PATH_MAX		255
22 #define	_POSIX_PIPE_BUF		512
23 #define	_POSIX_SSIZE_MAX	32767
24 #define	_POSIX_STREAM_MAX	8
25 #define	_POSIX_TZNAME_MAX	3
26 
27 #define	_POSIX2_BC_BASE_MAX	99
28 #define	_POSIX2_BC_DIM_MAX	2048
29 #define	_POSIX2_BC_SCALE_MAX	99
30 #define	_POSIX2_BC_STRING_MAX	1000
31 #define	_POSIX2_EQUIV_CLASS_MAX	2
32 #define	_POSIX2_EXPR_NEST_MAX	32
33 #define	_POSIX2_LINE_MAX	2048
34 #define	_POSIX2_RE_DUP_MAX	255
35 
36 #include <machine/limits.h>
37 #include <sys/syslimits.h>
38 
39 #endif /* !_LIMITS_H_ */
40