Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/getconf Document where the system_var and path_var v...



details:   https://anonhg.NetBSD.org/src/rev/4dabd8039a99
branches:  trunk
changeset: 571049:4dabd8039a99
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Nov 10 04:29:56 2004 +0000

description:
Document where the system_var and path_var variable names are determined from.

diffstat:

 usr.bin/getconf/getconf.1 |  30 ++++++++++++++++++++++--------
 1 files changed, 22 insertions(+), 8 deletions(-)

diffs (60 lines):

diff -r 3b40245f0fb2 -r 4dabd8039a99 usr.bin/getconf/getconf.1
--- a/usr.bin/getconf/getconf.1 Wed Nov 10 04:22:31 2004 +0000
+++ b/usr.bin/getconf/getconf.1 Wed Nov 10 04:29:56 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getconf.1,v 1.7 2002/02/08 01:36:24 ross Exp $
+.\"    $NetBSD: getconf.1,v 1.8 2004/11/10 04:29:56 lukem Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -34,7 +34,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 24, 1994
+.Dd November 10, 2004
 .Dt GETCONF 1
 .Os
 .Sh NAME
@@ -42,8 +42,10 @@
 .Nd get configuration values
 .Sh SYNOPSIS
 .Nm
-.Ar name
-.Op Ar pathname
+.Ar system_var
+.Nm
+.Ar path_var
+.Ar pathname
 .Sh DESCRIPTION
 The
 .Nm
@@ -51,12 +53,24 @@
 option variable to the standard output.
 .Pp
 The
-.Ar name
-argument specifies the system variable to be queried .
+.Ar system_var
+argument specifies the system variable to be queried.
+The names of the system variables are from
+.Xr sysconf 3
+with the leading
+.Dq Li _SC_
+removed.
+.Pp
 The
+.Ar path_var
+argument specifies the pathname variable to be queried for the specified
 .Ar pathname
-argument must be supplied for system variables associated with a
-pathname.
+argument.
+The names of the pathname variables are from
+.Xr pathconf 3
+with the leading
+.Dq Li _PC_
+removed.
 .Sh EXIT STATUS
 The
 .Nm



Home | Main Index | Thread Index | Old Index