Go to the first, previous, next, last section, table of contents.


fgetpos

Syntax

#include <stdio.h>

int fgetpos(FILE *file, fpos_t *offset);

Description

This function records the current file pointer for file, for later use by fsetpos.

See section fsetpos. See section ftell.

Return Value

Zero if successful, nonzero if not.

Portability

ANSI, POSIX


Go to the first, previous, next, last section, table of contents.