delorie.com/djgpp/doc/utils/utils_12.html   search  
DJGPP Utilities Reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12. getconf

getconf writes the value of configuration dependent variables to standard output.

Usage: getconf [-v specification] [-h] [system_variable] [path_variable path]

-v specification

Return values for configuration variables from the compilation environment specified by specification. Use `getconf -h' to list all supported compilation environments.

-h

Write to standard error all recognized compilation environments and configuration variables. Those configuration variables requiring a path argument are listed with [path] after their names.

When system_variable is given, the value of system_variable is written to standard output. When path_variable is given, the value of path_variable for the pathname path is written to standard output.

Examples:
 
getconf PATH
getconf -v POSIX_V6_ILP32_OFF32 PATH
getconf NAME_MAX c:/djgpp


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Nov 2004