2011-10-11 Yaakov Selkowitz * utils.sgml (getconf): Expand documentation. Index: utils.sgml =================================================================== RCS file: /cvs/src/src/winsup/utils/utils.sgml,v retrieving revision 1.95 diff -u -p -r1.95 utils.sgml --- utils.sgml 10 Oct 2011 14:57:48 -0000 1.95 +++ utils.sgml 11 Oct 2011 16:43:53 -0000 @@ -484,15 +484,31 @@ Other options: The getconf utility prints the value of the configuration variable specified by variable_name. -If pathname is given, getconf prints -the value of the configuration variable for the specified pathname. +If no pathname is given, getconf +serves as a wrapper for the confstr and +sysconf functions, supporting the symbolic constants +defined in the limits.h and unistd.h +headers, without their respective _CS_ or +_SC_ prefixes. + + +If pathname is given, getconf +prints the value of the configuration variable for the specified pathname. +In this form, getconf serves as a wrapper for the +pathconf function, supporting the symbolic constants defined +in the unistd.h header, without the _PC_ +prefix. If you specify the -v option, the parameter denotes a specification for which the value of the configuration variable -should be printed. +should be printed. Note that the only specifications supported by Cygwin +are POSIX_V7_ILP32_OFFBIG and the legacy +POSIX_V6_ILP32_OFFBIG and +XBS5_ILP32_OFFBIG equivalents. Use the -a option to print a list of all available -configuration variables. +configuration variables for the system, or given pathname, +and their values.