Home > Electronics Tutorials > C Language Tutorial > stdio.h - File Functions - fsetpos

C Language Programming Library Reference Guide

stdio.h - File Functions - fsetpos

Declaration:

int fsetpos(FILE *stream, const fpos_t *pos); Sets the file position of the given stream to the given position. The argument pos is a position given by the function fgetpos. The end-of-file indicator is cleared.

On success zero is returned. On error a nonzero value is returned and the variable errno is set.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster

Discover

     more......