summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
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);