| 145 | //------------------------------------------------------------------------- |
| 146 | |
| 147 | int |
| 148 | RecFileGetSize(RecHandle h_file) |
| 149 | { |
| 150 | struct stat fileStats; |
| 151 | fstat(h_file, &fileStats); |
| 152 | return static_cast<int>(fileStats.st_size); |
| 153 | } |
| 154 | |
| 155 | //------------------------------------------------------------------------- |
| 156 | // RecFileExists |
no outgoing calls
no test coverage detected