summaryrefslogtreecommitdiff
path: root/libgps.xml
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2005-03-07 06:37:09 +0000
committerGary E. Miller <gem@rellim.com>2005-03-07 06:37:09 +0000
commit29596c00a96ee0b7fd1fda2f9e02557ef9304994 (patch)
tree8cacc851726f69d7741cae9d93b94e36f30b10d2 /libgps.xml
parent108dbd37c1434f67ad6a904c832648cab724a881 (diff)
downloadgpsd-29596c00a96ee0b7fd1fda2f9e02557ef9304994.tar.gz
gps_open() docuementation error.
Diffstat (limited to 'libgps.xml')
-rw-r--r--libgps.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgps.xml b/libgps.xml
index 7387e74e..edd29c65 100644
--- a/libgps.xml
+++ b/libgps.xml
@@ -84,8 +84,9 @@ at
<para>Calling <function>gpsd_open()</function> initializes a GPS-data
structure to hold the data collected by the GPS, and returns a socket
attached to
-<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>. Negative
-return values indicate errors at the socket layer; see
+<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
+<function>gpsd_open()</function> returns NULL on errors. errno is
+set depending on the error returned from the the socket layer; see
<filename>gps.h</filename> for values and explanations.</para>
<para><function>gpsd_close()</function> ends the session.</para>