| 171 | /* Seek to position in file */ |
| 172 | |
| 173 | my_off_t my_fseek(FILE *stream, my_off_t pos, int whence, |
| 174 | myf MyFlags __attribute__((unused))) |
| 175 | { |
| 176 | DBUG_ENTER("my_fseek"); |
| 177 | DBUG_PRINT("my",("stream: 0x%lx pos: %lu whence: %d MyFlags: %d", |
| 178 | (long) stream, (long) pos, whence, MyFlags)); |
| 179 | DBUG_RETURN(fseek(stream, (off_t) pos, whence) ? |
| 180 | MY_FILEPOS_ERROR : (my_off_t) ftell(stream)); |
| 181 | } /* my_seek */ |
| 182 | |
| 183 | |
| 184 | /* Tell current position of file */ |
no outgoing calls
no test coverage detected