| 199 | } |
| 200 | |
| 201 | bool OSFile::close() { |
| 202 | if (info->fp) { |
| 203 | fclose(info->fp); |
| 204 | } |
| 205 | |
| 206 | info->fp = NULL; |
| 207 | |
| 208 | return (!isOpen()); |
| 209 | } |
| 210 | |
| 211 | int OSFile::read(void* data, int _size, int count) { |
| 212 | if (!isOpen()) { |
no outgoing calls
no test coverage detected