fpos_t

Defined in header <stdio.h>
typedef /* implementation-defined */ fpos_t;

fpos_t is a non-array complete object type, can be used to store (by fgetpos) and restore (by fsetpos) the position and multibyte parser state (if any) for a C stream.

The multibyte parser state of a wide-oriented C stream is represented by a mbstate_t object, whose value is stored as part of the value of a fpos_t object by fgetpos.

(since C95)

References

See also

fgetpos
gets the file position indicator
(function)
fsetpos
moves the file position indicator to a specific location in a file
(function)
mbstate_t
(C95)
conversion state information necessary to iterate multibyte character strings
(class)
C++ documentation for fpos_t

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/c/io/fpos_t