Annotation of src/usr.bin/getconf/getconf.1, Revision 1.6
1.6 ! aaron 1: .\" $OpenBSD: getconf.1,v 1.5 1999/06/05 01:21:26 aaron Exp $
1.2 deraadt 2: .\" $NetBSD: getconf.1,v 1.2 1996/04/20 01:15:12 jtc Exp $
3: .\"
4: .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
1.1 deraadt 5: .\" All rights reserved.
6: .\"
1.2 deraadt 7: .\" This code is derived from software contributed to The NetBSD Foundation
8: .\" by J.T. Conklin.
9: .\"
1.1 deraadt 10: .\" Redistribution and use in source and binary forms, with or without
11: .\" modification, are permitted provided that the following conditions
12: .\" are met:
13: .\" 1. Redistributions of source code must retain the above copyright
14: .\" notice, this list of conditions and the following disclaimer.
15: .\" 2. Redistributions in binary form must reproduce the above copyright
16: .\" notice, this list of conditions and the following disclaimer in the
17: .\" documentation and/or other materials provided with the distribution.
18: .\" 3. All advertising materials mentioning features or use of this software
19: .\" must display the following acknowledgement:
20: .\" This product includes software developed by Winning Strategies, Inc.
21: .\" 4. The name of the author may not be used to endorse or promote products
22: .\" derived from this software without specific prior written permission.
23: .\"
24: .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
25: .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
26: .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
27: .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
28: .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
29: .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30: .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31: .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32: .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
33: .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34: .\"
35: .\"
36: .Dd June 24, 1994
37: .Dt GETCONF 1
38: .Os
39: .Sh NAME
40: .Nm getconf
41: .Nd get configuration values
42: .Sh SYNOPSIS
43: .Nm getconf
44: .Ar name
45: .Op Ar pathname
46: .Sh DESCRIPTION
47: The
1.5 aaron 48: .Nm
49: utility writes the current value of a configurable system limit or
1.1 deraadt 50: option variable to the standard output.
51: .Pp
52: The
53: .Ar name
1.4 aaron 54: argument specifies the system variable to be queried.
1.5 aaron 55: The
56: .Ar pathname
1.1 deraadt 57: argument must be supplied for system variables associated with a
58: pathname.
1.6 ! aaron 59: .Pp
1.1 deraadt 60: The
1.5 aaron 61: .Nm
1.4 aaron 62: utility exits 0 on success or >0 if an error occurred.
1.1 deraadt 63: .Sh SEE ALSO
64: .Xr pathconf 2 ,
65: .Xr confstr 3 ,
66: .Xr sysconf 3
67: .Sh STANDARDS
68: The
1.5 aaron 69: .Nm
1.1 deraadt 70: utility conforms to
71: .St -p1003.2-92 .