| 81 | //------------------------------------------------------------------------- |
| 82 | |
| 83 | int |
| 84 | RecSnapFileRead(RecHandle h_file, char *buf, int size, int *bytes_read) |
| 85 | { |
| 86 | if ((*bytes_read = ::pread(h_file, buf, size, VERSION_HDR_SIZE)) <= 0) { |
| 87 | *bytes_read = 0; |
| 88 | return REC_ERR_FAIL; |
| 89 | } |
| 90 | return REC_ERR_OKAY; |
| 91 | } |
| 92 | |
| 93 | //------------------------------------------------------------------------- |
| 94 | // RecFileRead |
no outgoing calls
no test coverage detected