summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-07-14 13:38:41 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-07-14 13:38:41 -0400
commit3771dba081bd1175adab6096d7b6270d3822aaa1 (patch)
treea82f63ea6c73f50abf2e7485ac5860947a328327 /libgpsmm.h
parent0ed4411238709e8860029e6428baafe461985051 (diff)
downloadgpsd-3771dba081bd1175adab6096d7b6270d3822aaa1.tar.gz
Carry through and document the poll() -> read() change.
Diffstat (limited to 'libgpsmm.h')
-rw-r--r--libgpsmm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsmm.h b/libgpsmm.h
index b5cf0035..9b41d983 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -24,7 +24,7 @@ class LIBQGPSMMSHARED_EXPORT gpsmm {
struct gps_data_t* open(void); //open() with default values
struct gps_data_t* send(const char *request); //put a command to gpsd and return the updated struct
struct gps_data_t* stream(int); //set watcher and policy flags
- struct gps_data_t* poll(void); //block until gpsd returns new data, then return the updated struct
+ struct gps_data_t* read(void); //block until gpsd returns new data, then return the updated struct
int close(void); // close the GPS
bool waiting(void); //nonblocking check for data waitin
void clear_fix(void);