|
|||||||
|
|
LLSEEKSection: Manuel du programmeur Linux (2)Updated: 18 juillet 2003 Index Return to Main Contents NOM_llseek - Positionner la tête de lecture/écriture dans un fichier.SYNOPSIS#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); DESCRIPTIONLa fonction _llseek place la tête de lecture/écriture du fichier associé à fd à la position (offset_high << 32) | offset_low (en octets) par rapport au début du fichier, à la position courante, ou à la fin du fichier, suivant que la valeur whence soit SEEK_SET, SEEK_CUR, ou SEEK_END, respectivement. La fonction retourne la nouvelle position dans l'argument result.VALEUR RENVOYÉEEn cas de réussite, _llseek renvoie 0, sinon il renvoie -1, auquel cas errno contient le code d'erreur.ERREURS
CONFORMITÉCette fonction est spécifique à Linux et ne doit pas être employée dans des programmes conçus pour être portables.VOIR AUSSIlseek(2)TRADUCTIONChristophe Blaess, 1996-2003.
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-2009 Linuxinfor.com. No rights reserved. |