| 183 | static ssize_t serial_fops_write(struct dfs_file *fd, const void *buf, size_t count, off_t *pos) |
| 184 | #else |
| 185 | static ssize_t serial_fops_write(struct dfs_file *fd, const void *buf, size_t count) |
| 186 | #endif |
| 187 | { |
| 188 | rt_device_t device; |
| 189 | |
| 190 | device = (rt_device_t)fd->vnode->data; |
| 191 | return rt_device_write(device, -1, buf, count); |
| 192 | } |
| 193 | |
| 194 | static int serial_fops_poll(struct dfs_file *fd, struct rt_pollreq *req) |
| 195 | { |
nothing calls this directly
no test coverage detected