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 * @(#)syslimits.h 8.1 (Berkeley) 06/02/93 8 */ 9 10 #define ARG_MAX 20480 /* max bytes for an exec function */ 11 #define CHILD_MAX 40 /* max simultaneous processes */ 12 #define LINK_MAX 32767 /* max file link count */ 13 #define MAX_CANON 255 /* max bytes in term canon input line */ 14 #define MAX_INPUT 255 /* max bytes in terminal input */ 15 #define NAME_MAX 255 /* max bytes in a file name */ 16 #define NGROUPS_MAX 16 /* max supplemental group id's */ 17 #define OPEN_MAX 64 /* max open files per process */ 18 #define PATH_MAX 1024 /* max bytes in pathname */ 19 #define PIPE_BUF 512 /* max bytes for atomic pipe writes */ 20 21 #define BC_BASE_MAX 99 /* max ibase/obase values in bc(1) */ 22 #define BC_DIM_MAX 2048 /* max array elements in bc(1) */ 23 #define BC_SCALE_MAX 99 /* max scale value in bc(1) */ 24 #define BC_STRING_MAX 1000 /* max const string length in bc(1) */ 25 #define COLL_WEIGHTS_MAX 0 /* max weights for order keyword */ 26 #define EXPR_NEST_MAX 32 /* max expressions nested in expr(1) */ 27 #define LINE_MAX 2048 /* max bytes in an input line */ 28 #define RE_DUP_MAX 255 /* max RE's in interval notation */ 29