简体   繁体   中英

Equivalent of lseek on Linux in Windows API?

Is there an equivalent of lseek present in POSIX api on Windows? I know about _lseek with io.h but I am looking for something with WIN32 API ie, in Windows.h .

如果您需要大文件支持,似乎您正在寻找SetFilePointer()SetFilePointerEx()

SetFilePointer would be what you are looking for.

In general, MS's website is pretty easy to search for things, by just going to a known function (such as CreateFile ) and then going to the overview of file functions .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM