.\" -*- coding: UTF-8 -*- .\" Copyright (C) 1995 Andries Brouwer (aeb@cwi.nl) .\" Written 10 June 1995 by Andries Brouwer .\" and Copyright (C) 2007, 2015, 2020, Michael Kerrisk .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" Modified Thu Oct 31 15:16:23 1996 by Eric S. Raymond .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH _llseek 2 "30 Marzo 2023" "Páginas de manual de Linux 6.05.01" .SH NOMBRE _llseek \- reposiciona el puntero de lectura/escritura .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSIS .nf \fB#include \fP /* Definición de las constantes \fBSYS_*\fP */ \fB#include \fP .PP \fBint syscall(SYS__llseek, unsigned int \fP\fIfd\fP\fB, unsigned long \fP\fIoffset_high\fP\fB,\fP \fB unsigned long \fP\fIoffset_low\fP\fB, loff_t *\fP\fIresultado\fP\fB,\fP \fB unsigned int \fP\fIwhence\fP\fB);\fP .fi .PP \fINote\fP: glibc provides no wrapper for \fB_llseek\fP(), necessitating the use of \fBsyscall\fP(2). .SH DESCRIPCIÓN Note: for information about the \fBllseek\fP(3) library function, see \fBlseek64\fP(3). .PP The \fB_llseek\fP() system call repositions the offset of the open file description associated with the file descriptor \fIfd\fP to the value .IP (offset_high << 32) | offset_low .PP 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 \fIwhence\fP is \fBSEEK_SET\fP, \fBSEEK_CUR\fP, or \fBSEEK_END\fP, respectively. .PP The new file offset is returned in the argument \fIresult\fP. The type \fIloff_t\fP is a 64\-bit signed type. .PP Esta llamada de sistema está presente en diversas plataformas de 32 bits para dar soporte a la búsqueda de grandes desplazamientos de archivo. .SH "VALOR DEVUELTO" Si no se produce ningun error, \fB_llseek\fP() devuelve 0. Si se produce, se devuelve el valor \-1 y se asigna a \fIerrno\fP un valor que indica el tipo de error que se ha producido. .SH ERRORES .TP \fBEBADF\fP \fIfd\fP no es un descriptor de fichero abierto. .TP \fBEFAULT\fP Problema al copiar el resultado al espacio de usuario. .TP \fBEINVAL\fP \fIwhence\fP no es válido. .SH VERSIONES You probably want to use the \fBlseek\fP(2) wrapper function instead. .SH ESTÁNDARES Linux. .SH "VÉASE TAMBIÉN" \fBlseek\fP(2), \fBopen\fP(2), \fBlseek64\fP(3) .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Juan Piernas y Marcos Fouces . .PP Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. .PP Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org .ME .