From facc08793683c63cc658d0ae549f3561411f0a08 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 9 Feb 2015 22:51:18 -0500 Subject: Implement and document GPSD_SHM_KEY environment variable. --- libgps.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libgps.xml') 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. +ENVIRONMENT VARIABLES + +By setting the environment variable GPSD_SHM_KEY, +you can control the key value used to create shared-memory segment +used for communication with gpsd. This +will be useful mainly when isolating test instances of +gpsd from production ones. + + + CODE EXAMPLE The following is an excerpted and simplified version of the -- cgit v1.2.1