@brief Read from file * @param file File handle * @param data Pointer to data buffer in to which to read data * @param size Quantity of data elements to read from file * @retval int Quantity of data elements actually read from file or negative error code */
| 161 | * @retval int Quantity of data elements actually read from file or negative error code |
| 162 | */ |
| 163 | inline int fileRead(FileHandle file, void* data, size_t size) |
| 164 | { |
| 165 | CHECK_FS(read) |
| 166 | return fileSystem->read(file, data, size); |
| 167 | } |
| 168 | |
| 169 | /** @brief Position file cursor |
| 170 | * @param file File handle |
no test coverage detected