This method is called in response to fseek().
The read/write position of the stream should be updated according to the
offset and whence .
$whence can one of:
SEEK_SET - Set position equal to offset bytes.
SEEK_CUR - Set position to current location plus offset.
SEEK_END - Set position to end-of-file plus offset.