xref: /csrg-svn/include/limits.h (revision 36798)
1*36798Sbostic /*
2*36798Sbostic  * Copyright (c) 1988 The Regents of the University of California.
3*36798Sbostic  * All rights reserved.
4*36798Sbostic  *
5*36798Sbostic  * Redistribution and use in source and binary forms are permitted
6*36798Sbostic  * provided that the above copyright notice and this paragraph are
7*36798Sbostic  * duplicated in all such forms and that any documentation,
8*36798Sbostic  * advertising materials, and other materials related to such
9*36798Sbostic  * distribution and use acknowledge that the software was developed
10*36798Sbostic  * by the University of California, Berkeley.  The name of the
11*36798Sbostic  * University may not be used to endorse or promote products derived
12*36798Sbostic  * from this software without specific prior written permission.
13*36798Sbostic  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14*36798Sbostic  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15*36798Sbostic  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16*36798Sbostic  *
17*36798Sbostic  *	@(#)limits.h	5.1 (Berkeley) 02/15/89
18*36798Sbostic  */
19*36798Sbostic 
20*36798Sbostic #include <machine/machlimits.h>
21*36798Sbostic 
22*36798Sbostic #define	ARG_MAX		4096	/* max bytes for an exec function */
23*36798Sbostic #define	CHILD_MAX	6	/* max simultaneous processes */
24*36798Sbostic #define	OPEN_MAX	16	/* max open files per process */
25*36798Sbostic #define	LINK_MAX	8	/* max file link count */
26*36798Sbostic #define	MAX_CANON	255	/* max bytes in terminal canonical input line */
27*36798Sbostic #define	MAX_INPUT	255	/* max bytes in terminal input */
28*36798Sbostic #define	NAME_MAX	14	/* max number of bytes in a file name */
29*36798Sbostic #define	PATH_MAX	255	/* max number of bytes in pathname */
30*36798Sbostic #define	PIPE_BUF	512	/* max number of bytes for atomic pipe writes */
31*36798Sbostic #define	NGROUPS_MAX	0	/* max number of supplemental group id's */
32