mg_fgetp.html
NAME
mg_fgetpos, mg_fgoto - get current file position and seek to pointer
SYNOPSIS
#include "parser.h"void mg_fgetpos( MG_FPOS *pos )
int mg_fgoto( MG_FPOS *pos )
DESCRIPTION
The mg_fgetpos gets the current MGF file position and loads it into the passed MG_FPOS structure, pos.The mg_fgoto function seeks to the position pos, taken from a previous call to mg_fgetpos.
DIAGNOSTICS
If mg_fgoto is passed an illegal pointer or one that does not correspond to the current mg_file context, it will return the MG_ESEEK error value. Normally, it returns MG_OK (0).
SEE ALSO
mg_load, mg_open
by
admin
—
last modified
Apr 21, 2025 09:12 PM