summaryrefslogtreecommitdiff
path: root/libgps.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-09 22:51:18 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-09 22:51:18 -0500
commitfacc08793683c63cc658d0ae549f3561411f0a08 (patch)
treef22ff00cf1dd2f7df28c325b40b0f0783ecee463 /libgps.xml
parent5b4af8cc002773058ad744f9c2f9975284b09224 (diff)
downloadgpsd-facc08793683c63cc658d0ae549f3561411f0a08.tar.gz
Implement and document GPSD_SHM_KEY environment variable.
Diffstat (limited to 'libgps.xml')
-rw-r--r--libgps.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/libgps.xml b/libgps.xml
index d9abebd5..d9f82db8 100644
--- a/libgps.xml
+++ b/libgps.xml
@@ -261,6 +261,16 @@ as in the example given below. Resources within the session object
will be properly released when it is garbage-collected.</para>
</refsect1>
+<refsect1 id='environment'><title>ENVIRONMENT VARIABLES</title>
+
+<para>By setting the environment variable <envar>GPSD_SHM_KEY</envar>,
+you can control the key value used to create shared-memory segment
+used for communication with <application>gpsd</application>. This
+will be useful mainly when isolating test instances of
+<application>gpsd</application> from production ones.</para>
+
+</refsect1>
+
<refsect1 id='example'><title>CODE EXAMPLE</title>
<para>The following is an excerpted and simplified version of the