version 1.11, 2010/09/03 11:09:28 |
version 1.12, 2013/03/02 05:33:41 |
|
|
.Nd get configuration values |
.Nd get configuration values |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm getconf |
.Nm getconf |
|
.Op Fl Ll |
|
.Op Fl v Ar specification |
.Ar name |
.Ar name |
.Op Ar pathname |
.Op Ar pathname |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
|
|
.Ar pathname |
.Ar pathname |
argument must be supplied for system variables associated with a |
argument must be supplied for system variables associated with a |
pathname. |
pathname. |
|
.Pp |
|
The options are as follows: |
|
.Bl -tag -width Ds |
|
.It Fl L |
|
List the system variables that can be used with the |
|
.Nm |
|
utility that require a |
|
.Ar pathname |
|
argument. |
|
.It Fl l |
|
List the system variables that can be used with the |
|
.Nm |
|
utility without a |
|
.Ar pathname |
|
argument. |
|
.It Fl v Ar specification |
|
Indicate a specific version and compilation environment for which |
|
configuration variables shall be queried. |
|
.Ox does not change behavior for different compilation environments, |
|
so the argument to this option is only checked for validity. |
|
.El |
.Sh EXIT STATUS |
.Sh EXIT STATUS |
.Ex -std getconf |
.Ex -std getconf |
.Sh SEE ALSO |
.Sh SEE ALSO |
|
|
utility is compliant with the |
utility is compliant with the |
.St -p1003.1-2008 |
.St -p1003.1-2008 |
specification. |
specification. |
|
.Pp |
|
The flags |
|
.Op Fl Ll |
|
are extensions to that specification. |