Provided by: manpages-es-dev_4.18.1-1_all bug

NOMBRE

       _llseek - reposiciona el puntero de lectura/escritura

BIBLIOTECA

       Biblioteca Estándar C (libc, -lc)

SINOPSIS

       #include <sys/syscall.h>      /* Definición de las constantes SYS_* */
       #include <unistd.h>

       int syscall(SYS__llseek, unsigned int fd, unsigned long offset_high,
                   unsigned long offset_low, loff_t *resultado,
                   unsigned int whence);

       Note: glibc provides no wrapper for _llseek(), necessitating the use of syscall(2).

DESCRIPCIÓN

       Note: for information about the llseek(3)  library function, see lseek64(3).

       The  _llseek()  system call repositions the offset of the open file description associated
       with the file descriptor fd to the value

              (offset_high << 32) | offset_low

       This new offset is a byte offset relative to the beginning of the file, the  current  file
       offset,  or  the  end  of  the file, depending on whether whence is SEEK_SET, SEEK_CUR, or
       SEEK_END, respectively.

       The new file offset is returned in the argument result.   The  type  loff_t  is  a  64-bit
       signed type.

       Esta  llamada de sistema está presente en diversas plataformas de 32 bits para dar soporte
       a la búsqueda de grandes desplazamientos de archivo.

VALOR DEVUELTO

       Si no se produce ningun error, _llseek() devuelve 0. Si se produce, se devuelve  el  valor
       -1 y se asigna a errno un valor que indica el tipo de error que se ha producido.

ERRORES

       EBADF  fd no es un descriptor de fichero abierto.

       EFAULT Problema al copiar el resultado al espacio de usuario.

       EINVAL whence no es válido.

ESTÁNDARES

       Esta  función  es  específica de Linux, y no debería usarse por programas que deban de ser
       portables.

NOTAS

       You probably want to use the lseek(2)  wrapper function instead.

VÉASE TAMBIÉN

       lseek(2), open(2), lseek64(3)

TRADUCCIÓN

       La traducción  al  español  de  esta  página  del  manual  fue  creada  por  Juan  Piernas
       <piernas@ditec.um.es> y Marcos Fouces <marcos@debian.org>

       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⟩.