"Fossies" - the Fresh Open Source Software Archive

Member "usr/share/doc/cygwin-ug-net/getconf.html" (19 Aug 2019, 4175 Bytes) of package /windows/misc/cygwin-20190819-x86_64.tar.xz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

Name

getconf — Get configuration values

Synopsis

getconf [-v specification] variable_name [pathname]
getconf -a [pathname]
      

Options

  -v specification     Indicate specific version for which configuration
                       values shall be fetched.
  -a, --all            Print all known configuration values

Other options:

  -h, --help           This text
  -V, --version        Print program version and exit

Description

The getconf utility prints the value of the configuration variable specified by variable_name. 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. 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 for the system, or given pathname, and their values.