ftello/fseeko vs fgetpos/fsetpos
问题 What is the difference between ftello/fseeko and fgetpos/fsetpos? Both seem to be file pointer getting/setting functions that use opaque offset types to sometimes allow 64 bit offsets. Are they supported on different platforms or by different standards? Is one more flexible in the type of the offset it uses? And, by the way, I am aware of fgetpos/fsetpos and ftell/fseek, but this is not a duplicate. That question asks about ftell/fseek, and the answer is not applicable to ftello/fseeko. 回答1: