Synopsis
#include <cross_studio_io.h>
int debug_fseek(DEBUG_FILE *stream, long offset, int origin);
Description

debug_fseek sets the file position for 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 non-zero on error.

Portability

debug_fseek is an extension provided by CrossWorks C.