Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Seeking to a New Position in a File

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); 



 

 

Community Additions

Show:
© 2015 Microsoft