diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/mtdev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mtdev.h b/include/mtdev.h index 4170512..c08248b 100644 --- a/include/mtdev.h +++ b/include/mtdev.h | |||
| @@ -163,7 +163,7 @@ int mtdev_idle(struct mtdev *dev, int fd, int ms); | |||
| 163 | * @ev: the kernel input event to fill | 163 | * @ev: the kernel input event to fill |
| 164 | * | 164 | * |
| 165 | * Fetch a kernel event from the kernel device. The read operation | 165 | * Fetch a kernel event from the kernel device. The read operation |
| 166 | * behaves as dictated by the file descriptior; if O_NONBLOCK is not | 166 | * behaves as dictated by the file descriptor; if O_NONBLOCK is not |
| 167 | * set, the read will block until an event is available. | 167 | * set, the read will block until an event is available. |
| 168 | * | 168 | * |
| 169 | * On success, returns the number of events read. Otherwise, a standard | 169 | * On success, returns the number of events read. Otherwise, a standard |
| @@ -194,7 +194,7 @@ void mtdev_put(struct mtdev *dev, const struct input_event *ev); | |||
| 194 | * Read a maxmimum of max_events events from the device, and put them | 194 | * Read a maxmimum of max_events events from the device, and put them |
| 195 | * in the converter. If max_events is zero, all available events will | 195 | * in the converter. If max_events is zero, all available events will |
| 196 | * be read. The read operation behaves as dictated by the file | 196 | * be read. The read operation behaves as dictated by the file |
| 197 | * descriptior; if O_NONBLOCK is not set, the read will block until | 197 | * descriptor; if O_NONBLOCK is not set, the read will block until |
| 198 | * max_events events are available or the buffer is full. | 198 | * max_events events are available or the buffer is full. |
| 199 | * | 199 | * |
| 200 | * On success, returns the number of events read. Otherwise, a standard | 200 | * On success, returns the number of events read. Otherwise, a standard |
