Deleted Added
full compact
syslimits.h (1938) syslimits.h (2165)
1/*
2 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)syslimits.h 8.1 (Berkeley) 6/2/93
1/*
2 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)syslimits.h 8.1 (Berkeley) 6/2/93
34 * $Id: syslimits.h,v 1.3 1994/08/07 23:00:50 wollman Exp $
34 * $Id: syslimits.h,v 1.4 1994/08/08 09:12:43 davidg Exp $
35 */
36
35 */
36
37#ifndef _SYS_SYSLIMITS_H_
38#define _SYS_SYSLIMITS_H_
39
37#define ARG_MAX 65536 /* max bytes for an exec function */
38#define CHILD_MAX 40 /* max simultaneous processes */
39#define LINK_MAX 32767 /* max file link count */
40#define MAX_CANON 255 /* max bytes in term canon input line */
41#define MAX_INPUT 255 /* max bytes in terminal input */
42#define NAME_MAX 255 /* max bytes in a file name */
43#define NGROUPS_MAX 16 /* max supplemental group id's */
44#define OPEN_MAX 64 /* max open files per process */
45#define PATH_MAX 1024 /* max bytes in pathname */
46#define PIPE_BUF 512 /* max bytes for atomic pipe writes */
47
48#define BC_BASE_MAX 99 /* max ibase/obase values in bc(1) */
49#define BC_DIM_MAX 2048 /* max array elements in bc(1) */
50#define BC_SCALE_MAX 99 /* max scale value in bc(1) */
51#define BC_STRING_MAX 1000 /* max const string length in bc(1) */
52#define COLL_WEIGHTS_MAX 0 /* max weights for order keyword */
53#define EXPR_NEST_MAX 32 /* max expressions nested in expr(1) */
54#define LINE_MAX 2048 /* max bytes in an input line */
55#define RE_DUP_MAX 255 /* max RE's in interval notation */
40#define ARG_MAX 65536 /* max bytes for an exec function */
41#define CHILD_MAX 40 /* max simultaneous processes */
42#define LINK_MAX 32767 /* max file link count */
43#define MAX_CANON 255 /* max bytes in term canon input line */
44#define MAX_INPUT 255 /* max bytes in terminal input */
45#define NAME_MAX 255 /* max bytes in a file name */
46#define NGROUPS_MAX 16 /* max supplemental group id's */
47#define OPEN_MAX 64 /* max open files per process */
48#define PATH_MAX 1024 /* max bytes in pathname */
49#define PIPE_BUF 512 /* max bytes for atomic pipe writes */
50
51#define BC_BASE_MAX 99 /* max ibase/obase values in bc(1) */
52#define BC_DIM_MAX 2048 /* max array elements in bc(1) */
53#define BC_SCALE_MAX 99 /* max scale value in bc(1) */
54#define BC_STRING_MAX 1000 /* max const string length in bc(1) */
55#define COLL_WEIGHTS_MAX 0 /* max weights for order keyword */
56#define EXPR_NEST_MAX 32 /* max expressions nested in expr(1) */
57#define LINE_MAX 2048 /* max bytes in an input line */
58#define RE_DUP_MAX 255 /* max RE's in interval notation */
59
60#endif