close
Espacios de nombres
Variantes

std::fgetpos

De cppreference.com
< cpp | io | c
 
 
Biblioteca de E/S
Manipuladores de E/S
E/S estilo C
Búferes
(en desuso en C++98)
Flujos
Abstracciones
E/S de archivos
E/S de cadenas
E/S de arrays
(en desuso en C++98)
(en desuso en C++98)
(en desuso en C++98)
Salida sincronizada
Tipos
Interfaz de categoría de error
(C++11)
 
 
<tbody> </tbody>
Definido en el archivo de encabezado <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 -
archivo continuo a 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 -
puntero a un objeto fpos_t para almacenar el indicador de posición de archivo
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.

Valor de retorno

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

Ejemplo

Ver también

devuelve el indicador de archivo posición actual
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.

(función) [editar]
desplaza el indicador de posición de archivo a una ubicación específica en un archivo
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.

(función) [editar]
desplaza el indicador de posición de archivo a una ubicación específica en un archivo
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.

(función) [editar]
Documentación de C para fgetpos