Namespaces
Variants
Views
Actions

fgetpos

From cppreference.com
< c‎ | io
Revision as of 22:54, 2 November 2012 by P12bot (Talk | contribs)

Defined in header <stdio.h>
int fgetpos( FILE *stream, fpos_t *pos );

Obtains the file position indicator for the file stream stream and stores it in pos.

Parameters

stream - file stream to examine
pos - pointer to a fpos_t object to store the file position indicator to

Return value

0 upon success, nonzero value otherwise

See also

Template:c/io/dcl list ftellTemplate:c/io/dcl list fseekTemplate:c/io/dcl list fsetpos
C++ documentation for fgetpos