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

C Language Programming Library Reference Guide

stdio.h - File Functions - fgetpos


int fgetpos(FILE *stream, fpos_t *pos); Gets the current file position of the stream and writes it to pos.

If successful, it returns zero. On error it returns a nonzero value and stores the error number in the variable errno.

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