Drop a file associated with an indev.
| 106 | |
| 107 | // Drop a file associated with an indev. |
| 108 | void InputDevices::indev::drop() |
| 109 | { |
| 110 | fb_assert(indev_fpointer != stdin); |
| 111 | fb_assert(!indev_fn.isEmpty()); // Some name should exist. |
| 112 | fclose(indev_fpointer); |
| 113 | unlink(indev_fn.c_str()); |
| 114 | } |
| 115 | |
| 116 | // Save the reading position in the parameter. |
| 117 | void InputDevices::indev::getPos(fpos_t* out) const |