int debug_fseek(DEBUG_FILE *stream,
long offset,
int origin);debug_fseek sets the file position for the stream. A subsequent read or write will access data at that position. The origin can be one of:
Note that for text files offset must be zero. debug_fseek returns zero on success, non-zero on error.