The following example moves to the beginning of an open file using the mmioSeek function.
mmioSeek(hFile, 0L, SEEK_SET);
The following example moves to the end of an open file.
mmioSeek(hFile, 0L, SEEK_END);
The following example moves to a position 10 bytes from the end of an open file.
mmioSeek(hFile, -10L, SEEK_END);