Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Programming/Code/Standard C Library/Functions/fgetpos

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

fgetpos #include <cstdio> int fgetpos( FILE *stream, fpos_t *position ); The fgetpos() function stores the file position indicator of the given file stream in the given position variable. The position variable is of type fpos_t (which is defined in cstdio) and is an object that can hold every possible position in a FILE. fgetpos() returns zero upon success, and a non-zero value upon failure. Related topics fseek - fsetpos - ftell