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. |
Déclaré dans l'en-tête <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.
Sommaire |
[modifier] Paramètres
stream | - | déposer flux d'examiner
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 | - | pointeur vers un objet fpos_t pour stocker l'indicateur de position de fichier
Original: pointer to a fpos_t object to store the file position indicator to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifier] Retourne la valeur
0 upon success, nonzero value otherwise. Also sets errno on failure.
[modifier] Exemple
This section is incomplete Reason: no example |
[modifier] Voir aussi
renvoie l'indicateur de position de fichier courant 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. (fonction) | |
déplace l'indicateur de position de fichier à un emplacement spécifique dans un fichier 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. (fonction) | |
déplace l'indicateur de position de fichier à un emplacement spécifique dans un fichier 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. (fonction) | |
C documentation for fgetpos
|