Back to index

glibc  2.9
confname.h
Go to the documentation of this file.
00001 /* `sysconf', `pathconf', and `confstr' NAME values.  Generic version.
00002    Copyright (C) 1993, 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 #define _PC_LINK_MAX        0
00026 #define _PC_MAX_CANON              1
00027 #define _PC_MAX_INPUT              2
00028 #define _PC_NAME_MAX        3
00029 #define _PC_PATH_MAX        4
00030 #define _PC_PIPE_BUF        5
00031 #define _PC_CHOWN_RESTRICTED       6
00032 #define _PC_NO_TRUNC        7
00033 #define _PC_VDISABLE        8
00034 
00035 /* Values for the argument to `sysconf'.  */
00036 #define _SC_ARG_MAX         0
00037 #define _SC_CHILD_MAX              1
00038 #define _SC_CLK_TCK         2
00039 #define _SC_NGROUPS_MAX            3
00040 #define _SC_OPEN_MAX        4
00041 #define _SC_JOB_CONTROL            5
00042 #define _SC_SAVED_IDS              6
00043 #define _SC_VERSION         7
00044 #define _SC_PASS_MAX        8
00045 #define _SC_XOPEN_VERSION   9
00046 #define _SC_TZNAME_MAX             666 /* Not handled by SCO's system call.  */
00047 
00048 #ifdef __USE_POSIX2
00049 /* Values for the NAME argument to `confstr'.  */
00050 enum
00051   {
00052     _CS_PATH                /* The default search path.  */
00053   };
00054 #endif