summaryrefslogtreecommitdiff
path: root/libgps.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-02-02 20:57:13 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-02-02 20:57:13 -0500
commit3f08bac0e83e3b09be1a3466facf652e780041d0 (patch)
tree7f19db1aa0a5b9253487a628ab33f4cf7bd812bf /libgps.xml
parentb7856ae81695ad71de425510e4c8fa6d6dca6cee (diff)
downloadgpsd-3f08bac0e83e3b09be1a3466facf652e780041d0.tar.gz
Correct an error pointed out by Danny Backx.
Diffstat (limited to 'libgps.xml')
-rw-r--r--libgps.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps.xml b/libgps.xml
index 7d656549..3740cfb3 100644
--- a/libgps.xml
+++ b/libgps.xml
@@ -95,7 +95,7 @@ structure to hold the data collected by the GPS, and returns a socket
attached to
<citerefentry><refentrytitle>gpsd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
-<function>gps_open()</function> returns NULL on errors and is
+<function>gps_open()</function> returns 0 on success, -1 on errors and is
re-entrant. errno is set depending on the error returned from the the
socket layer; see <filename>gps.h</filename> for values and
explanations; also see <function>gps_errstr()</function>. The host