std::fgetpos

Header: <cstdio>

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.

# Declarations

int fgetpos( std::FILE* stream, std::fpos_t* pos );

# Parameters

# Return value

0 upon success, nonzero value otherwise. Also sets errno on failure.

# Example

This section is incompleteReason: no example

# See also