diff options
author | Charles Curley <charlescurley@charlescurley.com> | 2011-03-09 08:57:57 -0700 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-09 12:01:03 -0500 |
commit | bce2d9267b15961f194379fdd2c750f343548381 (patch) | |
tree | 704d3a4bd52265136ec24f051ca80a53df2c3c9e /libgps.xml | |
parent | 73416d9f6d4cd0dfd48fc54c6a2dbaf0d1e7aa75 (diff) | |
download | gpsd-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.xml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |