limits.h revision 1539
11539Srgrimes/* 21539Srgrimes * Copyright (c) 1988, 1993 31539Srgrimes * The Regents of the University of California. All rights reserved. 41539Srgrimes * 51539Srgrimes * Redistribution and use in source and binary forms, with or without 61539Srgrimes * modification, are permitted provided that the following conditions 71539Srgrimes * are met: 81539Srgrimes * 1. Redistributions of source code must retain the above copyright 91539Srgrimes * notice, this list of conditions and the following disclaimer. 101539Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 111539Srgrimes * notice, this list of conditions and the following disclaimer in the 121539Srgrimes * documentation and/or other materials provided with the distribution. 131539Srgrimes * 3. All advertising materials mentioning features or use of this software 141539Srgrimes * must display the following acknowledgement: 151539Srgrimes * This product includes software developed by the University of 161539Srgrimes * California, Berkeley and its contributors. 171539Srgrimes * 4. Neither the name of the University nor the names of its contributors 181539Srgrimes * may be used to endorse or promote products derived from this software 191539Srgrimes * without specific prior written permission. 201539Srgrimes * 211539Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 221539Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 231539Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 241539Srgrimes * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 251539Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 261539Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 271539Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 281539Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 291539Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 301539Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 311539Srgrimes * SUCH DAMAGE. 321539Srgrimes * 331539Srgrimes * @(#)limits.h 8.2 (Berkeley) 1/4/94 341539Srgrimes */ 351539Srgrimes 361539Srgrimes#ifndef _LIMITS_H_ 371539Srgrimes#define _LIMITS_H_ 381539Srgrimes 391539Srgrimes#define _POSIX_ARG_MAX 4096 401539Srgrimes#define _POSIX_CHILD_MAX 6 411539Srgrimes#define _POSIX_LINK_MAX 8 421539Srgrimes#define _POSIX_MAX_CANON 255 431539Srgrimes#define _POSIX_MAX_INPUT 255 441539Srgrimes#define _POSIX_NAME_MAX 14 451539Srgrimes#define _POSIX_NGROUPS_MAX 0 461539Srgrimes#define _POSIX_OPEN_MAX 16 471539Srgrimes#define _POSIX_PATH_MAX 255 481539Srgrimes#define _POSIX_PIPE_BUF 512 491539Srgrimes#define _POSIX_SSIZE_MAX 32767 501539Srgrimes#define _POSIX_STREAM_MAX 8 511539Srgrimes#define _POSIX_TZNAME_MAX 3 521539Srgrimes 531539Srgrimes#define _POSIX2_BC_BASE_MAX 99 541539Srgrimes#define _POSIX2_BC_DIM_MAX 2048 551539Srgrimes#define _POSIX2_BC_SCALE_MAX 99 561539Srgrimes#define _POSIX2_BC_STRING_MAX 1000 571539Srgrimes#define _POSIX2_EQUIV_CLASS_MAX 2 581539Srgrimes#define _POSIX2_EXPR_NEST_MAX 32 591539Srgrimes#define _POSIX2_LINE_MAX 2048 601539Srgrimes#define _POSIX2_RE_DUP_MAX 255 611539Srgrimes 621539Srgrimes#include <machine/limits.h> 631539Srgrimes#include <sys/syslimits.h> 641539Srgrimes 651539Srgrimes#endif /* !_LIMITS_H_ */ 66