(argz_create): Fix param type.
[glibc.git] / posix / posix2_lim.h
blob8dda66dad47239b31204b49a0095f654ac276241
1 /* Copyright (C) 1991, 1996 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
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 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public
15 License along with the GNU C Library; see the file COPYING.LIB. If
16 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
17 Cambridge, MA 02139, USA. */
19 #ifndef _POSIX2_LIMITS_H
21 #define _POSIX2_LIMITS_H 1
24 /* The maximum `ibase' and `obase' values allowed by the `bc' utility. */
25 #define _POSIX2_BC_BASE_MAX 99
27 /* The maximum number of elements allowed in an array by the `bc' utility. */
28 #define _POSIX2_BC_DIM_MAX 2048
30 /* The maximum `scale' value allowed by the `bc' utility. */
31 #define _POSIX2_BC_SCALE_MAX 99
33 /* The maximum length of a string constant accepted by the `bc' utility. */
34 #define _POSIX2_BC_STRING_MAX 1000
36 /* The maximum number of weights that can be assigned to an entry of
37 the LC_COLLATE category `order' keyword in a locale definition. */
38 #define _POSIX2_EQUIV_CLASS_MAX 2
40 /* The maximum number of expressions that can be nested
41 within parentheses by the `expr' utility. */
42 #define _POSIX2_EXPR_NEST_MAX 32
44 /* The maximum length, in bytes, of an input line. */
45 #define _POSIX2_LINE_MAX 2048
47 /* The maximum number of repeated occurrences of a regular expression
48 permitted when using the interval notation `\{M,N\}'. */
49 #define _POSIX2_RE_DUP_MAX 255
51 /* The manimum number of bytes in a character class name. */
52 #define _POSIX2_CHARCLASS_NAME_MAX 14
55 /* These values are implementation-specific,
56 and may vary within the implementation.
57 Their precise values can be obtained from sysconf. */
59 #ifndef BC_BASE_MAX
60 #define BC_BASE_MAX _POSIX2_BC_BASE_MAX
61 #endif
62 #ifndef BC_DIM_MAX
63 #define BC_DIM_MAX _POSIX2_BC_DIM_MAX
64 #endif
65 #ifndef BC_SCALE_MAX
66 #define BC_SCALE_MAX _POSIX2_BC_SCALE_MAX
67 #endif
68 #ifndef BC_STRING_MAX
69 #define BC_STRING_MAX _POSIX2_BC_STRING_MAX
70 #endif
71 #ifndef EQUIV_CLASS_MAX
72 #define EQUIV_CLASS_MAX _POSIX2_EQUIV_CLASS_MAX
73 #endif
74 #ifndef EXPR_NEST_MAX
75 #define EXPR_NEST_MAX _POSIX2_EXPR_NEST_MAX
76 #endif
77 #ifndef LINE_MAX
78 #define LINE_MAX _POSIX2_LINE_MAX
79 #endif
80 #ifndef RE_DUP_MAX
81 #define RE_DUP_MAX _POSIX2_RE_DUP_MAX
82 #endif
83 #ifndef CHARCLASS_NAME_MAX
84 #define CHARCLASS_NAME_MAX _POSIX2_CHARCLASS_NAME_MAX
85 #endif
88 #endif /* posix2_limits.h */