diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-08-17 09:55:17 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-08-17 09:55:17 -0700 |
commit | e66a42f57fd20d1c7bbdc5f7937831d13bcf709b (patch) | |
tree | 6aba9ac56780e910339abe7a18ccb80f466ee3d0 /bits/param.h | |
parent | b7c08a66f6b8855ce93743a0f4587667301fa8f9 (diff) | |
download | glibc-e66a42f57fd20d1c7bbdc5f7937831d13bcf709b.tar.gz glibc-e66a42f57fd20d1c7bbdc5f7937831d13bcf709b.tar.xz glibc-e66a42f57fd20d1c7bbdc5f7937831d13bcf709b.zip |
Split sys/param.h out into common file and sysdeps bits/param.h file.
Diffstat (limited to 'bits/param.h')
-rw-r--r-- | bits/param.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/bits/param.h b/bits/param.h new file mode 100644 index 0000000000..8a2bc71de6 --- /dev/null +++ b/bits/param.h @@ -0,0 +1,33 @@ +/* Old-style Unix parameters and limits. Stub version. + Copyright (C) 1995-2012 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + 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. + + 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + +#ifndef _SYS_PARAM_H +# error "Never use <bits/param.h> directly; include <sys/param.h> instead." +#endif + +/* This header is expected to define a few particular macros. + + The traditional BSD macros that correspond directly to POSIX <limits.h> + macros don't need to be defined here if <bits/local_lim.h> defines the + POSIX limit macro, as the common <sys/param.h> code will define each + traditional name to its POSIX name if available. + + This file should define at least: + + EXEC_PAGESIZE +*/ |