summaryrefslogtreecommitdiff
path: root/libgps.xml
diff options
context:
space:
mode:
authorCharles Curley <charlescurley@charlescurley.com>2011-03-09 08:57:57 -0700
committerEric S. Raymond <esr@thyrsus.com>2011-03-09 12:01:03 -0500
commitbce2d9267b15961f194379fdd2c750f343548381 (patch)
tree704d3a4bd52265136ec24f051ca80a53df2c3c9e /libgps.xml
parent73416d9f6d4cd0dfd48fc54c6a2dbaf0d1e7aa75 (diff)
downloadgpsd-bce2d9267b15961f194379fdd2c750f343548381.tar.gz
Minor tweaks for the libgps man page.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'libgps.xml')
-rw-r--r--libgps.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgps.xml b/libgps.xml
index 2b7fb63d..c3cef16f 100644
--- a/libgps.xml
+++ b/libgps.xml
@@ -126,9 +126,9 @@ 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
-time to wait on input before returning. It returns true if there
-inmput waiting, false on timeout (no data waiting) or error
+there is data from the daemon. The second argument is the maximum amount of
+time to wait (in microseconds) on input before returning. It returns true if there
+input waiting, false on timeout (no data waiting) or error
condition. This function is a convenience wrapper around a
<citerefentry><refentrytitle>select</refentrytitle><manvolnum>2</manvolnum></citerefentry>
call, and zeros <varname>errno</varname> on entry; you can test