summaryrefslogtreecommitdiff
path: root/libgps.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-09 09:19:11 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-03-09 09:19:11 -0500
commitc02003184926e096884bd741c44da0733fd05761 (patch)
tree8bd885598558fed68f79b2601fc11a282eca6eab /libgps.xml
parent2663033714a98a9c9ea1165c330371b949faec0d (diff)
downloadgpsd-c02003184926e096884bd741c44da0733fd05761.tar.gz
POLL_NONBLOCK is no more.
Diffstat (limited to 'libgps.xml')
-rw-r--r--libgps.xml13
1 files changed, 5 insertions, 8 deletions
diff --git a/libgps.xml b/libgps.xml
index b71af88d..2b7fb63d 100644
--- a/libgps.xml
+++ b/libgps.xml
@@ -120,11 +120,10 @@ alternative.</para>
<para><function>gps_read()</function> accepts a response, or sequence
of responses, from the daemon and interprets it as though it were a
query response (the return value is as for a query). This function
-does a nonblocking read for data from the daemon; it returns a
-count of bytes read 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, and 0 if POLL_NONBLOCK was passed to gps_stream() and no data
-is yet available.</para>
+does a nonblocking read for data from the daemon; it returns a count
+of bytes read 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,
+and 0 if no data is available.</para>
<para><function>gps_waiting()</function> can be used to check whether
there is data from the daemon. The argument is the maximum amount of
@@ -234,9 +233,7 @@ initialization of a gps session object; the other calls are methods of
that object, and have the same names as the corresponding C functions.
However, it is simpler just to use the session object as an iterator,
as in the example given below. Resources within the session object
-will be properly released when it is garbage-collected. Note one
-limitation: POLL_NONBLOCK is not yet supported in Python; use the
-waiting() method instead.</para>
+will be properly released when it is garbage-collected.</para>
</refsect1>
<refsect1 id='example'><title>CODE EXAMPLE</title>