diff options
author | Gary E. Miller <gem@rellim.com> | 2005-03-07 06:37:09 +0000 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2005-03-07 06:37:09 +0000 |
commit | 29596c00a96ee0b7fd1fda2f9e02557ef9304994 (patch) | |
tree | 8cacc851726f69d7741cae9d93b94e36f30b10d2 /libgps.xml | |
parent | 108dbd37c1434f67ad6a904c832648cab724a881 (diff) | |
download | gpsd-29596c00a96ee0b7fd1fda2f9e02557ef9304994.tar.gz |
gps_open() docuementation error.
Diffstat (limited to 'libgps.xml')
-rw-r--r-- | libgps.xml | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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> |