In the C Programming Language, the fgetpos characteristic shops the modern function of move into the object pointed to by using pos.
Syntax
The syntax for the fgetpos function in the C Language is:
int fgetpos(FILE *stream, fpos_t *pos);
Parameters or Arguments
stream The circulation whose present day function is to be determined. pos The present day function of flow to be stored.
Returns
The fgetpos feature returns zero if successful. If an error occurs, the fgetpos function will return a nonzero fee and replace errno.
Required Header
In the C Language, the required header for the fgetpos function is:
#include <stdio.h>
Applies To
In the C Language, the fgetpos function can be used in the following versions:
ANSI/ISO 9899-1990
Similar Functions
Other C functions that are comparable to the fgetpos function:
ftell function <stdio.h>
See Also
Other C features that are noteworthy when dealing with the fgetpos function:
fseek feature fsetpos function rewind characteristic
Leave a Review