summaryrefslogtreecommitdiff
path: root/libgps.xml
diff options
context:
space:
mode:
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>