1995-02-18 01:27:10 +00:00
|
|
|
/* Minimum guaranteed maximum values for system limits. Hurd version.
|
2017-01-01 00:14:16 +00:00
|
|
|
Copyright (C) 1993-2017 Free Software Foundation, Inc.
|
1996-11-15 04:08:00 +00:00
|
|
|
This file is part of the GNU C Library.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
1996-11-15 04:08:00 +00:00
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
2001-07-06 04:58:11 +00:00
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
1996-11-15 04:08:00 +00:00
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2001-07-06 04:58:11 +00:00
|
|
|
Lesser General Public License for more details.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
2001-07-06 04:58:11 +00:00
|
|
|
You should have received a copy of the GNU Lesser General Public
|
2012-02-09 23:18:22 +00:00
|
|
|
License along with the GNU C Library; if not, see
|
|
|
|
<http://www.gnu.org/licenses/>. */
|
1995-02-18 01:27:10 +00:00
|
|
|
|
2002-08-30 08:09:29 +00:00
|
|
|
/* GNU has no arbitrary fixed limits on most of these things, so we
|
|
|
|
don't define the macros. Some things are unlimited. Some are in
|
|
|
|
fact limited but the limit is run-time dependent and fetched with
|
|
|
|
`sysconf' or `pathconf'. */
|
1995-02-18 01:27:10 +00:00
|
|
|
|
2002-08-30 08:09:29 +00:00
|
|
|
/* This one value is actually constrained by the `struct dirent'
|
|
|
|
layout, in which the `d_namlen' member is only 8 bits wide. */
|
|
|
|
|
|
|
|
#define NAME_MAX 255
|
|
|
|
|
|
|
|
/* POSIX.1 requires that we define NGROUPS_MAX (though none of the others
|
1995-02-18 01:27:10 +00:00
|
|
|
is required). GNU allows any number of supplementary groups,
|
|
|
|
dynamically allocated. So we pick a number which seems vaguely
|
|
|
|
suitable, and `sysconf' will return a number at least as large. */
|
1996-11-15 04:08:00 +00:00
|
|
|
|
1995-02-18 01:27:10 +00:00
|
|
|
#define NGROUPS_MAX 256
|