|
|||||||
|
|
LLSEEKSection: Manual de Programacion de Linux (2)Updated: 10 Junio 1995 Index Return to Main Contents NOMBRE_llseek - reposiciona el puntero de lectura/escrituraSINOPSIS#include <unistd.h>#include <linux/unistd.h> _syscall5(int, _llseek, uint, fd, ulong, hi, ulong, lo, loff_t *, res, uint, wh); int _llseek(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence); DESCRIPCIÓNLa función _llseek reposiciona el puntero del descriptor de fichero fd hasta (offset_high<<32) | offset_low bytes respecto al inicio del fichero, la posición actual del puntero, o del final del fichero, dependiendo de si whence es SEEK_SET, SEEK_CUR, o SEEK_END, respectivamente. Devuelve la posición resultante en el argumento result.VALOR DEVUELTOSi 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
CONFORME AEsta función es específica de Linux, y no debería usarse por programas que deban de ser portables.FALLOSEl sistema de ficheros ext2 no soporta ficheros con un tamaño de 2 GB o más.VÉASE TAMBIÉNlseek(2)
Index | ||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "Linuxinfor Man Pages in HTML Format: man2". See Index Page for more info about Authorship and Copyright. 1999-2008 Linuxinfor.com. No rights reserved. |