1 /* 2 * Copyright (c) 1988 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)syslimits.h 7.3 (Berkeley) 06/28/90 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 terminal canonical input line */ 14 #define MAX_INPUT 255 /* max bytes in terminal input */ 15 #define NAME_MAX 255 /* max number of bytes in a file name */ 16 #define NGROUPS_MAX 16 /* max number of supplemental group id's */ 17 #define OPEN_MAX 64 /* max open files per process */ 18 #define PATH_MAX 1024 /* max number of bytes in pathname */ 19 #define PIPE_BUF 512 /* max number of bytes for atomic pipe writes */ 20