/*
 * limits.h
 */


#ifndef limits_h
#define limits_h


#include<sys/types.h>
#include<machine/values.h>
#include<machine/limits.h>
#include<sys/limits.h>


#define	ARG_MAX			_POSIX_ARG_MAX
#define	ATEXIT_MAX		32
#define	CHILD_MAX		_POSIX_CHILD_MAX
#define LINK_MAX		_POSIX_LINK_MAX
#define	STREAM_MAX		_POSIX_STREAM_MAX
#define	TZNAME_MAX		_POSIX_TZNAME_MAX
#define	OPEN_MAX		_POSIX_OPEN_MAX
#define	NAME_MAX		255
#define	PIPE_BUF		_POSIX_PIPE_BUF
#define	TTY_NAME_MAX	_POSIX_TTY_NAME_MAX
#define	HOST_NAME_MAX	_POSIX_HOST_NAME_MAX
#define	LOGIN_NAME_MAX	_POSIX_LOGIN_NAME_MAX
#define	MAXCOMLEN		16						/* max command name remembered */
#define	NGROUPS_MAX		_POSIX_NGROUPS_MAX
#define MAX_CANON		_POSIX_MAX_CANON
#define MAX_INPUT		_POSIX_MAX_INPUT

#define	BC_BASE_MAX			99		/* max ibase/obase values in bc(1) */
#define	BC_DIM_MAX		 	2048	/* max array elements in bc(1) */
#define	BC_SCALE_MAX		99		/* max scale value in bc(1) */
#define	BC_STRING_MAX		1000	/* max const string length in bc(1) */
#define	COLL_WEIGHTS_MAX	0		/* max weights for order keyword */
#define	EXPR_NEST_MAX		32		/* max expressions nested in expr(1) */
#define	LINE_MAX			2048	/* max bytes in an input line */
#define	RE_DUP_MAX			255		/* max RE's in interval notation */

#endif
