我有一个使用SetFilePointer()
的函数
HANDLE In;
SetFilePointer(In, 3, NULL, 0);
我想将此函数应用于非windows平台,并将指向FILE(FILE*(的指针作为参数。
Set_File_Pointer_SomeHow((的功能与SetFilePointer((相同,我可以使用哪个函数
FILE* In;
Set_File_Pointer_SomeHow(In, );
我想你想要std::fseek(std::FILE* stream, long offset, int origin)
。