noble (3) ftello.3.gz

Provided by: manpages-es-dev_4.21.0-2_all bug

NOMBRE

       fseeko, ftello - modifica o informa de la posición del fichero

BIBLIOTECA

       Biblioteca Estándar C (libc, -lc)

SINOPSIS

       #include <stdio.h>

       int fseeko(FILE *flujo, off_t desplto, int origen);
       off_t ftello(FILE *flujo);

   Requisitos de Macros de Prueba de Características para glibc (véase feature_test_macros(7)):

       fseeko(), ftello():
           _FILE_OFFSET_BITS == 64 || _POSIX_C_SOURCE >= 200112L

DESCRIPCIÓN

       Las  funciones  fseeko()  y ftello() son idénticas a fseek() y ftell() (véase fseek(3)), respectivamente,
       salvo que el argumento desplto de fseeko() y el valor devuelto por ftello() son de tipo off_t en lugar de
       long.

       On  some  architectures,  both  off_t  and long are 32-bit types, but defining _FILE_OFFSET_BITS with the
       value 64 (before including any header files)  will turn off_t into a 64-bit type.

VALOR DEVUELTO

       On successful completion, fseeko()  returns 0, while ftello()  returns the current offset.  Otherwise, -1
       is returned and errno is set to indicate the error.

ERRORES

       See the ERRORS in fseek(3).

VERSIONES

       These functions are available since glibc 2.1.

ATRIBUTOS

       Para obtener una explicación de los términos usados en esta sección, véase attributes(7).

       ┌───────────────────────────────────────────────────────────────┬────────────────────┬───────────────────┐
       │InterfazAtributoValor             │
       ├───────────────────────────────────────────────────────────────┼────────────────────┼───────────────────┤
       │fseeko(), ftello()                                             │ Seguridad del hilo │ Multi-hilo seguro │
       └───────────────────────────────────────────────────────────────┴────────────────────┴───────────────────┘

ESTÁNDARES

       POSIX.1-2001, POSIX.1-2008, SUSv2.

NOTAS

       The  declarations  of  these  functions  can  also be obtained by defining the obsolete _LARGEFILE_SOURCE
       feature test macro.

VÉASE TAMBIÉN

       fseek(3)

TRADUCCIÓN

       La traducción al español de esta página del manual fue creada por Miguel Pérez Ibars <mpi79470@alu.um.es>

       Esta  traducción  es   documentación   libre;   lea   la   GNU   General   Public   License   Version   3
       ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩  o posterior con respecto a las condiciones de copyright.  No
       existe NINGUNA RESPONSABILIDAD.

       Si encuentra algún error en la traducción de esta página  del  manual,  envíe  un  correo  electrónico  a
       ⟨debian-l10n-spanish@lists.debian.org⟩.