modernc.org/cc@v1.0.1/v2/headers/linux_arm/usr/include/arm-linux-gnueabihf/bits/posix2_lim.h (about)

     1  /* Copyright (C) 1991-2016 Free Software Foundation, Inc.
     2     This file is part of the GNU C Library.
     3  
     4     The GNU C Library is free software; you can redistribute it and/or
     5     modify it under the terms of the GNU Lesser General Public
     6     License as published by the Free Software Foundation; either
     7     version 2.1 of the License, or (at your option) any later version.
     8  
     9     The GNU C Library is distributed in the hope that it will be useful,
    10     but WITHOUT ANY WARRANTY; without even the implied warranty of
    11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    12     Lesser General Public License for more details.
    13  
    14     You should have received a copy of the GNU Lesser General Public
    15     License along with the GNU C Library; if not, see
    16     <http://www.gnu.org/licenses/>.  */
    17  
    18  /*
    19   * Never include this file directly; include <limits.h> instead.
    20   */
    21  
    22  #ifndef	_BITS_POSIX2_LIM_H
    23  #define	_BITS_POSIX2_LIM_H	1
    24  
    25  /* The maximum `ibase' and `obase' values allowed by the `bc' utility.  */
    26  #define	_POSIX2_BC_BASE_MAX		99
    27  
    28  /* The maximum number of elements allowed in an array by the `bc' utility.  */
    29  #define	_POSIX2_BC_DIM_MAX		2048
    30  
    31  /* The maximum `scale' value allowed by the `bc' utility.  */
    32  #define	_POSIX2_BC_SCALE_MAX		99
    33  
    34  /* The maximum length of a string constant accepted by the `bc' utility.  */
    35  #define	_POSIX2_BC_STRING_MAX		1000
    36  
    37  /* The maximum number of weights that can be assigned to an entry of
    38     the LC_COLLATE `order' keyword in the locale definition file.  */
    39  #define	_POSIX2_COLL_WEIGHTS_MAX	2
    40  
    41  /* The maximum number of expressions that can be nested
    42     within parentheses by the `expr' utility.  */
    43  #define	_POSIX2_EXPR_NEST_MAX		32
    44  
    45  /* The maximum length, in bytes, of an input line.  */
    46  #define	_POSIX2_LINE_MAX		2048
    47  
    48  /* The maximum number of repeated occurrences of a regular expression
    49     permitted when using the interval notation `\{M,N\}'.  */
    50  #define	_POSIX2_RE_DUP_MAX		255
    51  
    52  /* The maximum number of bytes in a character class name.  We have no
    53     fixed limit, 2048 is a high number.  */
    54  #define	_POSIX2_CHARCLASS_NAME_MAX	14
    55  
    56  /* These values are implementation-specific,
    57     and may vary within the implementation.
    58     Their precise values can be obtained from sysconf.  */
    59  
    60  #ifndef	BC_BASE_MAX
    61  #define	BC_BASE_MAX		_POSIX2_BC_BASE_MAX
    62  #endif
    63  #ifndef	BC_DIM_MAX
    64  #define	BC_DIM_MAX		_POSIX2_BC_DIM_MAX
    65  #endif
    66  #ifndef	BC_SCALE_MAX
    67  #define	BC_SCALE_MAX		_POSIX2_BC_SCALE_MAX
    68  #endif
    69  #ifndef	BC_STRING_MAX
    70  #define	BC_STRING_MAX		_POSIX2_BC_STRING_MAX
    71  #endif
    72  #ifndef	COLL_WEIGHTS_MAX
    73  #define	COLL_WEIGHTS_MAX	255
    74  #endif
    75  #ifndef	EXPR_NEST_MAX
    76  #define	EXPR_NEST_MAX		_POSIX2_EXPR_NEST_MAX
    77  #endif
    78  #ifndef	LINE_MAX
    79  #define	LINE_MAX		_POSIX2_LINE_MAX
    80  #endif
    81  #ifndef	CHARCLASS_NAME_MAX
    82  #define	CHARCLASS_NAME_MAX	2048
    83  #endif
    84  
    85  /* This value is defined like this in regex.h.  */
    86  #define	RE_DUP_MAX (0x7fff)
    87  
    88  #endif				/* bits/posix2_lim.h */