| 1187 | #ifdef UNIX |
| 1188 | |
| 1189 | static inline void reportError(const char* func, CheckStatusWrapper* statusVector) |
| 1190 | { |
| 1191 | if (!statusVector) |
| 1192 | system_call_failed::raise(func); |
| 1193 | else |
| 1194 | error(statusVector, func, errno); |
| 1195 | } |
| 1196 | |
| 1197 | bool allocFileSpace(int fd, off_t offset, FB_SIZE_T length, CheckStatusWrapper* statusVector) |
| 1198 | { |
no test coverage detected