Stores the current file position of a stream in an object.
#include <stdio.h> int fgetpos64 ( FILE *fp, fpos64_t *pos);
(IN) Points to the file.
(OUT) Points to the object into which the position of the file is stored.
If successful, returns 0. Otherwise, returns a nonzero value and sets errno to one of the following:
The fgetpos64 function stores the current position of the file pointed to by fp in the object pointed to by pos. The value stored in pos is usable by the fsetpos64 function for repositioning the file to the position it had at the time of the call to fgetpos64.
The fgetpos64 function is equivalent to fgetpos except that it handles files larger than 2 GB.