xref: /original-bsd/include/limits.h (revision c3e32dec)
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.1 (Berkeley) 06/02/93
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 
24 #define	_POSIX2_BC_BASE_MAX	99
25 #define	_POSIX2_BC_DIM_MAX	2048
26 #define	_POSIX2_BC_SCALE_MAX	99
27 #define	_POSIX2_BC_STRING_MAX	1000
28 #define	_POSIX2_EQUIV_CLASS_MAX	2
29 #define	_POSIX2_EXPR_NEST_MAX	32
30 #define	_POSIX2_LINE_MAX	2048
31 #define	_POSIX2_RE_DUP_MAX	255
32 
33 #include <machine/limits.h>
34 #include <sys/syslimits.h>
35 
36 #endif /* !_LIMITS_H_ */
37