@node fgetpos, stdio @subheading Syntax @example #include int fgetpos(FILE *file, fpos_t *offset); @end example @subheading Description This function records the current file pointer for @var{file}, for later use by @code{fsetpos}. @xref{fsetpos}. @xref{ftell}. @subheading Return Value Zero if successful, nonzero if not. @subheading Portability @portability ansi, posix