Back to index

glibc  2.9
confname.h
Go to the documentation of this file.
00001 /* `sysconf', `pathconf', and `confstr' NAME values.  Irix 4 version.
00002    Copyright (C) 1994, 1997 Free Software Foundation, Inc.
00003    This file is part of the GNU C Library.
00004 
00005    The GNU C Library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Lesser General Public
00007    License as published by the Free Software Foundation; either
00008    version 2.1 of the License, or (at your option) any later version.
00009 
00010    The GNU C Library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Lesser General Public License for more details.
00014 
00015    You should have received a copy of the GNU Lesser General Public
00016    License along with the GNU C Library; if not, write to the Free
00017    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00018    02111-1307 USA.  */
00019 
00020 #ifndef _UNISTD_H
00021 # error "Never use <bits/confname.h> directly; include <unistd.h> instead."
00022 #endif
00023 
00024 /* Values for the NAME argument to `pathconf' and `fpathconf'.  */
00025 enum
00026   {
00027     _PC_LINK_MAX = 1,
00028     _PC_MAX_CANON,
00029     _PC_MAX_INPUT,
00030     _PC_NAME_MAX,
00031     _PC_PATH_MAX,
00032     _PC_PIPE_BUF,
00033     _PC_CHOWN_RESTRICTED,
00034     _PC_NO_TRUNC,
00035     _PC_VDISABLE
00036   };
00037 
00038 /* Values for the argument to `sysconf'.  */
00039 enum
00040   {
00041     _SC_ARG_MAX = 1,
00042     _SC_CHILD_MAX,
00043     _SC_CLK_TCK,
00044     _SC_NGROUPS_MAX,
00045     _SC_OPEN_MAX,
00046     _SC_JOB_CONTROL,
00047     _SC_SAVED_IDS,
00048     _SC_VERSION,
00049 
00050     /* Above are done by the Irix system call.
00051        The rest are done by the C library (or are not really implemented).  */
00052 
00053     _SC_STREAM_MAX,
00054     _SC_TZNAME_MAX,
00055     _SC_PAGESIZE,
00056 
00057     /* Values for the argument to `sysconf'
00058        corresponding to _POSIX2_* symbols.  */
00059     _SC_BC_BASE_MAX,
00060     _SC_BC_DIM_MAX,
00061     _SC_BC_SCALE_MAX,
00062     _SC_BC_STRING_MAX,
00063     _SC_COLL_WEIGHTS_MAX,
00064     _SC_EQUIV_CLASS_MAX,
00065     _SC_EXPR_NEST_MAX,
00066     _SC_LINE_MAX,
00067     _SC_RE_DUP_MAX,
00068 
00069     _SC_2_VERSION,
00070     _SC_2_C_BIND,
00071     _SC_2_C_DEV,
00072     _SC_2_FORT_DEV,
00073     _SC_2_FORT_RUN,
00074     _SC_2_SW_DEV,
00075     _SC_2_LOCALEDEF
00076   };
00077 
00078 #ifdef __USE_POSIX2
00079 /* Values for the NAME argument to `confstr'.  */
00080 enum
00081   {
00082     _CS_PATH                /* The default search path.  */
00083   };
00084 #endif