Namespaces
Variants
Views
Actions

fsetpos

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

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

Sets the file position indicator for the file stream stream to the value pointed to by pos.

Parameters

stream - file stream to modify
pos - pointer to a fpos_t object to use as new value of file position indicator

Return value

0 upon success, nonzero value otherwise.

See also

Template:c/io/dcl list fgetposTemplate:c/io/dcl list ftellTemplate:c/io/dcl list fseek
C++ documentation for fsetpos