ultrix man page for fgetpos

Query: fgetpos

OS: ultrix

Section: 3s

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

fgetpos(3s)															       fgetpos(3s)

Name
       fgetpos, fsetpos - save and restore stream position

Syntax
       #include <stdio.h>

       int fgetpos (stream, pos)
       FILE *stream;
       fpos_t *pos;

       int fsetpos (stream, pos)
       FILE *stream;
       fpos_t *pos;

Description
       The function stores the current position of stream in pos.

       The function restores stream to the position returned by an earlier call.

Return Values
       If successful, the return value is zero; on failure, a nonzero value is returned and errno is set to the appropriate value.

See Also
       fseek(3s)

																       fgetpos(3s)
Related Man Pages
fsetpos(3) - linux
fgetpos(3c) - opensolaris
fseek(3) - redhat
fseek(3) - linux
ftell(3) - redhat
Similar Topics in the Unix Linux Community
fread64 fwrite64 compilation problem (undefined symbol)
Hi Urgent
C reading file
Incompatible data type fpos_t in C