Introduction
Introduction Statistics Contact Development Disclaimer Help
getconf.1 - sbase - suckless unix tools
git clone git://git.suckless.org/sbase
Log
Files
Refs
README
LICENSE
---
getconf.1 (849B)
---
1 .Dd October 8, 2015
2 .Dt GETCONF 1
3 .Os sbase
4 .Sh NAME
5 .Nm getconf
6 .Nd get configuration values
7 .Sh SYNOPSIS
8 .Nm
9 .Op Fl v Ar spec
10 .Ar var
11 .Ar [path]
12 .Sh DESCRIPTION
13 .Nm
14 writes the value of the variable
15 .Ar var
16 to stdout.
17 .sp
18 If
19 .Ar path
20 is given,
21 .Ar var
22 is matched against configuration values from
23 .Xr pathconf 3 .
24 If
25 .Ar path
26 is not given,
27 .Ar var
28 is matched against configuration values from
29 .Xr sysconf 3 ,
30 .Xr confstr 3
31 and limits.h (Minimum and Maximum).
32 .sp
33 If
34 .Ar var
35 is not defined,
36 .Nm
37 writes "undefined" to stdout.
38 .Sh OPTIONS
39 .Bl -tag -width Ds
40 .It Fl v Ar spec
41 Ignored.
42 .El
43 .Sh EXIT STATUS
44 .Bl -tag -width Ds
45 .It 0
46 .Ar var
47 was matched and its value written successfully.
48 .It 1
49 An error occured or
50 .Ar var
51 was invalid.
52 .El
53 .Sh STANDARDS
54 The
55 .Nm
56 utility is compliant with the
57 .St -p1003.1-2013
58 specification except from the
59 .Op Fl v
60 flag.
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.