std::ftell
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <cstdio>
|
||
long ftell( std::FILE* stream ); |
||
Restituisce il valore corrente dell'indicatore di posizione per il file di
stream
flusso di file.Original:
Returns the current value of the file position indicator for the file stream
stream
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Se il flusso è aperto in modalità binaria, il valore ottenuto da questa funzione è il numero di byte dall'inizio del file.
Original:
If the stream is open in binary mode, the value obtained by this function is the number of bytes from the beginning of the file.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Se il flusso è aperto in modalità testo, il valore restituito da questa funzione non è specificato e ha senso solo come input per std::fseek
Original:
If the stream is open in text mode, the value returned by this function is unspecified and is only meaningful as the input to std::fseek
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Indice |
[modifica] Parametri
stream | - | stream file da esaminare
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. |
[modifica] Valore di ritorno
File indicatore di posizione in caso di successo o -1L se guasto. Consente inoltre di impostare errno in caso di fallimento.
Original:
File position indicator on success or -1L if failure occurs. Also sets errno on failure.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Vedi anche
ottiene l'indicatore di posizione del file Original: gets the 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. (funzione) | |
si sposta l'indicatore di posizione file in una posizione specifica in un file 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. (funzione) | |
si sposta l'indicatore di posizione file in una posizione specifica in un file 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. (funzione) | |
C documentation for ftell
|