FreeBSD Manual Pages
std::fgetpos(3) C++ Standard Libary std::fgetpos(3) NAME std::fgetpos - std::fgetpos Synopsis Defined in header <cstdio> int fgetpos( std::FILE* stream, std::fpos_t* pos ); Obtains the file position indicator and the current parse state (if any) for the file stream stream and stores them in the object pointed to by pos. The value stored is only meaningful as the input to std::fsetpos. Parameters stream - file stream to examine pos - pointer to a fpos_t object to store the file position indi- cator to Return value 0 upon success, nonzero value otherwise. Also sets errno on failure. Example This section is incomplete Reason: no example See also ftell returns the current file position indicator (function) fseek moves the file position indicator to a specific location in a file (function) fsetpos moves the file position indicator to a specific location in a file (function) http://cppreference.com 2022.07.31 std::fgetpos(3)
NAME | Synopsis | Parameters | Return value | Example | See also
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::fgetpos&sektion=3&manpath=FreeBSD+Ports+15.0>
