ultrix man page for fsetpos

Query: fsetpos

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
fgetpos(3) - linux
fgetpos(3c) - opensolaris
fseek(3) - linux
fgetpos(3) - redhat
fseek(3) - debian
Similar Topics in the Unix Linux Community
fread64 fwrite64 compilation problem (undefined symbol)
C reading file
Jumping to a particular line in a file
Incompatible data type fpos_t in C