diff options
author | Bernd Zeimetz <bernd@bzed.de> | 2010-03-30 11:07:46 +0200 |
---|---|---|
committer | Bernd Zeimetz <bernd@bzed.de> | 2010-03-30 11:07:46 +0200 |
commit | bc633c9b2b9a5993c7d561615bf44775f0423cb3 (patch) | |
tree | 41c9ee6a292e0a32e985e7662151e1f4cabb4dbe /libgps.xml | |
parent | e57075ab0fbcfe4cee10aec337efb4b636d7dc68 (diff) | |
parent | b6745e1d1878d305a71ef6eb6b78be47a2254f23 (diff) | |
download | gpsd-bc633c9b2b9a5993c7d561615bf44775f0423cb3.tar.gz |
Merge branch 'master' of git.berlios.de:/gitroot/gpsd
Diffstat (limited to 'libgps.xml')
-rw-r--r-- | libgps.xml | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -147,8 +147,9 @@ of responses, from the daemon and interprets it as though it were a query response (the return value is as for a query). <function>gps_poll()</function> returns the validity mask of the received structure. This function does a blocking read waiting for -data from the daemon; it returns 0 for success, or -1 on a Unix-level -read error. </para> +data from the daemon; it returns 0 for success, -1 with errno set on a +Unix-level read error, -1 with errno not set if the socket to +the daemon has closed. </para> <para><function>gps_waiting()</function> can be used to check whether there is data from the daemon. It returns true if there is, |