std::fgetpos
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| Definido no cabeçalho <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.
Parâmetros
| stream | - | arquivo de fluxo para examinar
Original: file stream to examine The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| pos | - | ponteiro para um objeto
fpos_t para armazenar o indicador de posição de arquivoOriginal: pointer to a fpos_t object to store the file position indicator toThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valor de retorno
0 upon success, nonzero value otherwise. Also sets errno on failure.
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |
Veja também
retorna o indicador de posição de arquivo atual Original: returns the current file position indicator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
move o indicador de posição de arquivo para um local específico em um arquivo Original: moves the file position indicator to a specific location in a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
move o indicador de posição de arquivo para um local específico em um arquivo Original: moves the file position indicator to a specific location in a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
Documentação C para fgetpos
| |